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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb

Overview

Note:

When making an API call, you may pass StartLifecyclePolicyPreviewRequest data as a 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)


1584
1585
1586
1587
1588
1589
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1584

class StartLifecyclePolicyPreviewRequest < Struct.new(
  :registry_id,
  :repository_name,
  :lifecycle_policy_text)
  include Aws::Structure
end

#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)


1584
1585
1586
1587
1588
1589
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1584

class StartLifecyclePolicyPreviewRequest < Struct.new(
  :registry_id,
  :repository_name,
  :lifecycle_policy_text)
  include Aws::Structure
end

#repository_nameString

The name of the repository to be evaluated.

Returns:

  • (String)


1584
1585
1586
1587
1588
1589
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1584

class StartLifecyclePolicyPreviewRequest < Struct.new(
  :registry_id,
  :repository_name,
  :lifecycle_policy_text)
  include Aws::Structure
end