Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.appstream.kotlin
import com.pulumi.aws.appstream.ImageBuilderArgs.builder
import com.pulumi.aws.appstream.kotlin.inputs.ImageBuilderAccessEndpointArgs
import com.pulumi.aws.appstream.kotlin.inputs.ImageBuilderAccessEndpointArgsBuilder
import com.pulumi.aws.appstream.kotlin.inputs.ImageBuilderDomainJoinInfoArgs
import com.pulumi.aws.appstream.kotlin.inputs.ImageBuilderDomainJoinInfoArgsBuilder
import com.pulumi.aws.appstream.kotlin.inputs.ImageBuilderVpcConfigArgs
import com.pulumi.aws.appstream.kotlin.inputs.ImageBuilderVpcConfigArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* Provides an AppStream image builder.
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
* const testFleet = new aws.appstream.ImageBuilder("test_fleet", {
* name: "Name",
* description: "Description of a ImageBuilder",
* displayName: "Display name of a ImageBuilder",
* enableDefaultInternetAccess: false,
* imageName: "AppStream-WinServer2019-10-05-2022",
* instanceType: "stream.standard.large",
* vpcConfig: {
* subnetIds: [example.id],
* },
* tags: {
* Name: "Example Image Builder",
* },
* });
* ```
* ```python
* import pulumi
* import pulumi_aws as aws
* test_fleet = aws.appstream.ImageBuilder("test_fleet",
* name="Name",
* description="Description of a ImageBuilder",
* display_name="Display name of a ImageBuilder",
* enable_default_internet_access=False,
* image_name="AppStream-WinServer2019-10-05-2022",
* instance_type="stream.standard.large",
* vpc_config={
* "subnet_ids": [example["id"]],
* },
* tags={
* "Name": "Example Image Builder",
* })
* ```
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using Aws = Pulumi.Aws;
* return await Deployment.RunAsync(() =>
* {
* var testFleet = new Aws.AppStream.ImageBuilder("test_fleet", new()
* {
* Name = "Name",
* Description = "Description of a ImageBuilder",
* DisplayName = "Display name of a ImageBuilder",
* EnableDefaultInternetAccess = false,
* ImageName = "AppStream-WinServer2019-10-05-2022",
* InstanceType = "stream.standard.large",
* VpcConfig = new Aws.AppStream.Inputs.ImageBuilderVpcConfigArgs
* {
* SubnetIds = new[]
* {
* example.Id,
* },
* },
* Tags =
* {
* { "Name", "Example Image Builder" },
* },
* });
* });
* ```
* ```go
* package main
* import (
* "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appstream"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* _, err := appstream.NewImageBuilder(ctx, "test_fleet", &appstream.ImageBuilderArgs{
* Name: pulumi.String("Name"),
* Description: pulumi.String("Description of a ImageBuilder"),
* DisplayName: pulumi.String("Display name of a ImageBuilder"),
* EnableDefaultInternetAccess: pulumi.Bool(false),
* ImageName: pulumi.String("AppStream-WinServer2019-10-05-2022"),
* InstanceType: pulumi.String("stream.standard.large"),
* VpcConfig: &appstream.ImageBuilderVpcConfigArgs{
* SubnetIds: pulumi.StringArray{
* example.Id,
* },
* },
* Tags: pulumi.StringMap{
* "Name": pulumi.String("Example Image Builder"),
* },
* })
* if err != nil {
* return err
* }
* return nil
* })
* }
* ```
* ```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()
* .name("Name")
* .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(example.id())
* .build())
* .tags(Map.of("Name", "Example Image Builder"))
* .build());
* }
* }
* ```
* ```yaml
* resources:
* testFleet:
* type: aws:appstream:ImageBuilder
* name: test_fleet
* properties:
* name: Name
* description: Description of a ImageBuilder
* displayName: Display name of a ImageBuilder
* enableDefaultInternetAccess: false
* imageName: AppStream-WinServer2019-10-05-2022
* instanceType: stream.standard.large
* vpcConfig:
* subnetIds:
* - ${example.id}
* tags:
* Name: Example Image Builder
* ```
*
* ## Import
* Using `pulumi import`, import `aws_appstream_image_builder` using the `name`. For example:
* ```sh
* $ pulumi import aws:appstream/imageBuilder:ImageBuilder example imageBuilderExample
* ```
* @property accessEndpoints Set of interface VPC endpoint (interface endpoint) objects. Maximum of 4. See below.
* @property appstreamAgentVersion Version of the AppStream 2.0 agent to use for this image builder.
* @property description Description to display.
* @property displayName Human-readable friendly name for the AppStream image builder.
* @property domainJoinInfo 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.
* @property enableDefaultInternetAccess Enables or disables default internet access for the image builder.
* @property iamRoleArn ARN of the IAM role to apply to the image builder.
* @property imageArn ARN of the public, private, or shared image to use.
* @property imageName Name of the image used to create the image builder.
* @property instanceType Instance type to use when launching the image builder.
* @property name Unique name for the image builder.
* The following arguments are optional:
* @property tags 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.
* @property vpcConfig Configuration block for the VPC configuration for the image builder. See below.
*/
public data class ImageBuilderArgs(
public val accessEndpoints: Output>? = null,
public val appstreamAgentVersion: Output? = null,
public val description: Output? = null,
public val displayName: Output? = null,
public val domainJoinInfo: Output? = null,
public val enableDefaultInternetAccess: Output? = null,
public val iamRoleArn: Output? = null,
public val imageArn: Output? = null,
public val imageName: Output? = null,
public val instanceType: Output? = null,
public val name: Output? = null,
public val tags: Output