
com.pulumi.awsnative.ssm.kotlin.outputs.GetResourcePolicyResult.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.ssm.kotlin.outputs
import kotlin.Any
import kotlin.String
import kotlin.Suppress
/**
*
* @property policy Actual policy statement.
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::SSM::ResourcePolicy` for more information about the expected schema for this property.
* @property policyHash A snapshot identifier for the policy over time.
* @property policyId An unique identifier within the policies of a resource.
*/
public data class GetResourcePolicyResult(
public val policy: Any? = null,
public val policyHash: String? = null,
public val policyId: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ssm.outputs.GetResourcePolicyResult): GetResourcePolicyResult = GetResourcePolicyResult(
policy = javaType.policy().map({ args0 -> args0 }).orElse(null),
policyHash = javaType.policyHash().map({ args0 -> args0 }).orElse(null),
policyId = javaType.policyId().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy