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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


3187
3188
3189
3190
3191
3192
3193
# File 'lib/aws-sdk-ecr/types.rb', line 3187

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)


3187
3188
3189
3190
3191
3192
3193
# File 'lib/aws-sdk-ecr/types.rb', line 3187

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)


3187
3188
3189
3190
3191
3192
3193
# File 'lib/aws-sdk-ecr/types.rb', line 3187

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