-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnImageBuilderProps.go
150 lines (147 loc) · 7.43 KB
/
CfnImageBuilderProps.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
package awsappstream
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnImageBuilder`.
//
// 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"
//
// cfnImageBuilderProps := &CfnImageBuilderProps{
// InstanceType: jsii.String("instanceType"),
// Name: jsii.String("name"),
//
// // the properties below are optional
// AccessEndpoints: []interface{}{
// &AccessEndpointProperty{
// EndpointType: jsii.String("endpointType"),
// VpceId: jsii.String("vpceId"),
// },
// },
// AppstreamAgentVersion: jsii.String("appstreamAgentVersion"),
// Description: jsii.String("description"),
// DisplayName: jsii.String("displayName"),
// DomainJoinInfo: &DomainJoinInfoProperty{
// DirectoryName: jsii.String("directoryName"),
// OrganizationalUnitDistinguishedName: jsii.String("organizationalUnitDistinguishedName"),
// },
// EnableDefaultInternetAccess: jsii.Boolean(false),
// IamRoleArn: jsii.String("iamRoleArn"),
// ImageArn: jsii.String("imageArn"),
// ImageName: jsii.String("imageName"),
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// VpcConfig: &VpcConfigProperty{
// SecurityGroupIds: []*string{
// jsii.String("securityGroupIds"),
// },
// SubnetIds: []*string{
// jsii.String("subnetIds"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html
//
type CfnImageBuilderProps struct {
// The instance type to use when launching the image builder. The following instance types are available:.
//
// - stream.standard.small
// - stream.standard.medium
// - stream.standard.large
// - stream.compute.large
// - stream.compute.xlarge
// - stream.compute.2xlarge
// - stream.compute.4xlarge
// - stream.compute.8xlarge
// - stream.memory.large
// - stream.memory.xlarge
// - stream.memory.2xlarge
// - stream.memory.4xlarge
// - stream.memory.8xlarge
// - stream.memory.z1d.large
// - stream.memory.z1d.xlarge
// - stream.memory.z1d.2xlarge
// - stream.memory.z1d.3xlarge
// - stream.memory.z1d.6xlarge
// - stream.memory.z1d.12xlarge
// - stream.graphics-design.large
// - stream.graphics-design.xlarge
// - stream.graphics-design.2xlarge
// - stream.graphics-design.4xlarge
// - stream.graphics-desktop.2xlarge
// - stream.graphics.g4dn.xlarge
// - stream.graphics.g4dn.2xlarge
// - stream.graphics.g4dn.4xlarge
// - stream.graphics.g4dn.8xlarge
// - stream.graphics.g4dn.12xlarge
// - stream.graphics.g4dn.16xlarge
// - stream.graphics-pro.4xlarge
// - stream.graphics-pro.8xlarge
// - stream.graphics-pro.16xlarge
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-instancetype
//
InstanceType *string `field:"required" json:"instanceType" yaml:"instanceType"`
// A unique name for the image builder.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The list of virtual private cloud (VPC) interface endpoint objects.
//
// Administrators can connect to the image builder only through the specified endpoints.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-accessendpoints
//
AccessEndpoints interface{} `field:"optional" json:"accessEndpoints" yaml:"accessEndpoints"`
// The version of the AppStream 2.0 agent to use for this image builder. To use the latest version of the AppStream 2.0 agent, specify [LATEST].
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-appstreamagentversion
//
AppstreamAgentVersion *string `field:"optional" json:"appstreamAgentVersion" yaml:"appstreamAgentVersion"`
// The description to display.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The image builder name to display.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-displayname
//
DisplayName *string `field:"optional" json:"displayName" yaml:"displayName"`
// The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-domainjoininfo
//
DomainJoinInfo interface{} `field:"optional" json:"domainJoinInfo" yaml:"domainJoinInfo"`
// Enables or disables default internet access for the image builder.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-enabledefaultinternetaccess
//
EnableDefaultInternetAccess interface{} `field:"optional" json:"enableDefaultInternetAccess" yaml:"enableDefaultInternetAccess"`
// The ARN of the IAM role that is applied to the image builder.
//
// To assume a role, the image builder calls the AWS Security Token Service `AssumeRole` API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the *appstream_machine_role* credential profile on the instance.
//
// For more information, see [Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances](https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html) in the *Amazon AppStream 2.0 Administration Guide* .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-iamrolearn
//
IamRoleArn *string `field:"optional" json:"iamRoleArn" yaml:"iamRoleArn"`
// The ARN of the public, private, or shared image to use.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-imagearn
//
ImageArn *string `field:"optional" json:"imageArn" yaml:"imageArn"`
// The name of the image used to create the image builder.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-imagename
//
ImageName *string `field:"optional" json:"imageName" yaml:"imageName"`
// An array of key-value pairs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
// The VPC configuration for the image builder.
//
// You can specify only one subnet.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html#cfn-appstream-imagebuilder-vpcconfig
//
VpcConfig interface{} `field:"optional" json:"vpcConfig" yaml:"vpcConfig"`
}