Interface ICfnEnvironmentAccountConnectionProps
Properties for defining a CfnEnvironmentAccountConnection.
Namespace: Amazon.CDK.AWS.Proton
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnEnvironmentAccountConnectionProps
Syntax (vb)
Public Interface ICfnEnvironmentAccountConnectionProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Proton;
var cfnEnvironmentAccountConnectionProps = new CfnEnvironmentAccountConnectionProps {
CodebuildRoleArn = "codebuildRoleArn",
ComponentRoleArn = "componentRoleArn",
EnvironmentAccountId = "environmentAccountId",
EnvironmentName = "environmentName",
ManagementAccountId = "managementAccountId",
RoleArn = "roleArn",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
| CodebuildRoleArn | The Amazon Resource Name (ARN) of an IAM service role in the environment account. |
| 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. |
| EnvironmentAccountId | The environment account that's connected to the environment account connection. |
| EnvironmentName | The name of the environment that's associated with the environment account connection. |
| ManagementAccountId | The ID of the management account that's connected to the environment account connection. |
| RoleArn | The IAM service role that's associated with the environment account connection. |
| Tags | An optional list of metadata items that you can associate with the AWS Proton environment account connection. |
Properties
CodebuildRoleArn
The Amazon Resource Name (ARN) of an IAM service role in the environment account.
string? CodebuildRoleArn { get; }
Property Value
Remarks
AWS Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
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.
string? ComponentRoleArn { get; }
Property Value
Remarks
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 .
EnvironmentAccountId
The environment account that's connected to the environment account connection.
string? EnvironmentAccountId { get; }
Property Value
Remarks
EnvironmentName
The name of the environment that's associated with the environment account connection.
string? EnvironmentName { get; }
Property Value
Remarks
ManagementAccountId
The ID of the management account that's connected to the environment account connection.
string? ManagementAccountId { get; }
Property Value
Remarks
RoleArn
The IAM service role that's associated with the environment account connection.
string? RoleArn { get; }
Property Value
Remarks
Tags
An optional list of metadata items that you can associate with the AWS Proton environment account connection.
ICfnTag[]? Tags { get; }
Property Value
ICfnTag[]
Remarks
A tag is a key-value pair.
For more information, see AWS Proton resources and tagging in the AWS Proton User Guide .