Command option Sample:aws ecr get-lifecycle-policy

Search command sample in the internet.It is the result.

Retrieves the specified lifecycle policy.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/ecr/get-lifecycle-policy.html

aws ecr get-lifecycle-policy --repository-name "project-a/amazon-ecs-sample"
    start-lifecycle-policy-preview — AWS CLI 1.16.6 Command Reference : http://docs.aws.amazon.com/cli/latest/reference/ecr/get-lifecycle-policy.html

aws のオプション一覧