@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.641Z") @Stability(value=Stable) public class CfnImageBuilder extends CfnResource implements IInspectable
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();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnImageBuilder.AccessEndpointProperty
Describes 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 class |
CfnImageBuilder.Builder
A fluent builder for
CfnImageBuilder. |
static interface |
CfnImageBuilder.DomainJoinInfoProperty
The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.
|
static interface |
CfnImageBuilder.VpcConfigProperty
The VPC configuration for the image builder.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnImageBuilder(software.constructs.Construct scope,
String id,
CfnImageBuilderProps props)
Create a new `AWS::AppStream::ImageBuilder`.
|
protected |
CfnImageBuilder(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnImageBuilder(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAccessEndpoints()
The list of virtual private cloud (VPC) interface endpoint objects.
|
String |
getAppstreamAgentVersion()
The version of the AppStream 2.0 agent to use for this image builder.
|
String |
getAttrStreamingUrl()
The URL to start an image builder streaming session, returned as a string.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
The description to display.
|
String |
getDisplayName()
The image builder name to display.
|
Object |
getDomainJoinInfo()
The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.
|
Object |
getEnableDefaultInternetAccess()
Enables or disables default internet access for the image builder.
|
String |
getIamRoleArn()
The ARN of the IAM role that is applied to the image builder.
|
String |
getImageArn()
The ARN of the public, private, or shared image to use.
|
String |
getImageName()
The name of the image used to create the image builder.
|
String |
getInstanceType()
The instance type to use when launching the image builder.
|
String |
getName()
A unique name for the image builder.
|
TagManager |
getTags()
An array of key-value pairs.
|
Object |
getVpcConfig()
The VPC configuration for the image builder.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAccessEndpoints(IResolvable value)
The list of virtual private cloud (VPC) interface endpoint objects.
|
void |
setAccessEndpoints(List<Object> value)
The list of virtual private cloud (VPC) interface endpoint objects.
|
void |
setAppstreamAgentVersion(String value)
The version of the AppStream 2.0 agent to use for this image builder.
|
void |
setDescription(String value)
The description to display.
|
void |
setDisplayName(String value)
The image builder name to display.
|
void |
setDomainJoinInfo(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.
|
void |
setDomainJoinInfo(IResolvable value)
The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.
|
void |
setEnableDefaultInternetAccess(Boolean value)
Enables or disables default internet access for the image builder.
|
void |
setEnableDefaultInternetAccess(IResolvable value)
Enables or disables default internet access for the image builder.
|
void |
setIamRoleArn(String value)
The ARN of the IAM role that is applied to the image builder.
|
void |
setImageArn(String value)
The ARN of the public, private, or shared image to use.
|
void |
setImageName(String value)
The name of the image used to create the image builder.
|
void |
setInstanceType(String value)
The instance type to use when launching the image builder.
|
void |
setName(String value)
A unique name for the image builder.
|
void |
setVpcConfig(CfnImageBuilder.VpcConfigProperty value)
The VPC configuration for the image builder.
|
void |
setVpcConfig(IResolvable value)
The VPC configuration for the image builder.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnImageBuilder(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnImageBuilder(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnImageBuilder(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnImageBuilderProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrStreamingUrl()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getInstanceType()
@Stability(value=Stable)
public void setInstanceType(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getAccessEndpoints()
Administrators can connect to the image builder only through the specified endpoints.
@Stability(value=Stable)
public void setAccessEndpoints(@Nullable
IResolvable value)
Administrators can connect to the image builder only through the specified endpoints.
@Stability(value=Stable)
public void setAccessEndpoints(@Nullable
List<Object> value)
Administrators can connect to the image builder only through the specified endpoints.
@Stability(value=Stable) @Nullable public String getAppstreamAgentVersion()
@Stability(value=Stable)
public void setAppstreamAgentVersion(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getDisplayName()
@Stability(value=Stable)
public void setDisplayName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getDomainJoinInfo()
@Stability(value=Stable)
public void setDomainJoinInfo(@Nullable
CfnImageBuilder.DomainJoinInfoProperty value)
@Stability(value=Stable)
public void setDomainJoinInfo(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getEnableDefaultInternetAccess()
@Stability(value=Stable)
public void setEnableDefaultInternetAccess(@Nullable
Boolean value)
@Stability(value=Stable)
public void setEnableDefaultInternetAccess(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getIamRoleArn()
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 .
@Stability(value=Stable)
public void setIamRoleArn(@Nullable
String value)
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 .
@Stability(value=Stable) @Nullable public String getImageArn()
@Stability(value=Stable)
public void setImageArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getImageName()
@Stability(value=Stable)
public void setImageName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getVpcConfig()
You can specify only one subnet.
@Stability(value=Stable)
public void setVpcConfig(@Nullable
CfnImageBuilder.VpcConfigProperty value)
You can specify only one subnet.
@Stability(value=Stable)
public void setVpcConfig(@Nullable
IResolvable value)
You can specify only one subnet.
Copyright © 2022. All rights reserved.