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

com.pulumi.awsnative.imagebuilder.kotlin.outputs.GetImageResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.imagebuilder.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property arn The Amazon Resource Name (ARN) of the image.
 * @property executionRole The execution role name/ARN for the image build, if provided
 * @property imageId The AMI ID of the EC2 AMI in current region.
 * @property imageUri URI for containers created in current Region with default ECR image tag
 * @property name The name of the image.
 */
public data class GetImageResult(
    public val arn: String? = null,
    public val executionRole: String? = null,
    public val imageId: String? = null,
    public val imageUri: String? = null,
    public val name: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.imagebuilder.outputs.GetImageResult): GetImageResult = GetImageResult(
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            executionRole = javaType.executionRole().map({ args0 -> args0 }).orElse(null),
            imageId = javaType.imageId().map({ args0 -> args0 }).orElse(null),
            imageUri = javaType.imageUri().map({ args0 -> args0 }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy