Class FirebaseAppCheckServiceConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.firebase_app_check_service_config.FirebaseAppCheckServiceConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<FirebaseAppCheckServiceConfig>
- Enclosing class:
- FirebaseAppCheckServiceConfig
@Stability(Stable) public static final class FirebaseAppCheckServiceConfig.Builder extends Object implements software.amazon.jsii.Builder<FirebaseAppCheckServiceConfig>
A fluent builder forFirebaseAppCheckServiceConfig.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FirebaseAppCheckServiceConfigbuild()FirebaseAppCheckServiceConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)FirebaseAppCheckServiceConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)FirebaseAppCheckServiceConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)FirebaseAppCheckServiceConfig.Buildercount(Number count)static FirebaseAppCheckServiceConfig.Buildercreate(software.constructs.Construct scope, String id)FirebaseAppCheckServiceConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)FirebaseAppCheckServiceConfig.BuilderenforcementMode(String enforcementMode)The App Check enforcement mode for a service supported by App Check.FirebaseAppCheckServiceConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)FirebaseAppCheckServiceConfig.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/firebase_app_check_service_config#id FirebaseAppCheckServiceConfig#id}.FirebaseAppCheckServiceConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)FirebaseAppCheckServiceConfig.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/firebase_app_check_service_config#project FirebaseAppCheckServiceConfig#project}.FirebaseAppCheckServiceConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)FirebaseAppCheckServiceConfig.Builderprovisioners(List<? extends Object> provisioners)FirebaseAppCheckServiceConfig.BuilderserviceId(String serviceId)The identifier of the service to configure enforcement.FirebaseAppCheckServiceConfig.Buildertimeouts(FirebaseAppCheckServiceConfigTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static FirebaseAppCheckServiceConfig.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
FirebaseAppCheckServiceConfig.Builder.
-
connection
@Stability(Experimental) public FirebaseAppCheckServiceConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public FirebaseAppCheckServiceConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public FirebaseAppCheckServiceConfig.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public FirebaseAppCheckServiceConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public FirebaseAppCheckServiceConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public FirebaseAppCheckServiceConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public FirebaseAppCheckServiceConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public FirebaseAppCheckServiceConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public FirebaseAppCheckServiceConfig.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
serviceId
@Stability(Stable) public FirebaseAppCheckServiceConfig.Builder serviceId(String serviceId)
The identifier of the service to configure enforcement.Currently, the following service IDs are supported: firebasestorage.googleapis.com (Cloud Storage for Firebase) firebasedatabase.googleapis.com (Firebase Realtime Database) firestore.googleapis.com (Cloud Firestore) identitytoolkit.googleapis.com (Authentication) Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/firebase_app_check_service_config#service_id FirebaseAppCheckServiceConfig#service_id}
- Parameters:
serviceId- The identifier of the service to configure enforcement. This parameter is required.- Returns:
this
-
enforcementMode
@Stability(Stable) public FirebaseAppCheckServiceConfig.Builder enforcementMode(String enforcementMode)
The App Check enforcement mode for a service supported by App Check. Valid values are.(Unset) Firebase App Check is not enforced for the service, nor are App Check metrics collected. Though the service is not protected by App Check in this mode, other applicable protections, such as user authorization, are still enforced. An unconfigured service is in this mode by default. This is equivalent to OFF in the REST API. Deleting the Terraform resource will also switch the enforcement to OFF for this service. UNENFORCED Firebase App Check is not enforced for the service. App Check metrics are collected to help you decide when to turn on enforcement for the service. Though the service is not protected by App Check in this mode, other applicable protections, such as user authorization, are still enforced. ENFORCED Firebase App Check is enforced for the service. The service will reject any request that attempts to access your project's resources if it does not have valid App Check token attached, with some exceptions depending on the service; for example, some services will still allow requests bearing the developer's privileged service account credentials without an App Check token. App Check metrics continue to be collected to help you detect issues with your App Check integration and monitor the composition of your callers. While the service is protected by App Check, other applicable protections, such as user authorization, continue to be enforced at the same time. Use caution when choosing to enforce App Check on a Firebase service. If your users have not updated to an App Check capable version of your app, their apps will no longer be able to use your Firebase services that are enforcing App Check. App Check metrics can help you decide whether to enforce App Check on your Firebase services. If your app has not launched yet, you should enable enforcement immediately, since there are no outdated clients in use. Possible values: ["UNENFORCED", "ENFORCED"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/firebase_app_check_service_config#enforcement_mode FirebaseAppCheckServiceConfig#enforcement_mode}
- Parameters:
enforcementMode- The App Check enforcement mode for a service supported by App Check. Valid values are. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public FirebaseAppCheckServiceConfig.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/firebase_app_check_service_config#id FirebaseAppCheckServiceConfig#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/firebase_app_check_service_config#id FirebaseAppCheckServiceConfig#id}. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public FirebaseAppCheckServiceConfig.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/firebase_app_check_service_config#project FirebaseAppCheckServiceConfig#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/firebase_app_check_service_config#project FirebaseAppCheckServiceConfig#project}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public FirebaseAppCheckServiceConfig.Builder timeouts(FirebaseAppCheckServiceConfigTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/firebase_app_check_service_config#timeouts FirebaseAppCheckServiceConfig#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public FirebaseAppCheckServiceConfig build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FirebaseAppCheckServiceConfig>- Returns:
- a newly built instance of
FirebaseAppCheckServiceConfig.
-
-