Class CfnInstanceProfilePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInstanceProfilePropsMixin>
- Enclosing class:
CfnInstanceProfilePropsMixin
CfnInstanceProfilePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) The Availability Zone where the instance profile runs.build()create()create(CfnPropertyMixinOptions options) description(String description) A description of the instance profile.instanceProfileIdentifier(String instanceProfileIdentifier) The identifier of the instance profile.instanceProfileName(String instanceProfileName) The user-friendly name for the instance profile.The Amazon Resource Name (ARN) of the AWS key that is used to encrypt the connection parameters for the instance profile.networkType(String networkType) Specifies the network type for the instance profile.publiclyAccessible(Boolean publiclyAccessible) Specifies the accessibility options for the instance profile.publiclyAccessible(IResolvable publiclyAccessible) Specifies the accessibility options for the instance profile.subnetGroupIdentifier(String subnetGroupIdentifier) The identifier of the subnet group that is associated with the instance profile.An array of key-value pairs to apply to this resource.vpcSecurityGroups(List<String> vpcSecurityGroups) The VPC security groups that are used with the instance profile.
-
Method Details
-
create
@Stability(Stable) public static CfnInstanceProfilePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnInstanceProfilePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnInstanceProfilePropsMixin.Builder.
-
availabilityZone
@Stability(Stable) public CfnInstanceProfilePropsMixin.Builder availabilityZone(String availabilityZone) The Availability Zone where the instance profile runs.- Parameters:
availabilityZone- The Availability Zone where the instance profile runs. This parameter is required.- Returns:
this- See Also:
-
description
A description of the instance profile.Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.
- Parameters:
description- A description of the instance profile. This parameter is required.- Returns:
this- See Also:
-
instanceProfileIdentifier
@Stability(Stable) public CfnInstanceProfilePropsMixin.Builder instanceProfileIdentifier(String instanceProfileIdentifier) The identifier of the instance profile.Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.
- Parameters:
instanceProfileIdentifier- The identifier of the instance profile. This parameter is required.- Returns:
this- See Also:
-
instanceProfileName
@Stability(Stable) public CfnInstanceProfilePropsMixin.Builder instanceProfileName(String instanceProfileName) The user-friendly name for the instance profile.- Parameters:
instanceProfileName- The user-friendly name for the instance profile. This parameter is required.- Returns:
this- See Also:
-
kmsKeyArn
The Amazon Resource Name (ARN) of the AWS key that is used to encrypt the connection parameters for the instance profile.If you don't specify a value for the
KmsKeyArnparameter, then AWS DMS uses an AWS owned encryption key to encrypt your resources.- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of the AWS key that is used to encrypt the connection parameters for the instance profile. This parameter is required.- Returns:
this- See Also:
-
networkType
Specifies the network type for the instance profile.A value of
IPV4represents an instance profile with IPv4 network type and only supports IPv4 addressing. A value ofIPV6represents an instance profile with IPv6 network type and only supports IPv6 addressing. A value ofDUALrepresents an instance profile with dual network type that supports IPv4 and IPv6 addressing.- Parameters:
networkType- Specifies the network type for the instance profile. This parameter is required.- Returns:
this- See Also:
-
publiclyAccessible
@Stability(Stable) public CfnInstanceProfilePropsMixin.Builder publiclyAccessible(Boolean publiclyAccessible) Specifies the accessibility options for the instance profile.A value of
truerepresents an instance profile with a public IP address. A value offalserepresents an instance profile with a private IP address. The default value istrue.Default: - false
- Parameters:
publiclyAccessible- Specifies the accessibility options for the instance profile. This parameter is required.- Returns:
this- See Also:
-
publiclyAccessible
@Stability(Stable) public CfnInstanceProfilePropsMixin.Builder publiclyAccessible(IResolvable publiclyAccessible) Specifies the accessibility options for the instance profile.A value of
truerepresents an instance profile with a public IP address. A value offalserepresents an instance profile with a private IP address. The default value istrue.Default: - false
- Parameters:
publiclyAccessible- Specifies the accessibility options for the instance profile. This parameter is required.- Returns:
this- See Also:
-
subnetGroupIdentifier
@Stability(Stable) public CfnInstanceProfilePropsMixin.Builder subnetGroupIdentifier(String subnetGroupIdentifier) The identifier of the subnet group that is associated with the instance profile.- Parameters:
subnetGroupIdentifier- The identifier of the subnet group that is associated with the instance profile. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
vpcSecurityGroups
@Stability(Stable) public CfnInstanceProfilePropsMixin.Builder vpcSecurityGroups(List<String> vpcSecurityGroups) The VPC security groups that are used with the instance profile.The VPC security group must work with the VPC containing the instance profile.
- Parameters:
vpcSecurityGroups- The VPC security groups that are used with the instance profile. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInstanceProfilePropsMixin>- Returns:
- a newly built instance of
CfnInstanceProfilePropsMixin.
-