Class: Aws::ECR::Types::PutLifecyclePolicyRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#lifecycle_policy_textString

The JSON repository policy text to apply to the repository.

Returns:

  • (String)


2854
2855
2856
2857
2858
2859
2860
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2854

class PutLifecyclePolicyRequest < Struct.new(
  :registry_id,
  :repository_name,
  :lifecycle_policy_text)
  SENSITIVE = []
  include Aws::Structure
end

#registry_idString

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

Returns:

  • (String)


2854
2855
2856
2857
2858
2859
2860
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2854

class PutLifecyclePolicyRequest < Struct.new(
  :registry_id,
  :repository_name,
  :lifecycle_policy_text)
  SENSITIVE = []
  include Aws::Structure
end

#repository_nameString

The name of the repository to receive the policy.

Returns:

  • (String)


2854
2855
2856
2857
2858
2859
2860
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2854

class PutLifecyclePolicyRequest < Struct.new(
  :registry_id,
  :repository_name,
  :lifecycle_policy_text)
  SENSITIVE = []
  include Aws::Structure
end