Class CfnImageBuilder
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::AppStream::ImageBuilder.
The AWS::AppStream::ImageBuilder resource creates an image builder for Amazon AppStream 2.0. An image builder is a virtual machine that is used to create an image.
The initial state of the image builder is PENDING . When it is ready, the state is RUNNING .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appstream.*;
CfnImageBuilder cfnImageBuilder = CfnImageBuilder.Builder.create(this, "MyCfnImageBuilder")
.instanceType("instanceType")
.name("name")
// the properties below are optional
.accessEndpoints(List.of(AccessEndpointProperty.builder()
.endpointType("endpointType")
.vpceId("vpceId")
.build()))
.appstreamAgentVersion("appstreamAgentVersion")
.description("description")
.displayName("displayName")
.domainJoinInfo(DomainJoinInfoProperty.builder()
.directoryName("directoryName")
.organizationalUnitDistinguishedName("organizationalUnitDistinguishedName")
.build())
.enableDefaultInternetAccess(false)
.iamRoleArn("iamRoleArn")
.imageArn("imageArn")
.imageName("imageName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.vpcConfig(VpcConfigProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDescribes an interface VPC endpoint (interface endpoint) that lets you create a private connection between the virtual private cloud (VPC) that you specify and AppStream 2.0.static final classA fluent builder forCfnImageBuilder.static interfaceThe name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.static interfaceThe VPC configuration for the image builder.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnImageBuilder(Construct scope, String id, CfnImageBuilderProps props) Create a newAWS::AppStream::ImageBuilder.protectedCfnImageBuilder(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnImageBuilder(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe list of virtual private cloud (VPC) interface endpoint objects.The version of the AppStream 2.0 agent to use for this image builder.The URL to start an image builder streaming session, returned as a string.The description to display.The image builder name to display.The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.Enables or disables default internet access for the image builder.The ARN of the IAM role that is applied to the image builder.The ARN of the public, private, or shared image to use.The name of the image used to create the image builder.The instance type to use when launching the image builder.getName()A unique name for the image builder.getTags()An array of key-value pairs.The VPC configuration for the image builder.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAccessEndpoints(List<Object> value) The list of virtual private cloud (VPC) interface endpoint objects.voidsetAccessEndpoints(IResolvable value) The list of virtual private cloud (VPC) interface endpoint objects.voidsetAppstreamAgentVersion(String value) The version of the AppStream 2.0 agent to use for this image builder.voidsetDescription(String value) The description to display.voidsetDisplayName(String value) The image builder name to display.voidsetDomainJoinInfo(IResolvable value) The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.voidThe name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.voidEnables or disables default internet access for the image builder.voidEnables or disables default internet access for the image builder.voidsetIamRoleArn(String value) The ARN of the IAM role that is applied to the image builder.voidsetImageArn(String value) The ARN of the public, private, or shared image to use.voidsetImageName(String value) The name of the image used to create the image builder.voidsetInstanceType(String value) The instance type to use when launching the image builder.voidA unique name for the image builder.voidsetVpcConfig(IResolvable value) The VPC configuration for the image builder.voidThe VPC configuration for the image builder.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnImageBuilder
protected CfnImageBuilder(software.amazon.jsii.JsiiObjectRef objRef) -
CfnImageBuilder
protected CfnImageBuilder(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnImageBuilder
@Stability(Stable) public CfnImageBuilder(@NotNull Construct scope, @NotNull String id, @NotNull CfnImageBuilderProps props) Create a newAWS::AppStream::ImageBuilder.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrStreamingUrl
The URL to start an image builder streaming session, returned as a string. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
An array of key-value pairs. -
getInstanceType
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
-
setInstanceType
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
-
getName
A unique name for the image builder. -
setName
A unique name for the image builder. -
getAccessEndpoints
The list of virtual private cloud (VPC) interface endpoint objects.Administrators can connect to the image builder only through the specified endpoints.
-
setAccessEndpoints
The list of virtual private cloud (VPC) interface endpoint objects.Administrators can connect to the image builder only through the specified endpoints.
-
setAccessEndpoints
The list of virtual private cloud (VPC) interface endpoint objects.Administrators can connect to the image builder only through the specified endpoints.
-
getAppstreamAgentVersion
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]. -
setAppstreamAgentVersion
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]. -
getDescription
The description to display. -
setDescription
The description to display. -
getDisplayName
The image builder name to display. -
setDisplayName
The image builder name to display. -
getDomainJoinInfo
The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain. -
setDomainJoinInfo
The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain. -
setDomainJoinInfo
@Stability(Stable) public void setDomainJoinInfo(@Nullable CfnImageBuilder.DomainJoinInfoProperty value) The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain. -
getEnableDefaultInternetAccess
Enables or disables default internet access for the image builder. -
setEnableDefaultInternetAccess
Enables or disables default internet access for the image builder. -
setEnableDefaultInternetAccess
Enables or disables default internet access for the image builder. -
getIamRoleArn
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
AssumeRoleAPI 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 .
-
setIamRoleArn
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
AssumeRoleAPI 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 .
-
getImageArn
The ARN of the public, private, or shared image to use. -
setImageArn
The ARN of the public, private, or shared image to use. -
getImageName
The name of the image used to create the image builder. -
setImageName
The name of the image used to create the image builder. -
getVpcConfig
The VPC configuration for the image builder.You can specify only one subnet.
-
setVpcConfig
The VPC configuration for the image builder.You can specify only one subnet.
-
setVpcConfig
The VPC configuration for the image builder.You can specify only one subnet.
-