-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnInfrastructureConfigurationProps.go
101 lines (98 loc) · 5.95 KB
/
CfnInfrastructureConfigurationProps.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
package awsimagebuilder
// Properties for defining a `CfnInfrastructureConfiguration`.
//
// 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"
//
// cfnInfrastructureConfigurationProps := &CfnInfrastructureConfigurationProps{
// InstanceProfileName: jsii.String("instanceProfileName"),
// Name: jsii.String("name"),
//
// // the properties below are optional
// Description: jsii.String("description"),
// InstanceMetadataOptions: &InstanceMetadataOptionsProperty{
// HttpPutResponseHopLimit: jsii.Number(123),
// HttpTokens: jsii.String("httpTokens"),
// },
// InstanceTypes: []*string{
// jsii.String("instanceTypes"),
// },
// KeyPair: jsii.String("keyPair"),
// Logging: &LoggingProperty{
// S3Logs: &S3LogsProperty{
// S3BucketName: jsii.String("s3BucketName"),
// S3KeyPrefix: jsii.String("s3KeyPrefix"),
// },
// },
// ResourceTags: map[string]*string{
// "resourceTagsKey": jsii.String("resourceTags"),
// },
// SecurityGroupIds: []*string{
// jsii.String("securityGroupIds"),
// },
// SnsTopicArn: jsii.String("snsTopicArn"),
// SubnetId: jsii.String("subnetId"),
// Tags: map[string]*string{
// "tagsKey": jsii.String("tags"),
// },
// TerminateInstanceOnFailure: jsii.Boolean(false),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html
//
type CfnInfrastructureConfigurationProps struct {
// The instance profile of the infrastructure configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-instanceprofilename
//
InstanceProfileName *string `field:"required" json:"instanceProfileName" yaml:"instanceProfileName"`
// The name of the infrastructure configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The description of the infrastructure configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The instance metadata option settings for the infrastructure configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-instancemetadataoptions
//
InstanceMetadataOptions interface{} `field:"optional" json:"instanceMetadataOptions" yaml:"instanceMetadataOptions"`
// The instance types of the infrastructure configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-instancetypes
//
InstanceTypes *[]*string `field:"optional" json:"instanceTypes" yaml:"instanceTypes"`
// The Amazon EC2 key pair of the infrastructure configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-keypair
//
KeyPair *string `field:"optional" json:"keyPair" yaml:"keyPair"`
// The logging configuration defines where Image Builder uploads your logs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-logging
//
Logging interface{} `field:"optional" json:"logging" yaml:"logging"`
// The tags attached to the resource created by Image Builder.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-resourcetags
//
ResourceTags interface{} `field:"optional" json:"resourceTags" yaml:"resourceTags"`
// The security group IDs of the infrastructure configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-securitygroupids
//
SecurityGroupIds *[]*string `field:"optional" json:"securityGroupIds" yaml:"securityGroupIds"`
// The Amazon Resource Name (ARN) of the SNS topic for the infrastructure configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-snstopicarn
//
SnsTopicArn *string `field:"optional" json:"snsTopicArn" yaml:"snsTopicArn"`
// The subnet ID of the infrastructure configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-subnetid
//
SubnetId *string `field:"optional" json:"subnetId" yaml:"subnetId"`
// The tags of the infrastructure configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-tags
//
Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"`
// The terminate instance on failure configuration of the infrastructure configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-imagebuilder-infrastructureconfiguration.html#cfn-imagebuilder-infrastructureconfiguration-terminateinstanceonfailure
//
TerminateInstanceOnFailure interface{} `field:"optional" json:"terminateInstanceOnFailure" yaml:"terminateInstanceOnFailure"`
}