Skip to content

IArtifactLifecycleRule

Represents a ArtifactLifecycleRule.

Properties

Name Type Description
node ros_cdk_core.ConstructNode The construct tree node for this construct.
env ros_cdk_core.IResourceEnvironment The environment this resource belongs to.
stack ros_cdk_core.Stack The stack in which this resource is defined.
attr_artifact_lifecycle_rule_id typing.Union[str, ros_cdk_core.IResolvable] Attribute ArtifactLifecycleRuleId: The ID of the lifecycle management rule.
attr_auto typing.Union[str, ros_cdk_core.IResolvable] Attribute Auto: Specify whether to automatically execute the lifecycle management rule.
attr_create_time typing.Union[str, ros_cdk_core.IResolvable] Attribute CreateTime: Creation time of the lifecycle management rule.
attr_instance_id typing.Union[str, ros_cdk_core.IResolvable] Attribute InstanceId: ACR Instance ID.
attr_modified_time typing.Union[str, ros_cdk_core.IResolvable] Attribute ModifiedTime: Change time of the lifecycle management rule.
attr_namespace_name typing.Union[str, ros_cdk_core.IResolvable] Attribute NamespaceName: The name of the namespace.
attr_repo_name typing.Union[str, ros_cdk_core.IResolvable] Attribute RepoName: The name of the image repository.
attr_retention_tag_count typing.Union[str, ros_cdk_core.IResolvable] Attribute RetentionTagCount: The number of images that you want to retain.
attr_schedule_time typing.Union[str, ros_cdk_core.IResolvable] Attribute ScheduleTime: The execution cycle of the lifecycle management rule.
attr_scope typing.Union[str, ros_cdk_core.IResolvable] Attribute Scope: The deletion scope.
attr_tag_regexp typing.Union[str, ros_cdk_core.IResolvable] Attribute TagRegexp: The regular expression that is used to indicate which image tags are retained.
props ArtifactLifecycleRuleProps No description.

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node for this construct.


envRequired

env: IResourceEnvironment
  • Type: 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

stack: Stack
  • Type: ros_cdk_core.Stack

The stack in which this resource is defined.


attr_artifact_lifecycle_rule_idRequired

attr_artifact_lifecycle_rule_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute ArtifactLifecycleRuleId: The ID of the lifecycle management rule.


attr_autoRequired

attr_auto: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_create_timeRequired

attr_create_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute CreateTime: Creation time of the lifecycle management rule.


attr_instance_idRequired

attr_instance_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute InstanceId: ACR Instance ID.


attr_modified_timeRequired

attr_modified_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute ModifiedTime: Change time of the lifecycle management rule.


attr_namespace_nameRequired

attr_namespace_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute NamespaceName: The name of the namespace.


attr_repo_nameRequired

attr_repo_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute RepoName: The name of the image repository.


attr_retention_tag_countRequired

attr_retention_tag_count: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_schedule_timeRequired

attr_schedule_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


attr_scopeRequired

attr_scope: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Scope: The deletion scope.


attr_tag_regexpRequired

attr_tag_regexp: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


propsRequired

props: ArtifactLifecycleRuleProps