Interface AlloydbUserConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
AlloydbUserConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:17.310Z") @Stability(Stable) public interface AlloydbUserConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAlloydbUserConfig.BuilderA builder forAlloydbUserConfigstatic classAlloydbUserConfig.Jsii$ProxyAn implementation forAlloydbUserConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static AlloydbUserConfig.Builderbuilder()StringgetCluster()Identifies the alloydb cluster.default List<String>getDatabaseRoles()List of database roles this database user has.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_user#id AlloydbUser#id}.default StringgetPassword()Password for this database user.default AlloydbUserTimeoutsgetTimeouts()timeouts block.StringgetUserId()The database role name of the user.StringgetUserType()The type of this user.
-
-
-
Method Detail
-
getCluster
@Stability(Stable) @NotNull String getCluster()
Identifies the alloydb cluster. Must be in the format 'projects/{project}/locations/{location}/clusters/{cluster_id}'.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_user#cluster AlloydbUser#cluster}
-
getUserId
@Stability(Stable) @NotNull String getUserId()
The database role name of the user.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_user#user_id AlloydbUser#user_id}
-
getUserType
@Stability(Stable) @NotNull String getUserType()
The type of this user. Possible values: ["ALLOYDB_BUILT_IN", "ALLOYDB_IAM_USER"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_user#user_type AlloydbUser#user_type}
-
getDatabaseRoles
@Stability(Stable) @Nullable default List<String> getDatabaseRoles()
List of database roles this database user has.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_user#database_roles AlloydbUser#database_roles}
-
getId
@Stability(Stable) @Nullable default String getId()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_user#id AlloydbUser#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.
-
getPassword
@Stability(Stable) @Nullable default String getPassword()
Password for this database user.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_user#password AlloydbUser#password}
-
getTimeouts
@Stability(Stable) @Nullable default AlloydbUserTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_user#timeouts AlloydbUser#timeouts}
-
builder
@Stability(Stable) static AlloydbUserConfig.Builder builder()
- Returns:
- a
AlloydbUserConfig.BuilderofAlloydbUserConfig
-
-