Show / Hide Table of Contents

Class CfnRegistryPolicy

The AWS::ECR::RegistryPolicy resource creates or updates the permissions policy for a private registry.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnRegistryPolicy
Implements
IInspectable
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.ECR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRegistryPolicy : CfnResource, IInspectable
Syntax (vb)
Public Class CfnRegistryPolicy Inherits CfnResource Implements IInspectable
Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-registrypolicy.html

CloudformationResource: AWS::ECR::RegistryPolicy

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.ECR;

             var policyText;

             var cfnRegistryPolicy = new CfnRegistryPolicy(this, "MyCfnRegistryPolicy", new CfnRegistryPolicyProps {
                 PolicyText = policyText
             });

Synopsis

Constructors

CfnRegistryPolicy(Construct, string, ICfnRegistryPolicyProps)

The AWS::ECR::RegistryPolicy resource creates or updates the permissions policy for a private registry.

Properties

AttrRegistryId

The account ID of the private registry the policy is associated with.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties

The AWS::ECR::RegistryPolicy resource creates or updates the permissions policy for a private registry.

PolicyText

The JSON policy text for your registry.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

RenderProperties(IDictionary<string, object>)

The AWS::ECR::RegistryPolicy resource creates or updates the permissions policy for a private registry.

Constructors

CfnRegistryPolicy(Construct, string, ICfnRegistryPolicyProps)

The AWS::ECR::RegistryPolicy resource creates or updates the permissions policy for a private registry.

public CfnRegistryPolicy(Construct scope, string id, ICfnRegistryPolicyProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnRegistryPolicyProps

Resource properties.

Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-registrypolicy.html

CloudformationResource: AWS::ECR::RegistryPolicy

ExampleMetadata: fixture=_generated

Properties

AttrRegistryId

The account ID of the private registry the policy is associated with.

public virtual string AttrRegistryId { get; }
Property Value

string

Remarks

CloudformationAttribute: RegistryId

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

string

Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-registrypolicy.html

CloudformationResource: AWS::ECR::RegistryPolicy

ExampleMetadata: fixture=_generated

CfnProperties

The AWS::ECR::RegistryPolicy resource creates or updates the permissions policy for a private registry.

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-registrypolicy.html

CloudformationResource: AWS::ECR::RegistryPolicy

ExampleMetadata: fixture=_generated

PolicyText

The JSON policy text for your registry.

public virtual object PolicyText { get; set; }
Property Value

object

Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-registrypolicy.html

CloudformationResource: AWS::ECR::RegistryPolicy

ExampleMetadata: fixture=_generated

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

public virtual void Inspect(TreeInspector inspector)
Parameters
inspector TreeInspector

tree inspector to collect and process attributes.

Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-registrypolicy.html

CloudformationResource: AWS::ECR::RegistryPolicy

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

The AWS::ECR::RegistryPolicy resource creates or updates the permissions policy for a private registry.

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-registrypolicy.html

CloudformationResource: AWS::ECR::RegistryPolicy

ExampleMetadata: fixture=_generated

Implements

IInspectable
Back to top Generated by DocFX