-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnEnvironmentAccountConnectionProps.go
73 lines (70 loc) · 4.38 KB
/
CfnEnvironmentAccountConnectionProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package awsproton
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// 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 "github.com/aws/aws-cdk-go/awscdk"
//
// cfnEnvironmentAccountConnectionProps := &CfnEnvironmentAccountConnectionProps{
// CodebuildRoleArn: jsii.String("codebuildRoleArn"),
// ComponentRoleArn: jsii.String("componentRoleArn"),
// EnvironmentAccountId: jsii.String("environmentAccountId"),
// EnvironmentName: jsii.String("environmentName"),
// ManagementAccountId: jsii.String("managementAccountId"),
// RoleArn: jsii.String("roleArn"),
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-proton-environmentaccountconnection.html
//
type CfnEnvironmentAccountConnectionProps struct {
// 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.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-proton-environmentaccountconnection.html#cfn-proton-environmentaccountconnection-codebuildrolearn
//
CodebuildRoleArn *string `field:"optional" json:"codebuildRoleArn" yaml:"codebuildRoleArn"`
// 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](https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html) in the *AWS Proton User Guide* .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-proton-environmentaccountconnection.html#cfn-proton-environmentaccountconnection-componentrolearn
//
ComponentRoleArn *string `field:"optional" json:"componentRoleArn" yaml:"componentRoleArn"`
// The environment account that's connected to the environment account connection.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-proton-environmentaccountconnection.html#cfn-proton-environmentaccountconnection-environmentaccountid
//
EnvironmentAccountId *string `field:"optional" json:"environmentAccountId" yaml:"environmentAccountId"`
// The name of the environment that's associated with the environment account connection.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-proton-environmentaccountconnection.html#cfn-proton-environmentaccountconnection-environmentname
//
EnvironmentName *string `field:"optional" json:"environmentName" yaml:"environmentName"`
// The ID of the management account that's connected to the environment account connection.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-proton-environmentaccountconnection.html#cfn-proton-environmentaccountconnection-managementaccountid
//
ManagementAccountId *string `field:"optional" json:"managementAccountId" yaml:"managementAccountId"`
// The IAM service role that's associated with the environment account connection.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-proton-environmentaccountconnection.html#cfn-proton-environmentaccountconnection-rolearn
//
RoleArn *string `field:"optional" json:"roleArn" yaml:"roleArn"`
// 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](https://docs.aws.amazon.com/proton/latest/userguide/resources.html) in the *AWS Proton User Guide* .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-proton-environmentaccountconnection.html#cfn-proton-environmentaccountconnection-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}