Skip to content

IArtifactLifecycleRule

Represents a ArtifactLifecycleRule.

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node for this construct.
env com.aliyun.ros.cdk.core.IResourceEnvironment The environment this resource belongs to.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
attrArtifactLifecycleRuleId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ArtifactLifecycleRuleId: The ID of the lifecycle management rule.
attrAuto java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Auto: Specify whether to automatically execute the lifecycle management rule.
attrCreateTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CreateTime: Creation time of the lifecycle management rule.
attrInstanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute InstanceId: ACR Instance ID.
attrModifiedTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ModifiedTime: Change time of the lifecycle management rule.
attrNamespaceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute NamespaceName: The name of the namespace.
attrRepoName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute RepoName: The name of the image repository.
attrRetentionTagCount java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute RetentionTagCount: The number of images that you want to retain.
attrScheduleTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ScheduleTime: The execution cycle of the lifecycle management rule.
attrScope java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Scope: The deletion scope.
attrTagRegexp java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute TagRegexp: The regular expression that is used to indicate which image tags are retained.
props ArtifactLifecycleRuleProps No description.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node for this construct.


envRequired

public IResourceEnvironment getEnv();
  • Type: com.aliyun.ros.cdk.core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


attrArtifactLifecycleRuleIdRequired

public java.lang.Object getAttrArtifactLifecycleRuleId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ArtifactLifecycleRuleId: The ID of the lifecycle management rule.


attrAutoRequired

public java.lang.Object getAttrAuto();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Auto: Specify whether to automatically execute the lifecycle management rule.


attrCreateTimeRequired

public java.lang.Object getAttrCreateTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute CreateTime: Creation time of the lifecycle management rule.


attrInstanceIdRequired

public java.lang.Object getAttrInstanceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute InstanceId: ACR Instance ID.


attrModifiedTimeRequired

public java.lang.Object getAttrModifiedTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ModifiedTime: Change time of the lifecycle management rule.


attrNamespaceNameRequired

public java.lang.Object getAttrNamespaceName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute NamespaceName: The name of the namespace.


attrRepoNameRequired

public java.lang.Object getAttrRepoName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute RepoName: The name of the image repository.


attrRetentionTagCountRequired

public java.lang.Object getAttrRetentionTagCount();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute RetentionTagCount: The number of images that you want to retain.


attrScheduleTimeRequired

public java.lang.Object getAttrScheduleTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ScheduleTime: The execution cycle of the lifecycle management rule.


attrScopeRequired

public java.lang.Object getAttrScope();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Scope: The deletion scope.


attrTagRegexpRequired

public java.lang.Object getAttrTagRegexp();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute TagRegexp: The regular expression that is used to indicate which image tags are retained.


propsRequired

public ArtifactLifecycleRuleProps getProps();