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

com.pulumi.awsnative.cloudfront.kotlin.outputs.GetCloudFrontOriginAccessIdentityResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.cloudfront.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property cloudFrontOriginAccessIdentityConfig The current configuration information for the identity.
 * @property id The ID for the origin access identity, for example, `E74FTE3AJFJ256A` .
 * @property s3CanonicalUserId The Amazon S3 canonical user ID for the origin access identity, used when giving the origin access identity read permission to an object in Amazon S3. For example: `b970b42360b81c8ddbd79d2f5df0069ba9033c8a79655752abe380cd6d63ba8bcf23384d568fcf89fc49700b5e11a0fd` .
 */
public data class GetCloudFrontOriginAccessIdentityResult(
    public val cloudFrontOriginAccessIdentityConfig: CloudFrontOriginAccessIdentityConfig? = null,
    public val id: String? = null,
    public val s3CanonicalUserId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.cloudfront.outputs.GetCloudFrontOriginAccessIdentityResult): GetCloudFrontOriginAccessIdentityResult = GetCloudFrontOriginAccessIdentityResult(
            cloudFrontOriginAccessIdentityConfig = javaType.cloudFrontOriginAccessIdentityConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.cloudfront.kotlin.outputs.CloudFrontOriginAccessIdentityConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            s3CanonicalUserId = javaType.s3CanonicalUserId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy