Package com.pulumi.aws.appstream
Class ImageBuilder
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.appstream.ImageBuilder
-
public class ImageBuilder extends com.pulumi.resources.CustomResource
Provides an AppStream image builder. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.appstream.ImageBuilder; import com.pulumi.aws.appstream.ImageBuilderArgs; import com.pulumi.aws.appstream.inputs.ImageBuilderVpcConfigArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { var testFleet = new ImageBuilder("testFleet", ImageBuilderArgs.builder() .description("Description of a ImageBuilder") .displayName("Display name of a ImageBuilder") .enableDefaultInternetAccess(false) .imageName("AppStream-WinServer2019-10-05-2022") .instanceType("stream.standard.large") .vpcConfig(ImageBuilderVpcConfigArgs.builder() .subnetIds(aws_subnet.example().id()) .build()) .tags(Map.of("Name", "Example Image Builder")) .build()); } } ``` ## Import Using `pulumi import`, import `aws_appstream_image_builder` using the `name`. For example: ```sh $ pulumi import aws:appstream/imageBuilder:ImageBuilder example imageBuilderExample ```
-
-
Constructor Summary
Constructors Constructor Description ImageBuilder(java.lang.String name)
ImageBuilder(java.lang.String name, ImageBuilderArgs args)
ImageBuilder(java.lang.String name, ImageBuilderArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.util.Optional<java.util.List<ImageBuilderAccessEndpoint>>>
accessEndpoints()
com.pulumi.core.Output<java.lang.String>
appstreamAgentVersion()
com.pulumi.core.Output<java.lang.String>
arn()
com.pulumi.core.Output<java.lang.String>
createdTime()
com.pulumi.core.Output<java.lang.String>
description()
com.pulumi.core.Output<java.lang.String>
displayName()
com.pulumi.core.Output<ImageBuilderDomainJoinInfo>
domainJoinInfo()
com.pulumi.core.Output<java.lang.Boolean>
enableDefaultInternetAccess()
static ImageBuilder
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, ImageBuilderState state, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>
iamRoleArn()
com.pulumi.core.Output<java.lang.String>
imageArn()
com.pulumi.core.Output<java.lang.String>
imageName()
com.pulumi.core.Output<java.lang.String>
instanceType()
com.pulumi.core.Output<java.lang.String>
name()
com.pulumi.core.Output<java.lang.String>
state()
com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>>
tags()
com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>
tagsAll()
com.pulumi.core.Output<ImageBuilderVpcConfig>
vpcConfig()
-
-
-
Constructor Detail
-
ImageBuilder
public ImageBuilder(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
ImageBuilder
public ImageBuilder(java.lang.String name, ImageBuilderArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
ImageBuilder
public ImageBuilder(java.lang.String name, ImageBuilderArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
accessEndpoints
public com.pulumi.core.Output<java.util.Optional<java.util.List<ImageBuilderAccessEndpoint>>> accessEndpoints()
- Returns:
- Set of interface VPC endpoint (interface endpoint) objects. Maximum of 4. See below.
-
appstreamAgentVersion
public com.pulumi.core.Output<java.lang.String> appstreamAgentVersion()
- Returns:
- Version of the AppStream 2.0 agent to use for this image builder.
-
arn
public com.pulumi.core.Output<java.lang.String> arn()
- Returns:
- ARN of the appstream image builder.
-
createdTime
public com.pulumi.core.Output<java.lang.String> createdTime()
- Returns:
- Date and time, in UTC and extended RFC 3339 format, when the image builder was created.
-
description
public com.pulumi.core.Output<java.lang.String> description()
- Returns:
- Description to display.
-
displayName
public com.pulumi.core.Output<java.lang.String> displayName()
- Returns:
- Human-readable friendly name for the AppStream image builder.
-
domainJoinInfo
public com.pulumi.core.Output<ImageBuilderDomainJoinInfo> domainJoinInfo()
- Returns:
- Configuration block for the name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain. See below.
-
enableDefaultInternetAccess
public com.pulumi.core.Output<java.lang.Boolean> enableDefaultInternetAccess()
- Returns:
- Enables or disables default internet access for the image builder.
-
iamRoleArn
public com.pulumi.core.Output<java.lang.String> iamRoleArn()
- Returns:
- ARN of the IAM role to apply to the image builder.
-
imageArn
public com.pulumi.core.Output<java.lang.String> imageArn()
- Returns:
- ARN of the public, private, or shared image to use.
-
imageName
public com.pulumi.core.Output<java.lang.String> imageName()
- Returns:
- Name of the image used to create the image builder.
-
instanceType
public com.pulumi.core.Output<java.lang.String> instanceType()
- Returns:
- Instance type to use when launching the image builder.
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- Unique name for the image builder. The following arguments are optional:
-
state
public com.pulumi.core.Output<java.lang.String> state()
- Returns:
- State of the image builder. Can be: `PENDING`, `UPDATING_AGENT`, `RUNNING`, `STOPPING`, `STOPPED`, `REBOOTING`, `SNAPSHOTTING`, `DELETING`, `FAILED`, `UPDATING`, `PENDING_QUALIFICATION`
-
tags
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- Map of tags to assign to the instance. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
-
tagsAll
public com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll()
- Returns:
- Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
-
vpcConfig
public com.pulumi.core.Output<ImageBuilderVpcConfig> vpcConfig()
- Returns:
- Configuration block for the VPC configuration for the image builder. See below.
-
get
public static ImageBuilder get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable ImageBuilderState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.state
-options
- Optional settings to control the behavior of the CustomResource.
-
-