gcp.recaptcha.EnterpriseKey
Explore with Pulumi AI
The RecaptchaEnterprise Key resource
Example Usage
Android_key
A basic test of recaptcha enterprise key that can be used by Android apps
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const primary = new gcp.recaptcha.EnterpriseKey("primary", {
displayName: "display-name-one",
androidSettings: {
allowAllPackageNames: true,
allowedPackageNames: [],
},
project: "my-project-name",
testingOptions: {
testingScore: 0.8,
},
labels: {
"label-one": "value-one",
},
});
import pulumi
import pulumi_gcp as gcp
primary = gcp.recaptcha.EnterpriseKey("primary",
display_name="display-name-one",
android_settings={
"allow_all_package_names": True,
"allowed_package_names": [],
},
project="my-project-name",
testing_options={
"testing_score": 0.8,
},
labels={
"label-one": "value-one",
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/recaptcha"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := recaptcha.NewEnterpriseKey(ctx, "primary", &recaptcha.EnterpriseKeyArgs{
DisplayName: pulumi.String("display-name-one"),
AndroidSettings: &recaptcha.EnterpriseKeyAndroidSettingsArgs{
AllowAllPackageNames: pulumi.Bool(true),
AllowedPackageNames: pulumi.StringArray{},
},
Project: pulumi.String("my-project-name"),
TestingOptions: &recaptcha.EnterpriseKeyTestingOptionsArgs{
TestingScore: pulumi.Float64(0.8),
},
Labels: pulumi.StringMap{
"label-one": pulumi.String("value-one"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var primary = new Gcp.Recaptcha.EnterpriseKey("primary", new()
{
DisplayName = "display-name-one",
AndroidSettings = new Gcp.Recaptcha.Inputs.EnterpriseKeyAndroidSettingsArgs
{
AllowAllPackageNames = true,
AllowedPackageNames = new() { },
},
Project = "my-project-name",
TestingOptions = new Gcp.Recaptcha.Inputs.EnterpriseKeyTestingOptionsArgs
{
TestingScore = 0.8,
},
Labels =
{
{ "label-one", "value-one" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.recaptcha.EnterpriseKey;
import com.pulumi.gcp.recaptcha.EnterpriseKeyArgs;
import com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyAndroidSettingsArgs;
import com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyTestingOptionsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var primary = new EnterpriseKey("primary", EnterpriseKeyArgs.builder()
.displayName("display-name-one")
.androidSettings(EnterpriseKeyAndroidSettingsArgs.builder()
.allowAllPackageNames(true)
.allowedPackageNames()
.build())
.project("my-project-name")
.testingOptions(EnterpriseKeyTestingOptionsArgs.builder()
.testingScore(0.8)
.build())
.labels(Map.of("label-one", "value-one"))
.build());
}
}
resources:
primary:
type: gcp:recaptcha:EnterpriseKey
properties:
displayName: display-name-one
androidSettings:
allowAllPackageNames: true
allowedPackageNames: []
project: my-project-name
testingOptions:
testingScore: 0.8
labels:
label-one: value-one
Ios_key
A basic test of recaptcha enterprise key that can be used by iOS apps
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const primary = new gcp.recaptcha.EnterpriseKey("primary", {
displayName: "display-name-one",
iosSettings: {
allowAllBundleIds: true,
allowedBundleIds: [],
},
project: "my-project-name",
testingOptions: {
testingScore: 1,
},
labels: {
"label-one": "value-one",
},
});
import pulumi
import pulumi_gcp as gcp
primary = gcp.recaptcha.EnterpriseKey("primary",
display_name="display-name-one",
ios_settings={
"allow_all_bundle_ids": True,
"allowed_bundle_ids": [],
},
project="my-project-name",
testing_options={
"testing_score": 1,
},
labels={
"label-one": "value-one",
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/recaptcha"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := recaptcha.NewEnterpriseKey(ctx, "primary", &recaptcha.EnterpriseKeyArgs{
DisplayName: pulumi.String("display-name-one"),
IosSettings: &recaptcha.EnterpriseKeyIosSettingsArgs{
AllowAllBundleIds: pulumi.Bool(true),
AllowedBundleIds: pulumi.StringArray{},
},
Project: pulumi.String("my-project-name"),
TestingOptions: &recaptcha.EnterpriseKeyTestingOptionsArgs{
TestingScore: pulumi.Float64(1),
},
Labels: pulumi.StringMap{
"label-one": pulumi.String("value-one"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var primary = new Gcp.Recaptcha.EnterpriseKey("primary", new()
{
DisplayName = "display-name-one",
IosSettings = new Gcp.Recaptcha.Inputs.EnterpriseKeyIosSettingsArgs
{
AllowAllBundleIds = true,
AllowedBundleIds = new() { },
},
Project = "my-project-name",
TestingOptions = new Gcp.Recaptcha.Inputs.EnterpriseKeyTestingOptionsArgs
{
TestingScore = 1,
},
Labels =
{
{ "label-one", "value-one" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.recaptcha.EnterpriseKey;
import com.pulumi.gcp.recaptcha.EnterpriseKeyArgs;
import com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyIosSettingsArgs;
import com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyTestingOptionsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var primary = new EnterpriseKey("primary", EnterpriseKeyArgs.builder()
.displayName("display-name-one")
.iosSettings(EnterpriseKeyIosSettingsArgs.builder()
.allowAllBundleIds(true)
.allowedBundleIds()
.build())
.project("my-project-name")
.testingOptions(EnterpriseKeyTestingOptionsArgs.builder()
.testingScore(1)
.build())
.labels(Map.of("label-one", "value-one"))
.build());
}
}
resources:
primary:
type: gcp:recaptcha:EnterpriseKey
properties:
displayName: display-name-one
iosSettings:
allowAllBundleIds: true
allowedBundleIds: []
project: my-project-name
testingOptions:
testingScore: 1
labels:
label-one: value-one
Minimal_key
A minimal test of recaptcha enterprise key
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const primary = new gcp.recaptcha.EnterpriseKey("primary", {
displayName: "display-name-one",
project: "my-project-name",
webSettings: {
integrationType: "SCORE",
allowAllDomains: true,
},
labels: {},
});
import pulumi
import pulumi_gcp as gcp
primary = gcp.recaptcha.EnterpriseKey("primary",
display_name="display-name-one",
project="my-project-name",
web_settings={
"integration_type": "SCORE",
"allow_all_domains": True,
},
labels={})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/recaptcha"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := recaptcha.NewEnterpriseKey(ctx, "primary", &recaptcha.EnterpriseKeyArgs{
DisplayName: pulumi.String("display-name-one"),
Project: pulumi.String("my-project-name"),
WebSettings: &recaptcha.EnterpriseKeyWebSettingsArgs{
IntegrationType: pulumi.String("SCORE"),
AllowAllDomains: pulumi.Bool(true),
},
Labels: pulumi.StringMap{},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var primary = new Gcp.Recaptcha.EnterpriseKey("primary", new()
{
DisplayName = "display-name-one",
Project = "my-project-name",
WebSettings = new Gcp.Recaptcha.Inputs.EnterpriseKeyWebSettingsArgs
{
IntegrationType = "SCORE",
AllowAllDomains = true,
},
Labels = null,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.recaptcha.EnterpriseKey;
import com.pulumi.gcp.recaptcha.EnterpriseKeyArgs;
import com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyWebSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var primary = new EnterpriseKey("primary", EnterpriseKeyArgs.builder()
.displayName("display-name-one")
.project("my-project-name")
.webSettings(EnterpriseKeyWebSettingsArgs.builder()
.integrationType("SCORE")
.allowAllDomains(true)
.build())
.labels()
.build());
}
}
resources:
primary:
type: gcp:recaptcha:EnterpriseKey
properties:
displayName: display-name-one
project: my-project-name
webSettings:
integrationType: SCORE
allowAllDomains: true
labels: {}
Waf_key
A basic test of recaptcha enterprise key that includes WAF settings
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const primary = new gcp.recaptcha.EnterpriseKey("primary", {
displayName: "display-name-one",
project: "my-project-name",
testingOptions: {
testingChallenge: "NOCAPTCHA",
testingScore: 0.5,
},
wafSettings: {
wafFeature: "CHALLENGE_PAGE",
wafService: "CA",
},
webSettings: {
integrationType: "INVISIBLE",
allowAllDomains: true,
allowedDomains: [],
challengeSecurityPreference: "USABILITY",
},
labels: {
"label-one": "value-one",
},
});
import pulumi
import pulumi_gcp as gcp
primary = gcp.recaptcha.EnterpriseKey("primary",
display_name="display-name-one",
project="my-project-name",
testing_options={
"testing_challenge": "NOCAPTCHA",
"testing_score": 0.5,
},
waf_settings={
"waf_feature": "CHALLENGE_PAGE",
"waf_service": "CA",
},
web_settings={
"integration_type": "INVISIBLE",
"allow_all_domains": True,
"allowed_domains": [],
"challenge_security_preference": "USABILITY",
},
labels={
"label-one": "value-one",
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/recaptcha"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := recaptcha.NewEnterpriseKey(ctx, "primary", &recaptcha.EnterpriseKeyArgs{
DisplayName: pulumi.String("display-name-one"),
Project: pulumi.String("my-project-name"),
TestingOptions: &recaptcha.EnterpriseKeyTestingOptionsArgs{
TestingChallenge: pulumi.String("NOCAPTCHA"),
TestingScore: pulumi.Float64(0.5),
},
WafSettings: &recaptcha.EnterpriseKeyWafSettingsArgs{
WafFeature: pulumi.String("CHALLENGE_PAGE"),
WafService: pulumi.String("CA"),
},
WebSettings: &recaptcha.EnterpriseKeyWebSettingsArgs{
IntegrationType: pulumi.String("INVISIBLE"),
AllowAllDomains: pulumi.Bool(true),
AllowedDomains: pulumi.StringArray{},
ChallengeSecurityPreference: pulumi.String("USABILITY"),
},
Labels: pulumi.StringMap{
"label-one": pulumi.String("value-one"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var primary = new Gcp.Recaptcha.EnterpriseKey("primary", new()
{
DisplayName = "display-name-one",
Project = "my-project-name",
TestingOptions = new Gcp.Recaptcha.Inputs.EnterpriseKeyTestingOptionsArgs
{
TestingChallenge = "NOCAPTCHA",
TestingScore = 0.5,
},
WafSettings = new Gcp.Recaptcha.Inputs.EnterpriseKeyWafSettingsArgs
{
WafFeature = "CHALLENGE_PAGE",
WafService = "CA",
},
WebSettings = new Gcp.Recaptcha.Inputs.EnterpriseKeyWebSettingsArgs
{
IntegrationType = "INVISIBLE",
AllowAllDomains = true,
AllowedDomains = new() { },
ChallengeSecurityPreference = "USABILITY",
},
Labels =
{
{ "label-one", "value-one" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.recaptcha.EnterpriseKey;
import com.pulumi.gcp.recaptcha.EnterpriseKeyArgs;
import com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyTestingOptionsArgs;
import com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyWafSettingsArgs;
import com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyWebSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var primary = new EnterpriseKey("primary", EnterpriseKeyArgs.builder()
.displayName("display-name-one")
.project("my-project-name")
.testingOptions(EnterpriseKeyTestingOptionsArgs.builder()
.testingChallenge("NOCAPTCHA")
.testingScore(0.5)
.build())
.wafSettings(EnterpriseKeyWafSettingsArgs.builder()
.wafFeature("CHALLENGE_PAGE")
.wafService("CA")
.build())
.webSettings(EnterpriseKeyWebSettingsArgs.builder()
.integrationType("INVISIBLE")
.allowAllDomains(true)
.allowedDomains()
.challengeSecurityPreference("USABILITY")
.build())
.labels(Map.of("label-one", "value-one"))
.build());
}
}
resources:
primary:
type: gcp:recaptcha:EnterpriseKey
properties:
displayName: display-name-one
project: my-project-name
testingOptions:
testingChallenge: NOCAPTCHA
testingScore: 0.5
wafSettings:
wafFeature: CHALLENGE_PAGE
wafService: CA
webSettings:
integrationType: INVISIBLE
allowAllDomains: true
allowedDomains: []
challengeSecurityPreference: USABILITY
labels:
label-one: value-one
Web_key
A basic test of recaptcha enterprise key that can be used by websites
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const primary = new gcp.recaptcha.EnterpriseKey("primary", {
displayName: "display-name-one",
project: "my-project-name",
testingOptions: {
testingChallenge: "NOCAPTCHA",
testingScore: 0.5,
},
webSettings: {
integrationType: "CHECKBOX",
allowAllDomains: true,
allowedDomains: [],
challengeSecurityPreference: "USABILITY",
},
labels: {
"label-one": "value-one",
},
});
import pulumi
import pulumi_gcp as gcp
primary = gcp.recaptcha.EnterpriseKey("primary",
display_name="display-name-one",
project="my-project-name",
testing_options={
"testing_challenge": "NOCAPTCHA",
"testing_score": 0.5,
},
web_settings={
"integration_type": "CHECKBOX",
"allow_all_domains": True,
"allowed_domains": [],
"challenge_security_preference": "USABILITY",
},
labels={
"label-one": "value-one",
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/recaptcha"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := recaptcha.NewEnterpriseKey(ctx, "primary", &recaptcha.EnterpriseKeyArgs{
DisplayName: pulumi.String("display-name-one"),
Project: pulumi.String("my-project-name"),
TestingOptions: &recaptcha.EnterpriseKeyTestingOptionsArgs{
TestingChallenge: pulumi.String("NOCAPTCHA"),
TestingScore: pulumi.Float64(0.5),
},
WebSettings: &recaptcha.EnterpriseKeyWebSettingsArgs{
IntegrationType: pulumi.String("CHECKBOX"),
AllowAllDomains: pulumi.Bool(true),
AllowedDomains: pulumi.StringArray{},
ChallengeSecurityPreference: pulumi.String("USABILITY"),
},
Labels: pulumi.StringMap{
"label-one": pulumi.String("value-one"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var primary = new Gcp.Recaptcha.EnterpriseKey("primary", new()
{
DisplayName = "display-name-one",
Project = "my-project-name",
TestingOptions = new Gcp.Recaptcha.Inputs.EnterpriseKeyTestingOptionsArgs
{
TestingChallenge = "NOCAPTCHA",
TestingScore = 0.5,
},
WebSettings = new Gcp.Recaptcha.Inputs.EnterpriseKeyWebSettingsArgs
{
IntegrationType = "CHECKBOX",
AllowAllDomains = true,
AllowedDomains = new() { },
ChallengeSecurityPreference = "USABILITY",
},
Labels =
{
{ "label-one", "value-one" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.recaptcha.EnterpriseKey;
import com.pulumi.gcp.recaptcha.EnterpriseKeyArgs;
import com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyTestingOptionsArgs;
import com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyWebSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var primary = new EnterpriseKey("primary", EnterpriseKeyArgs.builder()
.displayName("display-name-one")
.project("my-project-name")
.testingOptions(EnterpriseKeyTestingOptionsArgs.builder()
.testingChallenge("NOCAPTCHA")
.testingScore(0.5)
.build())
.webSettings(EnterpriseKeyWebSettingsArgs.builder()
.integrationType("CHECKBOX")
.allowAllDomains(true)
.allowedDomains()
.challengeSecurityPreference("USABILITY")
.build())
.labels(Map.of("label-one", "value-one"))
.build());
}
}
resources:
primary:
type: gcp:recaptcha:EnterpriseKey
properties:
displayName: display-name-one
project: my-project-name
testingOptions:
testingChallenge: NOCAPTCHA
testingScore: 0.5
webSettings:
integrationType: CHECKBOX
allowAllDomains: true
allowedDomains: []
challengeSecurityPreference: USABILITY
labels:
label-one: value-one
Web_score_key
A basic test of recaptcha enterprise key with score integration type that can be used by websites
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const primary = new gcp.recaptcha.EnterpriseKey("primary", {
displayName: "display-name-one",
project: "my-project-name",
testingOptions: {
testingScore: 0.5,
},
webSettings: {
integrationType: "SCORE",
allowAllDomains: true,
allowAmpTraffic: false,
allowedDomains: [],
},
labels: {
"label-one": "value-one",
},
});
import pulumi
import pulumi_gcp as gcp
primary = gcp.recaptcha.EnterpriseKey("primary",
display_name="display-name-one",
project="my-project-name",
testing_options={
"testing_score": 0.5,
},
web_settings={
"integration_type": "SCORE",
"allow_all_domains": True,
"allow_amp_traffic": False,
"allowed_domains": [],
},
labels={
"label-one": "value-one",
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/recaptcha"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := recaptcha.NewEnterpriseKey(ctx, "primary", &recaptcha.EnterpriseKeyArgs{
DisplayName: pulumi.String("display-name-one"),
Project: pulumi.String("my-project-name"),
TestingOptions: &recaptcha.EnterpriseKeyTestingOptionsArgs{
TestingScore: pulumi.Float64(0.5),
},
WebSettings: &recaptcha.EnterpriseKeyWebSettingsArgs{
IntegrationType: pulumi.String("SCORE"),
AllowAllDomains: pulumi.Bool(true),
AllowAmpTraffic: pulumi.Bool(false),
AllowedDomains: pulumi.StringArray{},
},
Labels: pulumi.StringMap{
"label-one": pulumi.String("value-one"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var primary = new Gcp.Recaptcha.EnterpriseKey("primary", new()
{
DisplayName = "display-name-one",
Project = "my-project-name",
TestingOptions = new Gcp.Recaptcha.Inputs.EnterpriseKeyTestingOptionsArgs
{
TestingScore = 0.5,
},
WebSettings = new Gcp.Recaptcha.Inputs.EnterpriseKeyWebSettingsArgs
{
IntegrationType = "SCORE",
AllowAllDomains = true,
AllowAmpTraffic = false,
AllowedDomains = new() { },
},
Labels =
{
{ "label-one", "value-one" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.recaptcha.EnterpriseKey;
import com.pulumi.gcp.recaptcha.EnterpriseKeyArgs;
import com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyTestingOptionsArgs;
import com.pulumi.gcp.recaptcha.inputs.EnterpriseKeyWebSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var primary = new EnterpriseKey("primary", EnterpriseKeyArgs.builder()
.displayName("display-name-one")
.project("my-project-name")
.testingOptions(EnterpriseKeyTestingOptionsArgs.builder()
.testingScore(0.5)
.build())
.webSettings(EnterpriseKeyWebSettingsArgs.builder()
.integrationType("SCORE")
.allowAllDomains(true)
.allowAmpTraffic(false)
.allowedDomains()
.build())
.labels(Map.of("label-one", "value-one"))
.build());
}
}
resources:
primary:
type: gcp:recaptcha:EnterpriseKey
properties:
displayName: display-name-one
project: my-project-name
testingOptions:
testingScore: 0.5
webSettings:
integrationType: SCORE
allowAllDomains: true
allowAmpTraffic: false
allowedDomains: []
labels:
label-one: value-one
Create EnterpriseKey Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EnterpriseKey(name: string, args: EnterpriseKeyArgs, opts?: CustomResourceOptions);
@overload
def EnterpriseKey(resource_name: str,
args: EnterpriseKeyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EnterpriseKey(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
android_settings: Optional[EnterpriseKeyAndroidSettingsArgs] = None,
ios_settings: Optional[EnterpriseKeyIosSettingsArgs] = None,
labels: Optional[Mapping[str, str]] = None,
project: Optional[str] = None,
testing_options: Optional[EnterpriseKeyTestingOptionsArgs] = None,
waf_settings: Optional[EnterpriseKeyWafSettingsArgs] = None,
web_settings: Optional[EnterpriseKeyWebSettingsArgs] = None)
func NewEnterpriseKey(ctx *Context, name string, args EnterpriseKeyArgs, opts ...ResourceOption) (*EnterpriseKey, error)
public EnterpriseKey(string name, EnterpriseKeyArgs args, CustomResourceOptions? opts = null)
public EnterpriseKey(String name, EnterpriseKeyArgs args)
public EnterpriseKey(String name, EnterpriseKeyArgs args, CustomResourceOptions options)
type: gcp:recaptcha:EnterpriseKey
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EnterpriseKeyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EnterpriseKeyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EnterpriseKeyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnterpriseKeyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnterpriseKeyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var enterpriseKeyResource = new Gcp.Recaptcha.EnterpriseKey("enterpriseKeyResource", new()
{
DisplayName = "string",
AndroidSettings = new Gcp.Recaptcha.Inputs.EnterpriseKeyAndroidSettingsArgs
{
AllowAllPackageNames = false,
AllowedPackageNames = new[]
{
"string",
},
},
IosSettings = new Gcp.Recaptcha.Inputs.EnterpriseKeyIosSettingsArgs
{
AllowAllBundleIds = false,
AllowedBundleIds = new[]
{
"string",
},
},
Labels =
{
{ "string", "string" },
},
Project = "string",
TestingOptions = new Gcp.Recaptcha.Inputs.EnterpriseKeyTestingOptionsArgs
{
TestingChallenge = "string",
TestingScore = 0,
},
WafSettings = new Gcp.Recaptcha.Inputs.EnterpriseKeyWafSettingsArgs
{
WafFeature = "string",
WafService = "string",
},
WebSettings = new Gcp.Recaptcha.Inputs.EnterpriseKeyWebSettingsArgs
{
IntegrationType = "string",
AllowAllDomains = false,
AllowAmpTraffic = false,
AllowedDomains = new[]
{
"string",
},
ChallengeSecurityPreference = "string",
},
});
example, err := recaptcha.NewEnterpriseKey(ctx, "enterpriseKeyResource", &recaptcha.EnterpriseKeyArgs{
DisplayName: pulumi.String("string"),
AndroidSettings: &recaptcha.EnterpriseKeyAndroidSettingsArgs{
AllowAllPackageNames: pulumi.Bool(false),
AllowedPackageNames: pulumi.StringArray{
pulumi.String("string"),
},
},
IosSettings: &recaptcha.EnterpriseKeyIosSettingsArgs{
AllowAllBundleIds: pulumi.Bool(false),
AllowedBundleIds: pulumi.StringArray{
pulumi.String("string"),
},
},
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Project: pulumi.String("string"),
TestingOptions: &recaptcha.EnterpriseKeyTestingOptionsArgs{
TestingChallenge: pulumi.String("string"),
TestingScore: pulumi.Float64(0),
},
WafSettings: &recaptcha.EnterpriseKeyWafSettingsArgs{
WafFeature: pulumi.String("string"),
WafService: pulumi.String("string"),
},
WebSettings: &recaptcha.EnterpriseKeyWebSettingsArgs{
IntegrationType: pulumi.String("string"),
AllowAllDomains: pulumi.Bool(false),
AllowAmpTraffic: pulumi.Bool(false),
AllowedDomains: pulumi.StringArray{
pulumi.String("string"),
},
ChallengeSecurityPreference: pulumi.String("string"),
},
})
var enterpriseKeyResource = new EnterpriseKey("enterpriseKeyResource", EnterpriseKeyArgs.builder()
.displayName("string")
.androidSettings(EnterpriseKeyAndroidSettingsArgs.builder()
.allowAllPackageNames(false)
.allowedPackageNames("string")
.build())
.iosSettings(EnterpriseKeyIosSettingsArgs.builder()
.allowAllBundleIds(false)
.allowedBundleIds("string")
.build())
.labels(Map.of("string", "string"))
.project("string")
.testingOptions(EnterpriseKeyTestingOptionsArgs.builder()
.testingChallenge("string")
.testingScore(0)
.build())
.wafSettings(EnterpriseKeyWafSettingsArgs.builder()
.wafFeature("string")
.wafService("string")
.build())
.webSettings(EnterpriseKeyWebSettingsArgs.builder()
.integrationType("string")
.allowAllDomains(false)
.allowAmpTraffic(false)
.allowedDomains("string")
.challengeSecurityPreference("string")
.build())
.build());
enterprise_key_resource = gcp.recaptcha.EnterpriseKey("enterpriseKeyResource",
display_name="string",
android_settings={
"allow_all_package_names": False,
"allowed_package_names": ["string"],
},
ios_settings={
"allow_all_bundle_ids": False,
"allowed_bundle_ids": ["string"],
},
labels={
"string": "string",
},
project="string",
testing_options={
"testing_challenge": "string",
"testing_score": 0,
},
waf_settings={
"waf_feature": "string",
"waf_service": "string",
},
web_settings={
"integration_type": "string",
"allow_all_domains": False,
"allow_amp_traffic": False,
"allowed_domains": ["string"],
"challenge_security_preference": "string",
})
const enterpriseKeyResource = new gcp.recaptcha.EnterpriseKey("enterpriseKeyResource", {
displayName: "string",
androidSettings: {
allowAllPackageNames: false,
allowedPackageNames: ["string"],
},
iosSettings: {
allowAllBundleIds: false,
allowedBundleIds: ["string"],
},
labels: {
string: "string",
},
project: "string",
testingOptions: {
testingChallenge: "string",
testingScore: 0,
},
wafSettings: {
wafFeature: "string",
wafService: "string",
},
webSettings: {
integrationType: "string",
allowAllDomains: false,
allowAmpTraffic: false,
allowedDomains: ["string"],
challengeSecurityPreference: "string",
},
});
type: gcp:recaptcha:EnterpriseKey
properties:
androidSettings:
allowAllPackageNames: false
allowedPackageNames:
- string
displayName: string
iosSettings:
allowAllBundleIds: false
allowedBundleIds:
- string
labels:
string: string
project: string
testingOptions:
testingChallenge: string
testingScore: 0
wafSettings:
wafFeature: string
wafService: string
webSettings:
allowAllDomains: false
allowAmpTraffic: false
allowedDomains:
- string
challengeSecurityPreference: string
integrationType: string
EnterpriseKey Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The EnterpriseKey resource accepts the following input properties:
- Display
Name string - Human-readable display name of this key. Modifiable by user.
- Android
Settings EnterpriseKey Android Settings - Settings for keys that can be used by Android apps.
- Ios
Settings EnterpriseKey Ios Settings - Settings for keys that can be used by iOS apps.
- Labels Dictionary<string, string>
See Creating and managing labels.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- Project string
- The project for the resource
- Testing
Options EnterpriseKey Testing Options - Options for user acceptance testing.
- Waf
Settings EnterpriseKey Waf Settings - Settings specific to keys that can be used for WAF (Web Application Firewall).
- Web
Settings EnterpriseKey Web Settings - Settings for keys that can be used by websites.
- Display
Name string - Human-readable display name of this key. Modifiable by user.
- Android
Settings EnterpriseKey Android Settings Args - Settings for keys that can be used by Android apps.
- Ios
Settings EnterpriseKey Ios Settings Args - Settings for keys that can be used by iOS apps.
- Labels map[string]string
See Creating and managing labels.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- Project string
- The project for the resource
- Testing
Options EnterpriseKey Testing Options Args - Options for user acceptance testing.
- Waf
Settings EnterpriseKey Waf Settings Args - Settings specific to keys that can be used for WAF (Web Application Firewall).
- Web
Settings EnterpriseKey Web Settings Args - Settings for keys that can be used by websites.
- display
Name String - Human-readable display name of this key. Modifiable by user.
- android
Settings EnterpriseKey Android Settings - Settings for keys that can be used by Android apps.
- ios
Settings EnterpriseKey Ios Settings - Settings for keys that can be used by iOS apps.
- labels Map<String,String>
See Creating and managing labels.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- project String
- The project for the resource
- testing
Options EnterpriseKey Testing Options - Options for user acceptance testing.
- waf
Settings EnterpriseKey Waf Settings - Settings specific to keys that can be used for WAF (Web Application Firewall).
- web
Settings EnterpriseKey Web Settings - Settings for keys that can be used by websites.
- display
Name string - Human-readable display name of this key. Modifiable by user.
- android
Settings EnterpriseKey Android Settings - Settings for keys that can be used by Android apps.
- ios
Settings EnterpriseKey Ios Settings - Settings for keys that can be used by iOS apps.
- labels {[key: string]: string}
See Creating and managing labels.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- project string
- The project for the resource
- testing
Options EnterpriseKey Testing Options - Options for user acceptance testing.
- waf
Settings EnterpriseKey Waf Settings - Settings specific to keys that can be used for WAF (Web Application Firewall).
- web
Settings EnterpriseKey Web Settings - Settings for keys that can be used by websites.
- display_
name str - Human-readable display name of this key. Modifiable by user.
- android_
settings EnterpriseKey Android Settings Args - Settings for keys that can be used by Android apps.
- ios_
settings EnterpriseKey Ios Settings Args - Settings for keys that can be used by iOS apps.
- labels Mapping[str, str]
See Creating and managing labels.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- project str
- The project for the resource
- testing_
options EnterpriseKey Testing Options Args - Options for user acceptance testing.
- waf_
settings EnterpriseKey Waf Settings Args - Settings specific to keys that can be used for WAF (Web Application Firewall).
- web_
settings EnterpriseKey Web Settings Args - Settings for keys that can be used by websites.
- display
Name String - Human-readable display name of this key. Modifiable by user.
- android
Settings Property Map - Settings for keys that can be used by Android apps.
- ios
Settings Property Map - Settings for keys that can be used by iOS apps.
- labels Map<String>
See Creating and managing labels.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- project String
- The project for the resource
- testing
Options Property Map - Options for user acceptance testing.
- waf
Settings Property Map - Settings specific to keys that can be used for WAF (Web Application Firewall).
- web
Settings Property Map - Settings for keys that can be used by websites.
Outputs
All input properties are implicitly available as output properties. Additionally, the EnterpriseKey resource produces the following output properties:
- Create
Time string - The timestamp corresponding to the creation of this Key.
- Effective
Labels Dictionary<string, string> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The resource id for the Key, which is the same as the Site Key itself.
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Create
Time string - The timestamp corresponding to the creation of this Key.
- Effective
Labels map[string]string - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The resource id for the Key, which is the same as the Site Key itself.
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- create
Time String - The timestamp corresponding to the creation of this Key.
- effective
Labels Map<String,String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The resource id for the Key, which is the same as the Site Key itself.
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- create
Time string - The timestamp corresponding to the creation of this Key.
- effective
Labels {[key: string]: string} - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The resource id for the Key, which is the same as the Site Key itself.
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- create_
time str - The timestamp corresponding to the creation of this Key.
- effective_
labels Mapping[str, str] - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The resource id for the Key, which is the same as the Site Key itself.
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- create
Time String - The timestamp corresponding to the creation of this Key.
- effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The resource id for the Key, which is the same as the Site Key itself.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
Look up Existing EnterpriseKey Resource
Get an existing EnterpriseKey resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EnterpriseKeyState, opts?: CustomResourceOptions): EnterpriseKey
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
android_settings: Optional[EnterpriseKeyAndroidSettingsArgs] = None,
create_time: Optional[str] = None,
display_name: Optional[str] = None,
effective_labels: Optional[Mapping[str, str]] = None,
ios_settings: Optional[EnterpriseKeyIosSettingsArgs] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
project: Optional[str] = None,
pulumi_labels: Optional[Mapping[str, str]] = None,
testing_options: Optional[EnterpriseKeyTestingOptionsArgs] = None,
waf_settings: Optional[EnterpriseKeyWafSettingsArgs] = None,
web_settings: Optional[EnterpriseKeyWebSettingsArgs] = None) -> EnterpriseKey
func GetEnterpriseKey(ctx *Context, name string, id IDInput, state *EnterpriseKeyState, opts ...ResourceOption) (*EnterpriseKey, error)
public static EnterpriseKey Get(string name, Input<string> id, EnterpriseKeyState? state, CustomResourceOptions? opts = null)
public static EnterpriseKey get(String name, Output<String> id, EnterpriseKeyState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Android
Settings EnterpriseKey Android Settings - Settings for keys that can be used by Android apps.
- Create
Time string - The timestamp corresponding to the creation of this Key.
- Display
Name string - Human-readable display name of this key. Modifiable by user.
- Effective
Labels Dictionary<string, string> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Ios
Settings EnterpriseKey Ios Settings - Settings for keys that can be used by iOS apps.
- Labels Dictionary<string, string>
See Creating and managing labels.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- Name string
- The resource id for the Key, which is the same as the Site Key itself.
- Project string
- The project for the resource
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Testing
Options EnterpriseKey Testing Options - Options for user acceptance testing.
- Waf
Settings EnterpriseKey Waf Settings - Settings specific to keys that can be used for WAF (Web Application Firewall).
- Web
Settings EnterpriseKey Web Settings - Settings for keys that can be used by websites.
- Android
Settings EnterpriseKey Android Settings Args - Settings for keys that can be used by Android apps.
- Create
Time string - The timestamp corresponding to the creation of this Key.
- Display
Name string - Human-readable display name of this key. Modifiable by user.
- Effective
Labels map[string]string - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Ios
Settings EnterpriseKey Ios Settings Args - Settings for keys that can be used by iOS apps.
- Labels map[string]string
See Creating and managing labels.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- Name string
- The resource id for the Key, which is the same as the Site Key itself.
- Project string
- The project for the resource
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Testing
Options EnterpriseKey Testing Options Args - Options for user acceptance testing.
- Waf
Settings EnterpriseKey Waf Settings Args - Settings specific to keys that can be used for WAF (Web Application Firewall).
- Web
Settings EnterpriseKey Web Settings Args - Settings for keys that can be used by websites.
- android
Settings EnterpriseKey Android Settings - Settings for keys that can be used by Android apps.
- create
Time String - The timestamp corresponding to the creation of this Key.
- display
Name String - Human-readable display name of this key. Modifiable by user.
- effective
Labels Map<String,String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- ios
Settings EnterpriseKey Ios Settings - Settings for keys that can be used by iOS apps.
- labels Map<String,String>
See Creating and managing labels.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- name String
- The resource id for the Key, which is the same as the Site Key itself.
- project String
- The project for the resource
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- testing
Options EnterpriseKey Testing Options - Options for user acceptance testing.
- waf
Settings EnterpriseKey Waf Settings - Settings specific to keys that can be used for WAF (Web Application Firewall).
- web
Settings EnterpriseKey Web Settings - Settings for keys that can be used by websites.
- android
Settings EnterpriseKey Android Settings - Settings for keys that can be used by Android apps.
- create
Time string - The timestamp corresponding to the creation of this Key.
- display
Name string - Human-readable display name of this key. Modifiable by user.
- effective
Labels {[key: string]: string} - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- ios
Settings EnterpriseKey Ios Settings - Settings for keys that can be used by iOS apps.
- labels {[key: string]: string}
See Creating and managing labels.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- name string
- The resource id for the Key, which is the same as the Site Key itself.
- project string
- The project for the resource
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- testing
Options EnterpriseKey Testing Options - Options for user acceptance testing.
- waf
Settings EnterpriseKey Waf Settings - Settings specific to keys that can be used for WAF (Web Application Firewall).
- web
Settings EnterpriseKey Web Settings - Settings for keys that can be used by websites.
- android_
settings EnterpriseKey Android Settings Args - Settings for keys that can be used by Android apps.
- create_
time str - The timestamp corresponding to the creation of this Key.
- display_
name str - Human-readable display name of this key. Modifiable by user.
- effective_
labels Mapping[str, str] - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- ios_
settings EnterpriseKey Ios Settings Args - Settings for keys that can be used by iOS apps.
- labels Mapping[str, str]
See Creating and managing labels.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- name str
- The resource id for the Key, which is the same as the Site Key itself.
- project str
- The project for the resource
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- testing_
options EnterpriseKey Testing Options Args - Options for user acceptance testing.
- waf_
settings EnterpriseKey Waf Settings Args - Settings specific to keys that can be used for WAF (Web Application Firewall).
- web_
settings EnterpriseKey Web Settings Args - Settings for keys that can be used by websites.
- android
Settings Property Map - Settings for keys that can be used by Android apps.
- create
Time String - The timestamp corresponding to the creation of this Key.
- display
Name String - Human-readable display name of this key. Modifiable by user.
- effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- ios
Settings Property Map - Settings for keys that can be used by iOS apps.
- labels Map<String>
See Creating and managing labels.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- name String
- The resource id for the Key, which is the same as the Site Key itself.
- project String
- The project for the resource
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- testing
Options Property Map - Options for user acceptance testing.
- waf
Settings Property Map - Settings specific to keys that can be used for WAF (Web Application Firewall).
- web
Settings Property Map - Settings for keys that can be used by websites.
Supporting Types
EnterpriseKeyAndroidSettings, EnterpriseKeyAndroidSettingsArgs
- Allow
All boolPackage Names - If set to true, it means allowed_package_names will not be enforced.
- Allowed
Package List<string>Names - Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
- Allow
All boolPackage Names - If set to true, it means allowed_package_names will not be enforced.
- Allowed
Package []stringNames - Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
- allow
All BooleanPackage Names - If set to true, it means allowed_package_names will not be enforced.
- allowed
Package List<String>Names - Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
- allow
All booleanPackage Names - If set to true, it means allowed_package_names will not be enforced.
- allowed
Package string[]Names - Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
- allow_
all_ boolpackage_ names - If set to true, it means allowed_package_names will not be enforced.
- allowed_
package_ Sequence[str]names - Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
- allow
All BooleanPackage Names - If set to true, it means allowed_package_names will not be enforced.
- allowed
Package List<String>Names - Android package names of apps allowed to use the key. Example: 'com.companyname.appname'
EnterpriseKeyIosSettings, EnterpriseKeyIosSettingsArgs
- Allow
All boolBundle Ids - If set to true, it means allowed_bundle_ids will not be enforced.
- Allowed
Bundle List<string>Ids - iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname'
- Allow
All boolBundle Ids - If set to true, it means allowed_bundle_ids will not be enforced.
- Allowed
Bundle []stringIds - iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname'
- allow
All BooleanBundle Ids - If set to true, it means allowed_bundle_ids will not be enforced.
- allowed
Bundle List<String>Ids - iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname'
- allow
All booleanBundle Ids - If set to true, it means allowed_bundle_ids will not be enforced.
- allowed
Bundle string[]Ids - iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname'
- allow_
all_ boolbundle_ ids - If set to true, it means allowed_bundle_ids will not be enforced.
- allowed_
bundle_ Sequence[str]ids - iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname'
- allow
All BooleanBundle Ids - If set to true, it means allowed_bundle_ids will not be enforced.
- allowed
Bundle List<String>Ids - iOS bundle ids of apps allowed to use the key. Example: 'com.companyname.productname.appname'
EnterpriseKeyTestingOptions, EnterpriseKeyTestingOptionsArgs
- Testing
Challenge string - For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if UNSOLVABLE_CHALLENGE. Possible values: TESTING_CHALLENGE_UNSPECIFIED, NOCAPTCHA, UNSOLVABLE_CHALLENGE
- Testing
Score double - All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
- Testing
Challenge string - For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if UNSOLVABLE_CHALLENGE. Possible values: TESTING_CHALLENGE_UNSPECIFIED, NOCAPTCHA, UNSOLVABLE_CHALLENGE
- Testing
Score float64 - All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
- testing
Challenge String - For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if UNSOLVABLE_CHALLENGE. Possible values: TESTING_CHALLENGE_UNSPECIFIED, NOCAPTCHA, UNSOLVABLE_CHALLENGE
- testing
Score Double - All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
- testing
Challenge string - For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if UNSOLVABLE_CHALLENGE. Possible values: TESTING_CHALLENGE_UNSPECIFIED, NOCAPTCHA, UNSOLVABLE_CHALLENGE
- testing
Score number - All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
- testing_
challenge str - For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if UNSOLVABLE_CHALLENGE. Possible values: TESTING_CHALLENGE_UNSPECIFIED, NOCAPTCHA, UNSOLVABLE_CHALLENGE
- testing_
score float - All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
- testing
Challenge String - For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if UNSOLVABLE_CHALLENGE. Possible values: TESTING_CHALLENGE_UNSPECIFIED, NOCAPTCHA, UNSOLVABLE_CHALLENGE
- testing
Score Number - All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
EnterpriseKeyWafSettings, EnterpriseKeyWafSettingsArgs
- Waf
Feature string - Supported WAF features. For more information, see https://cloud.google.com/recaptcha-enterprise/docs/usecase#comparison_of_features. Possible values: CHALLENGE_PAGE, SESSION_TOKEN, ACTION_TOKEN, EXPRESS
- Waf
Service string - The WAF service that uses this key. Possible values: CA, FASTLY
- Waf
Feature string - Supported WAF features. For more information, see https://cloud.google.com/recaptcha-enterprise/docs/usecase#comparison_of_features. Possible values: CHALLENGE_PAGE, SESSION_TOKEN, ACTION_TOKEN, EXPRESS
- Waf
Service string - The WAF service that uses this key. Possible values: CA, FASTLY
- waf
Feature String - Supported WAF features. For more information, see https://cloud.google.com/recaptcha-enterprise/docs/usecase#comparison_of_features. Possible values: CHALLENGE_PAGE, SESSION_TOKEN, ACTION_TOKEN, EXPRESS
- waf
Service String - The WAF service that uses this key. Possible values: CA, FASTLY
- waf
Feature string - Supported WAF features. For more information, see https://cloud.google.com/recaptcha-enterprise/docs/usecase#comparison_of_features. Possible values: CHALLENGE_PAGE, SESSION_TOKEN, ACTION_TOKEN, EXPRESS
- waf
Service string - The WAF service that uses this key. Possible values: CA, FASTLY
- waf_
feature str - Supported WAF features. For more information, see https://cloud.google.com/recaptcha-enterprise/docs/usecase#comparison_of_features. Possible values: CHALLENGE_PAGE, SESSION_TOKEN, ACTION_TOKEN, EXPRESS
- waf_
service str - The WAF service that uses this key. Possible values: CA, FASTLY
- waf
Feature String - Supported WAF features. For more information, see https://cloud.google.com/recaptcha-enterprise/docs/usecase#comparison_of_features. Possible values: CHALLENGE_PAGE, SESSION_TOKEN, ACTION_TOKEN, EXPRESS
- waf
Service String - The WAF service that uses this key. Possible values: CA, FASTLY
EnterpriseKeyWebSettings, EnterpriseKeyWebSettingsArgs
- Integration
Type string - Required. Describes how this key is integrated with the website. Possible values: SCORE, CHECKBOX, INVISIBLE
- Allow
All boolDomains - If set to true, it means allowed_domains will not be enforced.
- Allow
Amp boolTraffic - If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type.
- Allowed
Domains List<string> - Domains or subdomains of websites allowed to use the key. All subdomains of an allowed domain are automatically allowed. A valid domain requires a host and must not include any path, port, query or fragment. Examples: 'example.com' or 'subdomain.example.com'
- Challenge
Security stringPreference - Settings for the frequency and difficulty at which this key triggers captcha challenges. This should only be specified for IntegrationTypes CHECKBOX and INVISIBLE. Possible values: CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED, USABILITY, BALANCE, SECURITY
- Integration
Type string - Required. Describes how this key is integrated with the website. Possible values: SCORE, CHECKBOX, INVISIBLE
- Allow
All boolDomains - If set to true, it means allowed_domains will not be enforced.
- Allow
Amp boolTraffic - If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type.
- Allowed
Domains []string - Domains or subdomains of websites allowed to use the key. All subdomains of an allowed domain are automatically allowed. A valid domain requires a host and must not include any path, port, query or fragment. Examples: 'example.com' or 'subdomain.example.com'
- Challenge
Security stringPreference - Settings for the frequency and difficulty at which this key triggers captcha challenges. This should only be specified for IntegrationTypes CHECKBOX and INVISIBLE. Possible values: CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED, USABILITY, BALANCE, SECURITY
- integration
Type String - Required. Describes how this key is integrated with the website. Possible values: SCORE, CHECKBOX, INVISIBLE
- allow
All BooleanDomains - If set to true, it means allowed_domains will not be enforced.
- allow
Amp BooleanTraffic - If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type.
- allowed
Domains List<String> - Domains or subdomains of websites allowed to use the key. All subdomains of an allowed domain are automatically allowed. A valid domain requires a host and must not include any path, port, query or fragment. Examples: 'example.com' or 'subdomain.example.com'
- challenge
Security StringPreference - Settings for the frequency and difficulty at which this key triggers captcha challenges. This should only be specified for IntegrationTypes CHECKBOX and INVISIBLE. Possible values: CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED, USABILITY, BALANCE, SECURITY
- integration
Type string - Required. Describes how this key is integrated with the website. Possible values: SCORE, CHECKBOX, INVISIBLE
- allow
All booleanDomains - If set to true, it means allowed_domains will not be enforced.
- allow
Amp booleanTraffic - If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type.
- allowed
Domains string[] - Domains or subdomains of websites allowed to use the key. All subdomains of an allowed domain are automatically allowed. A valid domain requires a host and must not include any path, port, query or fragment. Examples: 'example.com' or 'subdomain.example.com'
- challenge
Security stringPreference - Settings for the frequency and difficulty at which this key triggers captcha challenges. This should only be specified for IntegrationTypes CHECKBOX and INVISIBLE. Possible values: CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED, USABILITY, BALANCE, SECURITY
- integration_
type str - Required. Describes how this key is integrated with the website. Possible values: SCORE, CHECKBOX, INVISIBLE
- allow_
all_ booldomains - If set to true, it means allowed_domains will not be enforced.
- allow_
amp_ booltraffic - If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type.
- allowed_
domains Sequence[str] - Domains or subdomains of websites allowed to use the key. All subdomains of an allowed domain are automatically allowed. A valid domain requires a host and must not include any path, port, query or fragment. Examples: 'example.com' or 'subdomain.example.com'
- challenge_
security_ strpreference - Settings for the frequency and difficulty at which this key triggers captcha challenges. This should only be specified for IntegrationTypes CHECKBOX and INVISIBLE. Possible values: CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED, USABILITY, BALANCE, SECURITY
- integration
Type String - Required. Describes how this key is integrated with the website. Possible values: SCORE, CHECKBOX, INVISIBLE
- allow
All BooleanDomains - If set to true, it means allowed_domains will not be enforced.
- allow
Amp BooleanTraffic - If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type.
- allowed
Domains List<String> - Domains or subdomains of websites allowed to use the key. All subdomains of an allowed domain are automatically allowed. A valid domain requires a host and must not include any path, port, query or fragment. Examples: 'example.com' or 'subdomain.example.com'
- challenge
Security StringPreference - Settings for the frequency and difficulty at which this key triggers captcha challenges. This should only be specified for IntegrationTypes CHECKBOX and INVISIBLE. Possible values: CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED, USABILITY, BALANCE, SECURITY
Import
Key can be imported using any of these accepted formats:
projects/{{project}}/keys/{{name}}
{{project}}/{{name}}
{{name}}
When using the pulumi import
command, Key can be imported using one of the formats above. For example:
$ pulumi import gcp:recaptcha/enterpriseKey:EnterpriseKey default projects/{{project}}/keys/{{name}}
$ pulumi import gcp:recaptcha/enterpriseKey:EnterpriseKey default {{project}}/{{name}}
$ pulumi import gcp:recaptcha/enterpriseKey:EnterpriseKey default {{name}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.