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

com.pulumi.awsnative.s3objectlambda.kotlin.outputs.GetAccessPointResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.s3objectlambda.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property alias
 * @property arn Specifies the ARN for the Object Lambda Access Point.
 * @property creationDate The date and time when the Object lambda Access Point was created.
 * @property objectLambdaConfiguration The Object lambda Access Point Configuration that configures transformations to be applied on the objects on specified S3 Actions
 * @property policyStatus
 * @property publicAccessBlockConfiguration The PublicAccessBlock configuration that you want to apply to this Access Point. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status 'The Meaning of Public' in the Amazon Simple Storage Service Developer Guide.
 */
public data class GetAccessPointResult(
    public val alias: AccessPointAlias? = null,
    public val arn: String? = null,
    public val creationDate: String? = null,
    public val objectLambdaConfiguration: AccessPointObjectLambdaConfiguration? = null,
    public val policyStatus: AccessPointPolicyStatus? = null,
    public val publicAccessBlockConfiguration: AccessPointPublicAccessBlockConfiguration? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.s3objectlambda.outputs.GetAccessPointResult): GetAccessPointResult = GetAccessPointResult(
            alias = javaType.alias().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.s3objectlambda.kotlin.outputs.AccessPointAlias.Companion.toKotlin(args0)
                })
            }).orElse(null),
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            creationDate = javaType.creationDate().map({ args0 -> args0 }).orElse(null),
            objectLambdaConfiguration = javaType.objectLambdaConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.s3objectlambda.kotlin.outputs.AccessPointObjectLambdaConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            policyStatus = javaType.policyStatus().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.s3objectlambda.kotlin.outputs.AccessPointPolicyStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            publicAccessBlockConfiguration = javaType.publicAccessBlockConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.s3objectlambda.kotlin.outputs.AccessPointPublicAccessBlockConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy