All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.appstream.kotlin.outputs.GetImageBuilderResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.appstream.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property accessEndpoints The list of virtual private cloud (VPC) interface endpoint objects. Administrators can connect to the image builder only through the specified endpoints.
 * @property appstreamAgentVersion 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].
 * @property description The description to display.
 * @property displayName The image builder name to display.
 * @property domainJoinInfo The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.
 * @property enableDefaultInternetAccess Enables or disables default internet access for the image builder.
 * @property iamRoleArn The ARN of the IAM role that is applied to the image builder. 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](https://docs.aws.amazon.com/appstream2/latest/developerguide/using-iam-roles-to-grant-permissions-to-applications-scripts-streaming-instances.html) in the *Amazon AppStream 2.0 Administration Guide* .
 * @property imageArn The ARN of the public, private, or shared image to use.
 * @property imageName The name of the image used to create the image builder.
 * @property instanceType The instance type to use when launching the image builder. The following instance types are available:
 * - stream.standard.small
 * - stream.standard.medium
 * - stream.standard.large
 * - stream.compute.large
 * - stream.compute.xlarge
 * - stream.compute.2xlarge
 * - stream.compute.4xlarge
 * - stream.compute.8xlarge
 * - stream.memory.large
 * - stream.memory.xlarge
 * - stream.memory.2xlarge
 * - stream.memory.4xlarge
 * - stream.memory.8xlarge
 * - stream.memory.z1d.large
 * - stream.memory.z1d.xlarge
 * - stream.memory.z1d.2xlarge
 * - stream.memory.z1d.3xlarge
 * - stream.memory.z1d.6xlarge
 * - stream.memory.z1d.12xlarge
 * - stream.graphics-design.large
 * - stream.graphics-design.xlarge
 * - stream.graphics-design.2xlarge
 * - stream.graphics-design.4xlarge
 * - stream.graphics-desktop.2xlarge
 * - stream.graphics.g4dn.xlarge
 * - stream.graphics.g4dn.2xlarge
 * - stream.graphics.g4dn.4xlarge
 * - stream.graphics.g4dn.8xlarge
 * - stream.graphics.g4dn.12xlarge
 * - stream.graphics.g4dn.16xlarge
 * - stream.graphics-pro.4xlarge
 * - stream.graphics-pro.8xlarge
 * - stream.graphics-pro.16xlarge
 * @property name A unique name for the image builder.
 * @property streamingUrl The URL to start an image builder streaming session, returned as a string.
 * @property tags An array of key-value pairs.
 * @property vpcConfig The VPC configuration for the image builder. You can specify only one subnet.
 */
public data class GetImageBuilderResult(
    public val accessEndpoints: List? = null,
    public val appstreamAgentVersion: String? = null,
    public val description: String? = null,
    public val displayName: String? = null,
    public val domainJoinInfo: ImageBuilderDomainJoinInfo? = null,
    public val enableDefaultInternetAccess: Boolean? = null,
    public val iamRoleArn: String? = null,
    public val imageArn: String? = null,
    public val imageName: String? = null,
    public val instanceType: String? = null,
    public val name: String? = null,
    public val streamingUrl: String? = null,
    public val tags: List? = null,
    public val vpcConfig: ImageBuilderVpcConfig? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.appstream.outputs.GetImageBuilderResult): GetImageBuilderResult = GetImageBuilderResult(
            accessEndpoints = javaType.accessEndpoints().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appstream.kotlin.outputs.ImageBuilderAccessEndpoint.Companion.toKotlin(args0)
                })
            }),
            appstreamAgentVersion = javaType.appstreamAgentVersion().map({ args0 -> args0 }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            displayName = javaType.displayName().map({ args0 -> args0 }).orElse(null),
            domainJoinInfo = javaType.domainJoinInfo().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appstream.kotlin.outputs.ImageBuilderDomainJoinInfo.Companion.toKotlin(args0)
                })
            }).orElse(null),
            enableDefaultInternetAccess = javaType.enableDefaultInternetAccess().map({ args0 ->
                args0
            }).orElse(null),
            iamRoleArn = javaType.iamRoleArn().map({ args0 -> args0 }).orElse(null),
            imageArn = javaType.imageArn().map({ args0 -> args0 }).orElse(null),
            imageName = javaType.imageName().map({ args0 -> args0 }).orElse(null),
            instanceType = javaType.instanceType().map({ args0 -> args0 }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            streamingUrl = javaType.streamingUrl().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            vpcConfig = javaType.vpcConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appstream.kotlin.outputs.ImageBuilderVpcConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy