@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.702Z") @Stability(value=Stable) public class CfnRepository extends CfnResource implements IInspectable
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnRepository.Builder
A fluent builder for
CfnRepository. |
static interface |
CfnRepository.EncryptionConfigurationProperty |
static interface |
CfnRepository.ImageScanningConfigurationProperty |
static interface |
CfnRepository.LifecyclePolicyProperty |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnRepository(software.constructs.Construct scope,
String id)
Create a new `AWS::ECR::Repository`.
|
|
CfnRepository(software.constructs.Construct scope,
String id,
CfnRepositoryProps props)
Create a new `AWS::ECR::Repository`.
|
protected |
CfnRepository(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnRepository(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
String |
getAttrRepositoryUri() |
protected Map<String,Object> |
getCfnProperties() |
Object |
getEncryptionConfiguration()
`AWS::ECR::Repository.EncryptionConfiguration`.
|
Object |
getImageScanningConfiguration()
`AWS::ECR::Repository.ImageScanningConfiguration`.
|
String |
getImageTagMutability()
`AWS::ECR::Repository.ImageTagMutability`.
|
Object |
getLifecyclePolicy()
`AWS::ECR::Repository.LifecyclePolicy`.
|
String |
getRepositoryName()
`AWS::ECR::Repository.RepositoryName`.
|
Object |
getRepositoryPolicyText()
`AWS::ECR::Repository.RepositoryPolicyText`.
|
TagManager |
getTags()
`AWS::ECR::Repository.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setEncryptionConfiguration(CfnRepository.EncryptionConfigurationProperty value)
`AWS::ECR::Repository.EncryptionConfiguration`.
|
void |
setEncryptionConfiguration(IResolvable value)
`AWS::ECR::Repository.EncryptionConfiguration`.
|
void |
setImageScanningConfiguration(CfnRepository.ImageScanningConfigurationProperty value)
`AWS::ECR::Repository.ImageScanningConfiguration`.
|
void |
setImageScanningConfiguration(IResolvable value)
`AWS::ECR::Repository.ImageScanningConfiguration`.
|
void |
setImageTagMutability(String value)
`AWS::ECR::Repository.ImageTagMutability`.
|
void |
setLifecyclePolicy(CfnRepository.LifecyclePolicyProperty value)
`AWS::ECR::Repository.LifecyclePolicy`.
|
void |
setLifecyclePolicy(IResolvable value)
`AWS::ECR::Repository.LifecyclePolicy`.
|
void |
setRepositoryName(String value)
`AWS::ECR::Repository.RepositoryName`.
|
void |
setRepositoryPolicyText(Object value)
`AWS::ECR::Repository.RepositoryPolicyText`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnRepository(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnRepository(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnRepository(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnRepositoryProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public CfnRepository(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrRepositoryUri()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public Object getRepositoryPolicyText()
@Stability(value=Stable)
public void setRepositoryPolicyText(@NotNull
Object value)
@Stability(value=Stable) @Nullable public Object getEncryptionConfiguration()
@Stability(value=Stable)
public void setEncryptionConfiguration(@Nullable
CfnRepository.EncryptionConfigurationProperty value)
@Stability(value=Stable)
public void setEncryptionConfiguration(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getImageScanningConfiguration()
@Stability(value=Stable)
public void setImageScanningConfiguration(@Nullable
CfnRepository.ImageScanningConfigurationProperty value)
@Stability(value=Stable)
public void setImageScanningConfiguration(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getImageTagMutability()
@Stability(value=Stable)
public void setImageTagMutability(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getLifecyclePolicy()
@Stability(value=Stable)
public void setLifecyclePolicy(@Nullable
CfnRepository.LifecyclePolicyProperty value)
@Stability(value=Stable)
public void setLifecyclePolicy(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getRepositoryName()
@Stability(value=Stable)
public void setRepositoryName(@Nullable
String value)
Copyright © 2021. All rights reserved.