public static final class CfnImageBuilder.Builder
extends java.lang.Object
CfnImageBuilder
.Modifier and Type | Method and Description |
---|---|
CfnImageBuilder.Builder |
accessEndpoints(IResolvable accessEndpoints)
The list of virtual private cloud (VPC) interface endpoint objects.
|
CfnImageBuilder.Builder |
accessEndpoints(java.util.List<? extends java.lang.Object> accessEndpoints)
The list of virtual private cloud (VPC) interface endpoint objects.
|
CfnImageBuilder.Builder |
appstreamAgentVersion(java.lang.String appstreamAgentVersion)
The version of the AppStream 2.0 agent to use for this image builder.
|
CfnImageBuilder |
build() |
static CfnImageBuilder.Builder |
create(Construct scope,
java.lang.String id) |
CfnImageBuilder.Builder |
description(java.lang.String description)
The description to display.
|
CfnImageBuilder.Builder |
displayName(java.lang.String displayName)
The image builder name to display.
|
CfnImageBuilder.Builder |
domainJoinInfo(CfnImageBuilder.DomainJoinInfoProperty domainJoinInfo)
The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.
|
CfnImageBuilder.Builder |
domainJoinInfo(IResolvable domainJoinInfo)
The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.
|
CfnImageBuilder.Builder |
enableDefaultInternetAccess(java.lang.Boolean enableDefaultInternetAccess)
Enables or disables default internet access for the image builder.
|
CfnImageBuilder.Builder |
enableDefaultInternetAccess(IResolvable enableDefaultInternetAccess)
Enables or disables default internet access for the image builder.
|
CfnImageBuilder.Builder |
iamRoleArn(java.lang.String iamRoleArn)
The ARN of the IAM role that is applied to the image builder.
|
CfnImageBuilder.Builder |
imageArn(java.lang.String imageArn)
The ARN of the public, private, or shared image to use.
|
CfnImageBuilder.Builder |
imageName(java.lang.String imageName)
The name of the image used to create the image builder.
|
CfnImageBuilder.Builder |
instanceType(java.lang.String instanceType)
The instance type to use when launching the image builder.
|
CfnImageBuilder.Builder |
name(java.lang.String name)
A unique name for the image builder.
|
CfnImageBuilder.Builder |
tags(java.util.List<? extends CfnTag> tags)
An array of key-value pairs.
|
CfnImageBuilder.Builder |
vpcConfig(CfnImageBuilder.VpcConfigProperty vpcConfig)
The VPC configuration for the image builder.
|
CfnImageBuilder.Builder |
vpcConfig(IResolvable vpcConfig)
The VPC configuration for the image builder.
|
public static CfnImageBuilder.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnImageBuilder.AccessEndpointProperty.Builder
.public CfnImageBuilder.Builder instanceType(java.lang.String instanceType)
instanceType
- The instance type to use when launching the image builder. The following instance types are available:. This parameter is required.this
public CfnImageBuilder.Builder name(java.lang.String name)
name
- A unique name for the image builder. This parameter is required.this
public CfnImageBuilder.Builder accessEndpoints(IResolvable accessEndpoints)
Administrators can connect to the image builder only through the specified endpoints.
accessEndpoints
- The list of virtual private cloud (VPC) interface endpoint objects. This parameter is required.this
public CfnImageBuilder.Builder accessEndpoints(java.util.List<? extends java.lang.Object> accessEndpoints)
Administrators can connect to the image builder only through the specified endpoints.
accessEndpoints
- The list of virtual private cloud (VPC) interface endpoint objects. This parameter is required.this
public CfnImageBuilder.Builder appstreamAgentVersion(java.lang.String appstreamAgentVersion)
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]. This parameter is required.this
public CfnImageBuilder.Builder description(java.lang.String description)
description
- The description to display. This parameter is required.this
public CfnImageBuilder.Builder displayName(java.lang.String displayName)
displayName
- The image builder name to display. This parameter is required.this
public CfnImageBuilder.Builder domainJoinInfo(IResolvable domainJoinInfo)
domainJoinInfo
- The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain. This parameter is required.this
public CfnImageBuilder.Builder domainJoinInfo(CfnImageBuilder.DomainJoinInfoProperty domainJoinInfo)
domainJoinInfo
- The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain. This parameter is required.this
public CfnImageBuilder.Builder enableDefaultInternetAccess(java.lang.Boolean enableDefaultInternetAccess)
enableDefaultInternetAccess
- Enables or disables default internet access for the image builder. This parameter is required.this
public CfnImageBuilder.Builder enableDefaultInternetAccess(IResolvable enableDefaultInternetAccess)
enableDefaultInternetAccess
- Enables or disables default internet access for the image builder. This parameter is required.this
public CfnImageBuilder.Builder iamRoleArn(java.lang.String iamRoleArn)
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 .
iamRoleArn
- The ARN of the IAM role that is applied to the image builder. This parameter is required.this
public CfnImageBuilder.Builder imageArn(java.lang.String imageArn)
imageArn
- The ARN of the public, private, or shared image to use. This parameter is required.this
public CfnImageBuilder.Builder imageName(java.lang.String imageName)
imageName
- The name of the image used to create the image builder. This parameter is required.this
public CfnImageBuilder.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- An array of key-value pairs. This parameter is required.this
public CfnImageBuilder.Builder vpcConfig(IResolvable vpcConfig)
You can specify only one subnet.
vpcConfig
- The VPC configuration for the image builder. This parameter is required.this
public CfnImageBuilder.Builder vpcConfig(CfnImageBuilder.VpcConfigProperty vpcConfig)
You can specify only one subnet.
vpcConfig
- The VPC configuration for the image builder. This parameter is required.this
public CfnImageBuilder build()