Class CfnImageBuilder
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.appstream.CfnImageBuilder
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,ITaggable,IImageBuilderRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:39:58.338Z")
@Stability(Stable)
public class CfnImageBuilder
extends CfnResource
implements IInspectable, IImageBuilderRef, ITaggable
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();
- See Also:
-
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.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.appstream.IImageBuilderRef
IImageBuilderRef.Jsii$Default, IImageBuilderRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnImageBuilder(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnImageBuilder(software.amazon.jsii.JsiiObjectRef objRef) CfnImageBuilder(software.constructs.Construct scope, String id, CfnImageBuilderProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IImageBuilderReffromImageBuilderName(software.constructs.Construct scope, String id, String imageBuilderName) Creates a new IImageBuilderRef from a imageBuilderName.The 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.A reference to a ImageBuilder resource.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()Tag Manager which manages the tags for this resource.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.voidsetTagsRaw(List<CfnTag> value) An array of key-value pairs.voidsetVpcConfig(IResolvable value) The VPC configuration for the image builder.voidThe VPC configuration for the image builder.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods 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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnImageBuilderProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
fromImageBuilderName
@Stability(Stable) @NotNull public static IImageBuilderRef fromImageBuilderName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String imageBuilderName) Creates a new IImageBuilderRef from a imageBuilderName.- Parameters:
scope- This parameter is required.id- This parameter is required.imageBuilderName- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
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
-
getImageBuilderRef
A reference to a ImageBuilder resource.- Specified by:
getImageBuilderRefin interfaceIImageBuilderRef
-
getTags
Tag Manager which manages the tags for this resource. -
getInstanceType
The instance type to use when launching the image builder.The following instance types are available:.
-
setInstanceType
The instance type to use when launching the image builder.The following instance types are available:.
-
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.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnImageBuilder.AccessEndpointProperty> -
setAccessEndpoints
The list of virtual private cloud (VPC) interface endpoint objects. -
setAccessEndpoints
The list of virtual private cloud (VPC) interface endpoint objects. -
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.Returns union: either
IResolvableorCfnImageBuilder.DomainJoinInfoProperty -
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.Returns union: either
BooleanorIResolvable -
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. -
setIamRoleArn
The ARN of the IAM role that is applied to the image builder. -
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. -
getTagsRaw
An array of key-value pairs. -
setTagsRaw
An array of key-value pairs. -
getVpcConfig
The VPC configuration for the image builder.Returns union: either
IResolvableorCfnImageBuilder.VpcConfigProperty -
setVpcConfig
The VPC configuration for the image builder. -
setVpcConfig
The VPC configuration for the image builder.
-