Interface CfnEnvironmentAccountConnectionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEnvironmentAccountConnectionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:01.012Z")
@Stability(Stable)
public interface CfnEnvironmentAccountConnectionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnEnvironmentAccountConnection
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.proton.*; CfnEnvironmentAccountConnectionProps cfnEnvironmentAccountConnectionProps = CfnEnvironmentAccountConnectionProps.builder() .codebuildRoleArn("codebuildRoleArn") .componentRoleArn("componentRoleArn") .environmentAccountId("environmentAccountId") .environmentName("environmentName") .managementAccountId("managementAccountId") .roleArn("roleArn") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnEnvironmentAccountConnectionProps
static final class
An implementation forCfnEnvironmentAccountConnectionProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The Amazon Resource Name (ARN) of an IAM service role in the environment account.default String
The Amazon Resource Name (ARN) of the IAM service role that AWS Proton uses when provisioning directly defined components in the associated environment account.default String
The environment account that's connected to the environment account connection.default String
The name of the environment that's associated with the environment account connection.default String
The ID of the management account that's connected to the environment account connection.default String
The IAM service role that's associated with the environment account connection.getTags()
An optional list of metadata items that you can associate with the AWS Proton environment account connection.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCodebuildRoleArn
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.
-
getComponentRoleArn
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
componentRoleArn
to 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 .
-
getEnvironmentAccountId
The environment account that's connected to the environment account connection. -
getEnvironmentName
The name of the environment that's associated with the environment account connection. -
getManagementAccountId
The ID of the management account that's connected to the environment account connection. -
getRoleArn
The IAM service role that's associated with the environment account connection. -
getTags
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 .
-
builder
-