Class CfnPublicRepositoryMixinProps
Properties for CfnPublicRepositoryPropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.ECR.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnPublicRepositoryMixinProps : ICfnPublicRepositoryMixinProps
Syntax (vb)
Public Class CfnPublicRepositoryMixinProps Implements ICfnPublicRepositoryMixinProps
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.Mixins.Preview.AWS.ECR.Mixins;
var repositoryCatalogData;
var repositoryPolicyText;
var cfnPublicRepositoryMixinProps = new CfnPublicRepositoryMixinProps {
RepositoryCatalogData = repositoryCatalogData,
RepositoryName = "repositoryName",
RepositoryPolicyText = repositoryPolicyText,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnPublicRepositoryMixinProps() | Properties for CfnPublicRepositoryPropsMixin. |
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
CfnPublicRepositoryMixinProps()
Properties for CfnPublicRepositoryPropsMixin.
public CfnPublicRepositoryMixinProps()
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.Mixins.Preview.AWS.ECR.Mixins;
var repositoryCatalogData;
var repositoryPolicyText;
var cfnPublicRepositoryMixinProps = new CfnPublicRepositoryMixinProps {
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
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.
public string? RepositoryName { get; set; }
Property Value
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.
public object? RepositoryPolicyText { get; set; }
Property Value
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.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]