![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.cloudfront.kotlin.inputs.ResponseHeadersPolicyAccessControlAllowMethodsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cloudfront.kotlin.inputs
import com.pulumi.awsnative.cloudfront.inputs.ResponseHeadersPolicyAccessControlAllowMethodsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property items The list of HTTP methods. Valid values are:
* - `GET`
* - `DELETE`
* - `HEAD`
* - `OPTIONS`
* - `PATCH`
* - `POST`
* - `PUT`
* - `ALL`
* `ALL` is a special value that includes all of the listed HTTP methods.
*/
public data class ResponseHeadersPolicyAccessControlAllowMethodsArgs(
public val items: Output>,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.cloudfront.inputs.ResponseHeadersPolicyAccessControlAllowMethodsArgs =
com.pulumi.awsnative.cloudfront.inputs.ResponseHeadersPolicyAccessControlAllowMethodsArgs.builder()
.items(items.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [ResponseHeadersPolicyAccessControlAllowMethodsArgs].
*/
@PulumiTagMarker
public class ResponseHeadersPolicyAccessControlAllowMethodsArgsBuilder internal constructor() {
private var items: Output>? = null
/**
* @param value The list of HTTP methods. Valid values are:
* - `GET`
* - `DELETE`
* - `HEAD`
* - `OPTIONS`
* - `PATCH`
* - `POST`
* - `PUT`
* - `ALL`
* `ALL` is a special value that includes all of the listed HTTP methods.
*/
@JvmName("kgsfjygpgaocwsfs")
public suspend fun items(`value`: Output>) {
this.items = value
}
@JvmName("onfopaaroxbfuhoo")
public suspend fun items(vararg values: Output) {
this.items = Output.all(values.asList())
}
/**
* @param values The list of HTTP methods. Valid values are:
* - `GET`
* - `DELETE`
* - `HEAD`
* - `OPTIONS`
* - `PATCH`
* - `POST`
* - `PUT`
* - `ALL`
* `ALL` is a special value that includes all of the listed HTTP methods.
*/
@JvmName("lipwrijltsaaceyt")
public suspend fun items(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy