RegistryPolicyArgs

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

The AWS::ECR::RegistryPolicy 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: https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html

Example Usage

Example

No Java example available.

Constructors

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

Functions

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

Properties

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

The JSON policy text to apply to your registry. The policy text follows the same format as IAM policy text. For more information, see Registry permissions (https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html) in the Amazon Elastic Container Registry User Guide.