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

com.pulumi.awsnative.ecr.kotlin.outputs.GetRegistryPolicyResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ecr.kotlin.outputs

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

/**
 *
 * @property policyText The JSON policy text for your registry.
 * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::ECR::RegistryPolicy` for more information about the expected schema for this property.
 * @property registryId The account ID of the private registry the policy is associated with.
 */
public data class GetRegistryPolicyResult(
    public val policyText: Any? = null,
    public val registryId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ecr.outputs.GetRegistryPolicyResult): GetRegistryPolicyResult = GetRegistryPolicyResult(
            policyText = javaType.policyText().map({ args0 -> args0 }).orElse(null),
            registryId = javaType.registryId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy