Class CfnRepositoryCreationTemplate
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.ecr.CfnRepositoryCreationTemplate
- All Implemented Interfaces:
IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:08.955Z")
@Stability(Stable)
public class CfnRepositoryCreationTemplate
extends CfnResource
implements IInspectable
The details of the repository creation template associated with the request.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ecr.*; CfnRepositoryCreationTemplate cfnRepositoryCreationTemplate = CfnRepositoryCreationTemplate.Builder.create(this, "MyCfnRepositoryCreationTemplate") .appliedFor(List.of("appliedFor")) .prefix("prefix") // the properties below are optional .customRoleArn("customRoleArn") .description("description") .encryptionConfiguration(EncryptionConfigurationProperty.builder() .encryptionType("encryptionType") // the properties below are optional .kmsKey("kmsKey") .build()) .imageTagMutability("imageTagMutability") .lifecyclePolicy("lifecyclePolicy") .repositoryPolicy("repositoryPolicy") .resourceTags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnRepositoryCreationTemplate
.static interface
The encryption configuration for the repository.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnRepositoryCreationTemplate
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnRepositoryCreationTemplate
(software.amazon.jsii.JsiiObjectRef objRef) CfnRepositoryCreationTemplate
(software.constructs.Construct scope, String id, CfnRepositoryCreationTemplateProps props) -
Method Summary
Modifier and TypeMethodDescriptionA list of enumerable Strings representing the repository creation scenarios that this template will apply towards.The date and time, in JavaScript date format, when the repository creation template was created.The date and time, in JavaScript date format, when the repository creation template was last updated.The ARN of the role to be assumed by Amazon ECR.The description associated with the repository creation template.The encryption configuration associated with the repository creation template.The tag mutability setting for the repository.The lifecycle policy to use for repositories created using the template.The repository namespace prefix associated with the repository creation template.he repository policy to apply to repositories created using the template.The metadata to apply to the repository to help you categorize and organize.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAppliedFor
(List<String> value) A list of enumerable Strings representing the repository creation scenarios that this template will apply towards.void
setCustomRoleArn
(String value) The ARN of the role to be assumed by Amazon ECR.void
setDescription
(String value) The description associated with the repository creation template.void
The encryption configuration associated with the repository creation template.void
The encryption configuration associated with the repository creation template.void
setImageTagMutability
(String value) The tag mutability setting for the repository.void
setLifecyclePolicy
(String value) The lifecycle policy to use for repositories created using the template.void
The repository namespace prefix associated with the repository creation template.void
setRepositoryPolicy
(String value) he repository policy to apply to repositories created using the template.void
setResourceTags
(List<Object> value) The metadata to apply to the repository to help you categorize and organize.void
setResourceTags
(IResolvable value) The metadata to apply to the repository to help you categorize and organize.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnRepositoryCreationTemplate
protected CfnRepositoryCreationTemplate(software.amazon.jsii.JsiiObjectRef objRef) -
CfnRepositoryCreationTemplate
protected CfnRepositoryCreationTemplate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnRepositoryCreationTemplate
@Stability(Stable) public CfnRepositoryCreationTemplate(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnRepositoryCreationTemplateProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrCreatedAt
The date and time, in JavaScript date format, when the repository creation template was created. -
getAttrUpdatedAt
The date and time, in JavaScript date format, when the repository creation template was last updated. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getAppliedFor
A list of enumerable Strings representing the repository creation scenarios that this template will apply towards. -
setAppliedFor
A list of enumerable Strings representing the repository creation scenarios that this template will apply towards. -
getPrefix
The repository namespace prefix associated with the repository creation template. -
setPrefix
The repository namespace prefix associated with the repository creation template. -
getCustomRoleArn
The ARN of the role to be assumed by Amazon ECR. -
setCustomRoleArn
The ARN of the role to be assumed by Amazon ECR. -
getDescription
The description associated with the repository creation template. -
setDescription
The description associated with the repository creation template. -
getEncryptionConfiguration
The encryption configuration associated with the repository creation template. -
setEncryptionConfiguration
The encryption configuration associated with the repository creation template. -
setEncryptionConfiguration
@Stability(Stable) public void setEncryptionConfiguration(@Nullable CfnRepositoryCreationTemplate.EncryptionConfigurationProperty value) The encryption configuration associated with the repository creation template. -
getImageTagMutability
The tag mutability setting for the repository. -
setImageTagMutability
The tag mutability setting for the repository. -
getLifecyclePolicy
The lifecycle policy to use for repositories created using the template. -
setLifecyclePolicy
The lifecycle policy to use for repositories created using the template. -
getRepositoryPolicy
he repository policy to apply to repositories created using the template. -
setRepositoryPolicy
he repository policy to apply to repositories created using the template. -
getResourceTags
The metadata to apply to the repository to help you categorize and organize. -
setResourceTags
The metadata to apply to the repository to help you categorize and organize. -
setResourceTags
The metadata to apply to the repository to help you categorize and organize.
-