Package services.proton
Interface CfnEnvironmentAccountConnectionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEnvironmentAccountConnectionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.89.0 (build 2f74b3e)",
date="2023-11-02T10:21:21.077Z")
@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 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier 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 service role in the environment account.default String
The Amazon Resource Name (ARN) of the service role that 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 environment account connection.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCodebuildRoleArn
The Amazon Resource Name (ARN) of an service role in the environment account.uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
- See Also:
-
getComponentRoleArn
The Amazon Resource Name (ARN) of the service role that 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.- See Also:
-
getEnvironmentAccountId
The environment account that's connected to the environment account connection.- See Also:
-
getEnvironmentName
The name of the environment that's associated with the environment account connection.- See Also:
-
getManagementAccountId
The ID of the management account that's connected to the environment account connection.- See Also:
-
getRoleArn
The IAM service role that's associated with the environment account connection.- See Also:
-
getTags
An optional list of metadata items that you can associate with the environment account connection.A tag is a key-value pair.
For more information, see resources and tagging in the User Guide .
- See Also:
-
builder
-