@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.644Z") @Stability(value=Stable) public interface CfnImageBuilderProps extends software.amazon.jsii.JsiiSerializable
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.*;
CfnImageBuilderProps cfnImageBuilderProps = CfnImageBuilderProps.builder()
.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 | Interface and Description |
|---|---|
static class |
CfnImageBuilderProps.Builder
A builder for
CfnImageBuilderProps |
static class |
CfnImageBuilderProps.Jsii$Proxy
An implementation for
CfnImageBuilderProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnImageBuilderProps.Builder |
builder() |
default Object |
getAccessEndpoints()
The list of virtual private cloud (VPC) interface endpoint objects.
|
default String |
getAppstreamAgentVersion()
The version of the AppStream 2.0 agent to use for this image builder.
|
default String |
getDescription()
The description to display.
|
default String |
getDisplayName()
The image builder name to display.
|
default Object |
getDomainJoinInfo()
The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.
|
default Object |
getEnableDefaultInternetAccess()
Enables or disables default internet access for the image builder.
|
default String |
getIamRoleArn()
The ARN of the IAM role that is applied to the image builder.
|
default String |
getImageArn()
The ARN of the public, private, or shared image to use.
|
default 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.
|
default List<CfnTag> |
getTags()
An array of key-value pairs.
|
default Object |
getVpcConfig()
The VPC configuration for the image builder.
|
@Stability(value=Stable) @NotNull String getInstanceType()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Object getAccessEndpoints()
Administrators can connect to the image builder only through the specified endpoints.
@Stability(value=Stable) @Nullable default String getAppstreamAgentVersion()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getDisplayName()
@Stability(value=Stable) @Nullable default Object getDomainJoinInfo()
@Stability(value=Stable) @Nullable default Object getEnableDefaultInternetAccess()
@Stability(value=Stable) @Nullable default 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) @Nullable default String getImageArn()
@Stability(value=Stable) @Nullable default String getImageName()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) @Nullable default Object getVpcConfig()
You can specify only one subnet.
@Stability(value=Stable) static CfnImageBuilderProps.Builder builder()
CfnImageBuilderProps.Builder of CfnImageBuilderPropsCopyright © 2022. All rights reserved.