Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.appconfig.kotlin
import com.pulumi.awsnative.appconfig.ConfigurationProfileArgs.builder
import com.pulumi.awsnative.appconfig.kotlin.inputs.ConfigurationProfileValidatorsArgs
import com.pulumi.awsnative.appconfig.kotlin.inputs.ConfigurationProfileValidatorsArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* An example resource schema demonstrating some basic constructs and validation rules.
* @property applicationId The application ID.
* @property description A description of the configuration profile.
* @property kmsKeyIdentifier The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.
* @property locationUri A URI to locate the configuration. You can specify the AWS AppConfig hosted configuration store, Systems Manager (SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object.
* @property name A name for the configuration profile.
* @property retrievalRoleArn The ARN of an IAM role with permission to access the configuration at the specified LocationUri.
* @property tags Metadata to assign to the configuration profile. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
* @property type The type of configurations contained in the profile. When calling this API, enter one of the following values for Type: AWS.AppConfig.FeatureFlags, AWS.Freeform
* @property validators A list of methods for validating the configuration.
*/
public data class ConfigurationProfileArgs(
public val applicationId: Output? = null,
public val description: Output? = null,
public val kmsKeyIdentifier: Output? = null,
public val locationUri: Output? = null,
public val name: Output? = null,
public val retrievalRoleArn: Output? = null,
public val tags: Output>? = null,
public val type: Output? = null,
public val validators: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.appconfig.ConfigurationProfileArgs =
com.pulumi.awsnative.appconfig.ConfigurationProfileArgs.builder()
.applicationId(applicationId?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.kmsKeyIdentifier(kmsKeyIdentifier?.applyValue({ args0 -> args0 }))
.locationUri(locationUri?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.retrievalRoleArn(retrievalRoleArn?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.type(type?.applyValue({ args0 -> args0 }))
.validators(
validators?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ConfigurationProfileArgs].
*/
@PulumiTagMarker
public class ConfigurationProfileArgsBuilder internal constructor() {
private var applicationId: Output? = null
private var description: Output? = null
private var kmsKeyIdentifier: Output? = null
private var locationUri: Output? = null
private var name: Output? = null
private var retrievalRoleArn: Output? = null
private var tags: Output>? = null
private var type: Output? = null
private var validators: Output>? = null
/**
* @param value The application ID.
*/
@JvmName("ohajmmbvgndseapv")
public suspend fun applicationId(`value`: Output) {
this.applicationId = value
}
/**
* @param value A description of the configuration profile.
*/
@JvmName("fbxcldxvcqvcorrx")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.
*/
@JvmName("oquakahgjdgfyftb")
public suspend fun kmsKeyIdentifier(`value`: Output) {
this.kmsKeyIdentifier = value
}
/**
* @param value A URI to locate the configuration. You can specify the AWS AppConfig hosted configuration store, Systems Manager (SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object.
*/
@JvmName("hdbgopakvasqngbv")
public suspend fun locationUri(`value`: Output) {
this.locationUri = value
}
/**
* @param value A name for the configuration profile.
*/
@JvmName("tnxvmgrgraxnfpsj")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The ARN of an IAM role with permission to access the configuration at the specified LocationUri.
*/
@JvmName("hmufajaixneyggri")
public suspend fun retrievalRoleArn(`value`: Output) {
this.retrievalRoleArn = value
}
/**
* @param value Metadata to assign to the configuration profile. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
*/
@JvmName("vfkaunpyebknwfrq")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("gwjctbtqooefdydp")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values Metadata to assign to the configuration profile. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
*/
@JvmName("gpwkdlsiendjvocl")
public suspend fun tags(values: List