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

com.pulumi.awsnative.mediapackagev2.kotlin.OriginEndpointPolicyArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.mediapackagev2.kotlin

import com.pulumi.awsnative.mediapackagev2.OriginEndpointPolicyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * 

Represents a resource policy that allows or denies access to an origin endpoint.

* @property channelGroupName The name of the channel group associated with the origin endpoint policy. * @property channelName The channel name associated with the origin endpoint policy. * @property originEndpointName The name of the origin endpoint associated with the origin endpoint policy. * @property policy The policy associated with the origin endpoint. * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::MediaPackageV2::OriginEndpointPolicy` for more information about the expected schema for this property. */ public data class OriginEndpointPolicyArgs( public val channelGroupName: Output? = null, public val channelName: Output? = null, public val originEndpointName: Output? = null, public val policy: Output? = null, ) : ConvertibleToJava { override fun toJava(): com.pulumi.awsnative.mediapackagev2.OriginEndpointPolicyArgs = com.pulumi.awsnative.mediapackagev2.OriginEndpointPolicyArgs.builder() .channelGroupName(channelGroupName?.applyValue({ args0 -> args0 })) .channelName(channelName?.applyValue({ args0 -> args0 })) .originEndpointName(originEndpointName?.applyValue({ args0 -> args0 })) .policy(policy?.applyValue({ args0 -> args0 })).build() } /** * Builder for [OriginEndpointPolicyArgs]. */ @PulumiTagMarker public class OriginEndpointPolicyArgsBuilder internal constructor() { private var channelGroupName: Output? = null private var channelName: Output? = null private var originEndpointName: Output? = null private var policy: Output? = null /** * @param value The name of the channel group associated with the origin endpoint policy. */ @JvmName("saaokgxlekwfmkxi") public suspend fun channelGroupName(`value`: Output) { this.channelGroupName = value } /** * @param value The channel name associated with the origin endpoint policy. */ @JvmName("ekvhantlepqhyvcv") public suspend fun channelName(`value`: Output) { this.channelName = value } /** * @param value The name of the origin endpoint associated with the origin endpoint policy. */ @JvmName("kmrbdeunwvclaaeb") public suspend fun originEndpointName(`value`: Output) { this.originEndpointName = value } /** * @param value The policy associated with the origin endpoint. * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::MediaPackageV2::OriginEndpointPolicy` for more information about the expected schema for this property. */ @JvmName("mhvtnwenhtkjepwx") public suspend fun policy(`value`: Output) { this.policy = value } /** * @param value The name of the channel group associated with the origin endpoint policy. */ @JvmName("rmkufhkupengvkqf") public suspend fun channelGroupName(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.channelGroupName = mapped } /** * @param value The channel name associated with the origin endpoint policy. */ @JvmName("jlavofuxmylijmor") public suspend fun channelName(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.channelName = mapped } /** * @param value The name of the origin endpoint associated with the origin endpoint policy. */ @JvmName("ufkwloktqkkkkwdp") public suspend fun originEndpointName(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.originEndpointName = mapped } /** * @param value The policy associated with the origin endpoint. * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::MediaPackageV2::OriginEndpointPolicy` for more information about the expected schema for this property. */ @JvmName("rqidjrwajocryhkb") public suspend fun policy(`value`: Any?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.policy = mapped } internal fun build(): OriginEndpointPolicyArgs = OriginEndpointPolicyArgs( channelGroupName = channelGroupName, channelName = channelName, originEndpointName = originEndpointName, policy = policy, ) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy