Show / Hide Table of Contents

Class CfnPublicRepositoryProps

Properties for defining a CfnPublicRepository.

Inheritance
object
CfnPublicRepositoryProps
Implements
ICfnPublicRepositoryProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.ECR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPublicRepositoryProps : ICfnPublicRepositoryProps
Syntax (vb)
Public Class CfnPublicRepositoryProps Implements ICfnPublicRepositoryProps
Remarks

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

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 repositoryCatalogData;
             var repositoryPolicyText;

             var cfnPublicRepositoryProps = new CfnPublicRepositoryProps {
                 RepositoryCatalogData = repositoryCatalogData,
                 RepositoryName = "repositoryName",
                 RepositoryPolicyText = repositoryPolicyText,
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Constructors

CfnPublicRepositoryProps()

Properties for defining a CfnPublicRepository.

Properties

RepositoryCatalogData

The details about the repository that are publicly visible in the Amazon ECR Public Gallery.

RepositoryName

The name to use for the public repository.

RepositoryPolicyText

The JSON repository policy text to apply to the public repository.

Tags

An array of key-value pairs to apply to this resource.

Constructors

CfnPublicRepositoryProps()

Properties for defining a CfnPublicRepository.

public CfnPublicRepositoryProps()
Remarks

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

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 repositoryCatalogData;
             var repositoryPolicyText;

             var cfnPublicRepositoryProps = new CfnPublicRepositoryProps {
                 RepositoryCatalogData = repositoryCatalogData,
                 RepositoryName = "repositoryName",
                 RepositoryPolicyText = repositoryPolicyText,
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Properties

RepositoryCatalogData

The details about the repository that are publicly visible in the Amazon ECR Public Gallery.

public object? RepositoryCatalogData { get; set; }
Property Value

object

Remarks

For more information, see Amazon ECR Public repository catalog data in the Amazon ECR Public User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-publicrepository.html#cfn-ecr-publicrepository-repositorycatalogdata

RepositoryName

The name to use for the public repository.

public string? RepositoryName { get; set; }
Property Value

string

Remarks

The repository name may be specified on its own (such as nginx-web-app ) or it can be prepended with a namespace to group the repository into a category (such as project-a/nginx-web-app ). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the repository name. For more information, see Name Type .

If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-publicrepository.html#cfn-ecr-publicrepository-repositoryname

RepositoryPolicyText

The JSON repository policy text to apply to the public repository.

public object? RepositoryPolicyText { get; set; }
Property Value

object

Remarks

For more information, see Amazon ECR Public repository policies in the Amazon ECR Public User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-publicrepository.html#cfn-ecr-publicrepository-repositorypolicytext

Tags

An array of key-value pairs to apply to this resource.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-publicrepository.html#cfn-ecr-publicrepository-tags

Implements

ICfnPublicRepositoryProps
Back to top Generated by DocFX