RegistryPolicyArgs

data class RegistryPolicyArgs(val policyText: Output<Any>? = null) : ConvertibleToJava<RegistryPolicyArgs>

The `AWS::ECR::RegistryPolicy` resource creates or updates the permissions policy for a private registry. A private registry policy is used to specify permissions for another AWS-account and is used when configuring cross-account replication. For more information, see Registry permissions in the Amazon Elastic Container Registry User Guide.

Example Usage

Example

No Java example available.

Constructors

Link copied to clipboard
constructor(policyText: Output<Any>? = null)

Properties

Link copied to clipboard
val policyText: Output<Any>? = null

The JSON policy text for your registry. Search the CloudFormation User Guide for AWS::ECR::RegistryPolicy for more information about the expected schema for this property.

Functions

Link copied to clipboard
open override fun toJava(): RegistryPolicyArgs