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

com.pulumi.awsnative.mediatailor.kotlin.inputs.SourceLocationAccessConfigurationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.mediatailor.kotlin.inputs

import com.pulumi.awsnative.mediatailor.inputs.SourceLocationAccessConfigurationArgs.builder
import com.pulumi.awsnative.mediatailor.kotlin.enums.SourceLocationAccessType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * 

Access configuration parameters.

* @property accessType The type of authentication used to access content from `HttpConfiguration::BaseUrl` on your source location. Accepted value: `S3_SIGV4` . * `S3_SIGV4` - AWS Signature Version 4 authentication for Amazon S3 hosted virtual-style access. If your source location base URL is an Amazon S3 bucket, MediaTailor can use AWS Signature Version 4 (SigV4) authentication to access the bucket where your source content is stored. Your MediaTailor source location baseURL must follow the S3 virtual hosted-style request URL format. For example, https://bucket-name.s3.Region.amazonaws.com/key-name. * Before you can use `S3_SIGV4` , you must meet these requirements: * • You must allow MediaTailor to access your S3 bucket by granting mediatailor.amazonaws.com principal access in IAM. For information about configuring access in IAM, see Access management in the IAM User Guide. * • The mediatailor.amazonaws.com service principal must have permissions to read all top level manifests referenced by the VodSource packaging configurations. * • The caller of the API must have s3:GetObject IAM permissions to read all top level manifests referenced by your MediaTailor VodSource packaging configurations. * @property secretsManagerAccessTokenConfiguration AWS Secrets Manager access token configuration parameters. */ public data class SourceLocationAccessConfigurationArgs( public val accessType: Output? = null, public val secretsManagerAccessTokenConfiguration: Output? = null, ) : ConvertibleToJava { override fun toJava(): com.pulumi.awsnative.mediatailor.inputs.SourceLocationAccessConfigurationArgs = com.pulumi.awsnative.mediatailor.inputs.SourceLocationAccessConfigurationArgs.builder() .accessType(accessType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })) .secretsManagerAccessTokenConfiguration( secretsManagerAccessTokenConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }), ).build() } /** * Builder for [SourceLocationAccessConfigurationArgs]. */ @PulumiTagMarker public class SourceLocationAccessConfigurationArgsBuilder internal constructor() { private var accessType: Output? = null private var secretsManagerAccessTokenConfiguration: Output? = null /** * @param value The type of authentication used to access content from `HttpConfiguration::BaseUrl` on your source location. Accepted value: `S3_SIGV4` . * `S3_SIGV4` - AWS Signature Version 4 authentication for Amazon S3 hosted virtual-style access. If your source location base URL is an Amazon S3 bucket, MediaTailor can use AWS Signature Version 4 (SigV4) authentication to access the bucket where your source content is stored. Your MediaTailor source location baseURL must follow the S3 virtual hosted-style request URL format. For example, https://bucket-name.s3.Region.amazonaws.com/key-name. * Before you can use `S3_SIGV4` , you must meet these requirements: * • You must allow MediaTailor to access your S3 bucket by granting mediatailor.amazonaws.com principal access in IAM. For information about configuring access in IAM, see Access management in the IAM User Guide. * • The mediatailor.amazonaws.com service principal must have permissions to read all top level manifests referenced by the VodSource packaging configurations. * • The caller of the API must have s3:GetObject IAM permissions to read all top level manifests referenced by your MediaTailor VodSource packaging configurations. */ @JvmName("xnppxxlgqgxjukcv") public suspend fun accessType(`value`: Output) { this.accessType = value } /** * @param value AWS Secrets Manager access token configuration parameters. */ @JvmName("oucvjfymynrgdjuv") public suspend fun secretsManagerAccessTokenConfiguration(`value`: Output) { this.secretsManagerAccessTokenConfiguration = value } /** * @param value The type of authentication used to access content from `HttpConfiguration::BaseUrl` on your source location. Accepted value: `S3_SIGV4` . * `S3_SIGV4` - AWS Signature Version 4 authentication for Amazon S3 hosted virtual-style access. If your source location base URL is an Amazon S3 bucket, MediaTailor can use AWS Signature Version 4 (SigV4) authentication to access the bucket where your source content is stored. Your MediaTailor source location baseURL must follow the S3 virtual hosted-style request URL format. For example, https://bucket-name.s3.Region.amazonaws.com/key-name. * Before you can use `S3_SIGV4` , you must meet these requirements: * • You must allow MediaTailor to access your S3 bucket by granting mediatailor.amazonaws.com principal access in IAM. For information about configuring access in IAM, see Access management in the IAM User Guide. * • The mediatailor.amazonaws.com service principal must have permissions to read all top level manifests referenced by the VodSource packaging configurations. * • The caller of the API must have s3:GetObject IAM permissions to read all top level manifests referenced by your MediaTailor VodSource packaging configurations. */ @JvmName("kbdtibnuxhsljudp") public suspend fun accessType(`value`: SourceLocationAccessType?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.accessType = mapped } /** * @param value AWS Secrets Manager access token configuration parameters. */ @JvmName("qtloiwwqlcstbwof") public suspend fun secretsManagerAccessTokenConfiguration(`value`: SourceLocationSecretsManagerAccessTokenConfigurationArgs?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.secretsManagerAccessTokenConfiguration = mapped } /** * @param argument AWS Secrets Manager access token configuration parameters. */ @JvmName("pitgduftbyehmcek") public suspend fun secretsManagerAccessTokenConfiguration(argument: suspend SourceLocationSecretsManagerAccessTokenConfigurationArgsBuilder.() -> Unit) { val toBeMapped = SourceLocationSecretsManagerAccessTokenConfigurationArgsBuilder().applySuspend { argument() }.build() val mapped = of(toBeMapped) this.secretsManagerAccessTokenConfiguration = mapped } internal fun build(): SourceLocationAccessConfigurationArgs = SourceLocationAccessConfigurationArgs( accessType = accessType, secretsManagerAccessTokenConfiguration = secretsManagerAccessTokenConfiguration, ) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy