
com.pulumi.awsnative.appconfig.kotlin.outputs.GetConfigurationProfileResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.appconfig.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property configurationProfileId The configuration profile ID
* @property description A description of the configuration profile.
* @property kmsKeyArn The Amazon Resource Name of the AWS Key Management Service key to encrypt new configuration data versions in the AWS AppConfig hosted configuration store. This attribute is only used for hosted configuration types. To encrypt data managed in other configuration stores, see the documentation for how to specify an AWS KMS key for that particular service.
* @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 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 validators A list of methods for validating the configuration.
*/
public data class GetConfigurationProfileResult(
public val configurationProfileId: String? = null,
public val description: String? = null,
public val kmsKeyArn: String? = null,
public val kmsKeyIdentifier: String? = null,
public val name: String? = null,
public val retrievalRoleArn: String? = null,
public val tags: List? = null,
public val validators: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.appconfig.outputs.GetConfigurationProfileResult): GetConfigurationProfileResult = GetConfigurationProfileResult(
configurationProfileId = javaType.configurationProfileId().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
kmsKeyArn = javaType.kmsKeyArn().map({ args0 -> args0 }).orElse(null),
kmsKeyIdentifier = javaType.kmsKeyIdentifier().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
retrievalRoleArn = javaType.retrievalRoleArn().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
validators = javaType.validators().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.appconfig.kotlin.outputs.ConfigurationProfileValidators.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy