Interface ICfnPublicRepositoryProps
Properties for defining a CfnPublicRepository
.
Namespace: Amazon.CDK.AWS.ECR
Assembly: Amazon.CDK.AWS.ECR.dll
Syntax (csharp)
public interface ICfnPublicRepositoryProps
Syntax (vb)
Public Interface ICfnPublicRepositoryProps
Remarks
Link: 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
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. |
Properties
RepositoryCatalogData
The details about the repository that are publicly visible in the Amazon ECR Public Gallery.
virtual object RepositoryCatalogData { get; }
Property Value
System.Object
Remarks
For more information, see Amazon ECR Public repository catalog data in the Amazon ECR Public User Guide .
RepositoryName
The name to use for the public repository.
virtual string RepositoryName { get; }
Property Value
System.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.
RepositoryPolicyText
The JSON repository policy text to apply to the public repository.
virtual object RepositoryPolicyText { get; }
Property Value
System.Object
Remarks
For more information, see Amazon ECR Public repository policies in the Amazon ECR Public User Guide .
Tags
An array of key-value pairs to apply to this resource.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]