Interface ServiceAccountConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
ServiceAccountConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:22.714Z") @Stability(Stable) public interface ServiceAccountConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classServiceAccountConfig.BuilderA builder forServiceAccountConfigstatic classServiceAccountConfig.Jsii$ProxyAn implementation forServiceAccountConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ServiceAccountConfig.Builderbuilder()StringgetAccountId()The account id that is used to generate the service account email address and a stable unique id.default ObjectgetCreateIgnoreAlreadyExists()If set to true, skip service account creation if a service account with the same email already exists.default StringgetDescription()A text description of the service account.default ObjectgetDisabled()Whether the service account is disabled.default StringgetDisplayName()The display name for the service account.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account#id ServiceAccount#id}.default StringgetProject()The ID of the project that the service account will be created in.default ServiceAccountTimeoutsgetTimeouts()timeouts block.
-
-
-
Method Detail
-
getAccountId
@Stability(Stable) @NotNull String getAccountId()
The account id that is used to generate the service account email address and a stable unique id.It is unique within a project, must be 6-30 characters long, and match the regular expression [a-z](%5B-a-z0-9%5D*%5Ba-z0-9%5D) to comply with RFC1035. Changing this forces a new service account to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account#account_id ServiceAccount#account_id}
-
getCreateIgnoreAlreadyExists
@Stability(Stable) @Nullable default Object getCreateIgnoreAlreadyExists()
If set to true, skip service account creation if a service account with the same email already exists.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account#create_ignore_already_exists ServiceAccount#create_ignore_already_exists}
-
getDescription
@Stability(Stable) @Nullable default String getDescription()
A text description of the service account. Must be less than or equal to 256 UTF-8 bytes.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account#description ServiceAccount#description}
-
getDisabled
@Stability(Stable) @Nullable default Object getDisabled()
Whether the service account is disabled. Defaults to false.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account#disabled ServiceAccount#disabled}
-
getDisplayName
@Stability(Stable) @Nullable default String getDisplayName()
The display name for the service account. Can be updated without creating a new resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account#display_name ServiceAccount#display_name}
-
getId
@Stability(Stable) @Nullable default String getId()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account#id ServiceAccount#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.
-
getProject
@Stability(Stable) @Nullable default String getProject()
The ID of the project that the service account will be created in. Defaults to the provider project configuration.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account#project ServiceAccount#project}
-
getTimeouts
@Stability(Stable) @Nullable default ServiceAccountTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/service_account#timeouts ServiceAccount#timeouts}
-
builder
@Stability(Stable) static ServiceAccountConfig.Builder builder()
- Returns:
- a
ServiceAccountConfig.BuilderofServiceAccountConfig
-
-