dcloud ecr lifecycle-policy set-modeInherit the organization default, or let nothing expire
IAM ecr:PutLifecyclePolicyChanges stateAsks before it deletes (-y skips)
"inherit": the registry default applies; "none": nothing expires (an explicit choice).
Synopsis
dcloud ecr lifecycle-policy set-mode id --mode modeArguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--modeRequiredenum
inherit: the organization’s registry default applies; none: nothing in this repository expires. A stored own policy is kept, unused, for a later PUT lifecycle-policy
One of:
inherit,none
Example
dcloud ecr lifecycle-policy set-mode id --mode inheritGenerated from the API description, the same one the API checks requests against and the CLI is built from.