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

com.pulumi.awsnative.ssm.kotlin.outputs.GetResourcePolicyResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@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