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

com.pulumi.aws.elastictranscoder.kotlin.inputs.PipelineThumbnailConfigPermissionArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.elastictranscoder.kotlin.inputs

import com.pulumi.aws.elastictranscoder.inputs.PipelineThumbnailConfigPermissionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property accesses The permission that you want to give to the AWS user that you specified in `thumbnail_config_permissions.grantee`. Valid values are `Read`, `ReadAcp`, `WriteAcp` or `FullControl`.
 * @property grantee The AWS user or group that you want to have access to thumbnail files.
 * @property granteeType Specify the type of value that appears in the `thumbnail_config_permissions.grantee` object. Valid values are `Canonical`, `Email` or `Group`.
 */
public data class PipelineThumbnailConfigPermissionArgs(
    public val accesses: Output>? = null,
    public val grantee: Output? = null,
    public val granteeType: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.elastictranscoder.inputs.PipelineThumbnailConfigPermissionArgs =
        com.pulumi.aws.elastictranscoder.inputs.PipelineThumbnailConfigPermissionArgs.builder()
            .accesses(accesses?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .grantee(grantee?.applyValue({ args0 -> args0 }))
            .granteeType(granteeType?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PipelineThumbnailConfigPermissionArgs].
 */
@PulumiTagMarker
public class PipelineThumbnailConfigPermissionArgsBuilder internal constructor() {
    private var accesses: Output>? = null

    private var grantee: Output? = null

    private var granteeType: Output? = null

    /**
     * @param value The permission that you want to give to the AWS user that you specified in `thumbnail_config_permissions.grantee`. Valid values are `Read`, `ReadAcp`, `WriteAcp` or `FullControl`.
     */
    @JvmName("bcnriktiisxbgtpf")
    public suspend fun accesses(`value`: Output>) {
        this.accesses = value
    }

    @JvmName("ulumttkioopkobpm")
    public suspend fun accesses(vararg values: Output) {
        this.accesses = Output.all(values.asList())
    }

    /**
     * @param values The permission that you want to give to the AWS user that you specified in `thumbnail_config_permissions.grantee`. Valid values are `Read`, `ReadAcp`, `WriteAcp` or `FullControl`.
     */
    @JvmName("fgvynhtofyykuppv")
    public suspend fun accesses(values: List>) {
        this.accesses = Output.all(values)
    }

    /**
     * @param value The AWS user or group that you want to have access to thumbnail files.
     */
    @JvmName("ttyhyeuftkmujbrl")
    public suspend fun grantee(`value`: Output) {
        this.grantee = value
    }

    /**
     * @param value Specify the type of value that appears in the `thumbnail_config_permissions.grantee` object. Valid values are `Canonical`, `Email` or `Group`.
     */
    @JvmName("edwulgbiinrnldtf")
    public suspend fun granteeType(`value`: Output) {
        this.granteeType = value
    }

    /**
     * @param value The permission that you want to give to the AWS user that you specified in `thumbnail_config_permissions.grantee`. Valid values are `Read`, `ReadAcp`, `WriteAcp` or `FullControl`.
     */
    @JvmName("kvxthiymhmjfhgrl")
    public suspend fun accesses(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accesses = mapped
    }

    /**
     * @param values The permission that you want to give to the AWS user that you specified in `thumbnail_config_permissions.grantee`. Valid values are `Read`, `ReadAcp`, `WriteAcp` or `FullControl`.
     */
    @JvmName("gvmpdmrsxmapvujc")
    public suspend fun accesses(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.accesses = mapped
    }

    /**
     * @param value The AWS user or group that you want to have access to thumbnail files.
     */
    @JvmName("dbiyddbhhunxwxcl")
    public suspend fun grantee(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.grantee = mapped
    }

    /**
     * @param value Specify the type of value that appears in the `thumbnail_config_permissions.grantee` object. Valid values are `Canonical`, `Email` or `Group`.
     */
    @JvmName("gvvhvuuulrvxaxrj")
    public suspend fun granteeType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.granteeType = mapped
    }

    internal fun build(): PipelineThumbnailConfigPermissionArgs =
        PipelineThumbnailConfigPermissionArgs(
            accesses = accesses,
            grantee = grantee,
            granteeType = granteeType,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy