Class CfnImageBuilderProps
Properties for defining a CfnImageBuilder
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AppStream
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnImageBuilderProps : Object, ICfnImageBuilderProps
Syntax (vb)
Public Class CfnImageBuilderProps
Inherits Object
Implements ICfnImageBuilderProps
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.AppStream;
var cfnImageBuilderProps = new CfnImageBuilderProps {
InstanceType = "instanceType",
Name = "name",
// the properties below are optional
AccessEndpoints = new [] { new AccessEndpointProperty {
EndpointType = "endpointType",
VpceId = "vpceId"
} },
AppstreamAgentVersion = "appstreamAgentVersion",
Description = "description",
DisplayName = "displayName",
DomainJoinInfo = new DomainJoinInfoProperty {
DirectoryName = "directoryName",
OrganizationalUnitDistinguishedName = "organizationalUnitDistinguishedName"
},
EnableDefaultInternetAccess = false,
IamRoleArn = "iamRoleArn",
ImageArn = "imageArn",
ImageName = "imageName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
VpcConfig = new VpcConfigProperty {
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetIds = new [] { "subnetIds" }
}
};
Synopsis
Constructors
Cfn |
Properties
Access |
The list of virtual private cloud (VPC) interface endpoint objects. |
Appstream |
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]. |
Description | The description to display. |
Display |
The image builder name to display. |
Domain |
The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain. |
Enable |
Enables or disables default internet access for the image builder. |
Iam |
The ARN of the IAM role that is applied to the image builder. |
Image |
The ARN of the public, private, or shared image to use. |
Image |
The name of the image used to create the image builder. |
Instance |
The instance type to use when launching the image builder. The following instance types are available:. |
Name | A unique name for the image builder. |
Tags | An array of key-value pairs. |
Vpc |
The VPC configuration for the image builder. |
Constructors
CfnImageBuilderProps()
public CfnImageBuilderProps()
Properties
AccessEndpoints
The list of virtual private cloud (VPC) interface endpoint objects.
public object AccessEndpoints { get; set; }
Property Value
System.
Remarks
Administrators can connect to the image builder only through the specified endpoints.
AppstreamAgentVersion
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].
public string AppstreamAgentVersion { get; set; }
Property Value
System.
Remarks
Description
The description to display.
public string Description { get; set; }
Property Value
System.
Remarks
DisplayName
The image builder name to display.
public string DisplayName { get; set; }
Property Value
System.
Remarks
DomainJoinInfo
The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.
public object DomainJoinInfo { get; set; }
Property Value
System.
Remarks
EnableDefaultInternetAccess
Enables or disables default internet access for the image builder.
public object EnableDefaultInternetAccess { get; set; }
Property Value
System.
Remarks
IamRoleArn
The ARN of the IAM role that is applied to the image builder.
public string IamRoleArn { get; set; }
Property Value
System.
Remarks
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 in the Amazon AppStream 2.0 Administration Guide .
ImageArn
The ARN of the public, private, or shared image to use.
public string ImageArn { get; set; }
Property Value
System.
Remarks
ImageName
The name of the image used to create the image builder.
public string ImageName { get; set; }
Property Value
System.
Remarks
InstanceType
The instance type to use when launching the image builder. The following instance types are available:.
public string InstanceType { get; set; }
Property Value
System.
Remarks
Name
A unique name for the image builder.
public string Name { get; set; }
Property Value
System.
Remarks
Tags
VpcConfig
The VPC configuration for the image builder.
public object VpcConfig { get; set; }
Property Value
System.
Remarks
You can specify only one subnet.