Class CfnEnvironmentAccountConnection
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.proton.CfnEnvironmentAccountConnection
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,ITaggable,IEnvironmentAccountConnectionRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:46.542Z")
@Stability(Stable)
public class CfnEnvironmentAccountConnection
extends CfnResource
implements IInspectable, IEnvironmentAccountConnectionRef, ITaggable
Detailed data of an AWS Proton environment account connection resource.
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.*;
CfnEnvironmentAccountConnection cfnEnvironmentAccountConnection = CfnEnvironmentAccountConnection.Builder.create(this, "MyCfnEnvironmentAccountConnection")
.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 TypeClassDescriptionstatic final classA fluent builder forCfnEnvironmentAccountConnection.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.proton.IEnvironmentAccountConnectionRef
IEnvironmentAccountConnectionRef.Jsii$Default, IEnvironmentAccountConnectionRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnEnvironmentAccountConnection(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnEnvironmentAccountConnection(software.amazon.jsii.JsiiObjectRef objRef) CfnEnvironmentAccountConnection(software.constructs.Construct scope, String id) CfnEnvironmentAccountConnection(software.constructs.Construct scope, String id, CfnEnvironmentAccountConnectionProps props) -
Method Summary
Modifier and TypeMethodDescriptionReturns the environment account connection ARN.Returns the environment account connection ID.Returns the environment account connection status.The Amazon Resource Name (ARN) of an IAM service role in the environment account.The Amazon Resource Name (ARN) of the IAM service role that AWS Proton uses when provisioning directly defined components in the associated environment account.A reference to a EnvironmentAccountConnection resource.The environment account that's connected to the environment account connection.The name of the environment that's associated with the environment account connection.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.getTags()Tag Manager which manages the tags for this resource.An optional list of metadata items that you can associate with the AWS Proton environment account connection.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetCodebuildRoleArn(String value) The Amazon Resource Name (ARN) of an IAM service role in the environment account.voidsetComponentRoleArn(String value) The Amazon Resource Name (ARN) of the IAM service role that AWS Proton uses when provisioning directly defined components in the associated environment account.voidsetEnvironmentAccountId(String value) The environment account that's connected to the environment account connection.voidsetEnvironmentName(String value) The name of the environment that's associated with the environment account connection.voidsetManagementAccountId(String value) The ID of the management account that's connected to the environment account connection.voidsetRoleArn(String value) The IAM service role that's associated with the environment account connection.voidsetTagsRaw(List<CfnTag> value) An optional list of metadata items that you can associate with the AWS Proton environment account connection.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnEnvironmentAccountConnection
protected CfnEnvironmentAccountConnection(software.amazon.jsii.JsiiObjectRef objRef) -
CfnEnvironmentAccountConnection
protected CfnEnvironmentAccountConnection(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnEnvironmentAccountConnection
@Stability(Stable) public CfnEnvironmentAccountConnection(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnEnvironmentAccountConnectionProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties.
-
CfnEnvironmentAccountConnection
@Stability(Stable) public CfnEnvironmentAccountConnection(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
Returns the environment account connection ARN. -
getAttrId
Returns the environment account connection ID. -
getAttrStatus
Returns the environment account connection status. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getEnvironmentAccountConnectionRef
@Stability(Stable) @NotNull public EnvironmentAccountConnectionReference getEnvironmentAccountConnectionRef()A reference to a EnvironmentAccountConnection resource.- Specified by:
getEnvironmentAccountConnectionRefin interfaceIEnvironmentAccountConnectionRef
-
getTags
Tag Manager which manages the tags for this resource. -
getCodebuildRoleArn
The Amazon Resource Name (ARN) of an IAM service role in the environment account. -
setCodebuildRoleArn
The Amazon Resource Name (ARN) of an IAM service role in the 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. -
setComponentRoleArn
The Amazon Resource Name (ARN) of the IAM service role that AWS Proton uses when provisioning directly defined components in the associated environment account. -
getEnvironmentAccountId
The environment account that's connected to the environment account connection. -
setEnvironmentAccountId
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. -
setEnvironmentName
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. -
setManagementAccountId
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. -
setRoleArn
The IAM service role that's associated with the environment account connection. -
getTagsRaw
An optional list of metadata items that you can associate with the AWS Proton environment account connection. -
setTagsRaw
An optional list of metadata items that you can associate with the AWS Proton environment account connection.
-