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

com.pulumi.awsnative.eventschemas.kotlin.outputs.GetRegistryPolicyResult.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.eventschemas.kotlin.outputs

import kotlin.Any
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property id The ID of the policy.
 * @property policy A resource-based policy.
 * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::EventSchemas::RegistryPolicy` for more information about the expected schema for this property.
 * @property registryName The name of the registry.
 * @property revisionId The revision ID of the policy.
 */
public data class GetRegistryPolicyResult(
    public val id: String? = null,
    public val policy: Any? = null,
    public val registryName: String? = null,
    public val revisionId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.eventschemas.outputs.GetRegistryPolicyResult): GetRegistryPolicyResult = GetRegistryPolicyResult(
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            policy = javaType.policy().map({ args0 -> args0 }).orElse(null),
            registryName = javaType.registryName().map({ args0 -> args0 }).orElse(null),
            revisionId = javaType.revisionId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy