You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ECR::Types::StartLifecyclePolicyPreviewRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing StartLifecyclePolicyPreviewRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  registry_id: "RegistryId",
  repository_name: "RepositoryName", # required
  lifecycle_policy_text: "LifecyclePolicyText",
}

Instance Attribute Summary collapse

Instance Attribute Details

#lifecycle_policy_textString

The policy to be evaluated against. If you do not specify a policy, the current policy for the repository is used.

Returns:

  • (String)

    The policy to be evaluated against.

#registry_idString

The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

Returns:

  • (String)

    The AWS account ID associated with the registry that contains the repository.

#repository_nameString

The name of the repository to be evaluated.

Returns:

  • (String)

    The name of the repository to be evaluated.