Class CfnEnvironmentAccountConnectionPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.proton.CfnEnvironmentAccountConnectionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnvironmentAccountConnectionPropsMixin>
- Enclosing class:
CfnEnvironmentAccountConnectionPropsMixin
@Stability(Stable)
public static final class CfnEnvironmentAccountConnectionPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnvironmentAccountConnectionPropsMixin>
A fluent builder for
CfnEnvironmentAccountConnectionPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()codebuildRoleArn(String codebuildRoleArn) The Amazon Resource Name (ARN) of an IAM service role in the environment account.componentRoleArn(String componentRoleArn) The Amazon Resource Name (ARN) of the IAM service role that AWS Proton uses when provisioning directly defined components in the associated environment account.create()create(CfnPropertyMixinOptions options) environmentAccountId(String environmentAccountId) The environment account that's connected to the environment account connection.environmentName(String environmentName) The name of the environment that's associated with the environment account connection.managementAccountId(String managementAccountId) The ID of the management account that's connected to the environment account connection.The IAM service role that's associated with the environment account connection.An optional list of metadata items that you can associate with the AWS Proton environment account connection.
-
Method Details
-
create
@Stability(Stable) public static CfnEnvironmentAccountConnectionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnEnvironmentAccountConnectionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnEnvironmentAccountConnectionPropsMixin.Builder.
-
codebuildRoleArn
@Stability(Stable) public CfnEnvironmentAccountConnectionPropsMixin.Builder codebuildRoleArn(String codebuildRoleArn) The Amazon Resource Name (ARN) of an IAM service role in the environment account.AWS Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
- Parameters:
codebuildRoleArn- The Amazon Resource Name (ARN) of an IAM service role in the environment account. This parameter is required.- Returns:
this- See Also:
-
componentRoleArn
@Stability(Stable) public CfnEnvironmentAccountConnectionPropsMixin.Builder componentRoleArn(String componentRoleArn) The Amazon Resource Name (ARN) of the IAM service role that AWS Proton uses when provisioning directly defined components in the associated environment account.It determines the scope of infrastructure that a component can provision in the account.
The environment account connection must have a
componentRoleArnto allow directly defined components to be associated with any environments running in the account.For more information about components, see AWS Proton components in the AWS Proton User Guide .
- Parameters:
componentRoleArn- The Amazon Resource Name (ARN) of the IAM service role that AWS Proton uses when provisioning directly defined components in the associated environment account. This parameter is required.- Returns:
this- See Also:
-
environmentAccountId
@Stability(Stable) public CfnEnvironmentAccountConnectionPropsMixin.Builder environmentAccountId(String environmentAccountId) The environment account that's connected to the environment account connection.- Parameters:
environmentAccountId- The environment account that's connected to the environment account connection. This parameter is required.- Returns:
this- See Also:
-
environmentName
@Stability(Stable) public CfnEnvironmentAccountConnectionPropsMixin.Builder environmentName(String environmentName) The name of the environment that's associated with the environment account connection.- Parameters:
environmentName- The name of the environment that's associated with the environment account connection. This parameter is required.- Returns:
this- See Also:
-
managementAccountId
@Stability(Stable) public CfnEnvironmentAccountConnectionPropsMixin.Builder managementAccountId(String managementAccountId) The ID of the management account that's connected to the environment account connection.- Parameters:
managementAccountId- The ID of the management account that's connected to the environment account connection. This parameter is required.- Returns:
this- See Also:
-
roleArn
The IAM service role that's associated with the environment account connection.- Parameters:
roleArn- The IAM service role that's associated with the environment account connection. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnEnvironmentAccountConnectionPropsMixin.Builder tags(List<? extends CfnTag> tags) An optional list of metadata items that you can associate with the AWS Proton environment account connection.A tag is a key-value pair.
For more information, see AWS Proton resources and tagging in the AWS Proton User Guide .
- Parameters:
tags- An optional list of metadata items that you can associate with the AWS Proton environment account connection. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEnvironmentAccountConnectionPropsMixin>- Returns:
- a newly built instance of
CfnEnvironmentAccountConnectionPropsMixin.
-