Class: Aws::ECR::Types::PutLifecyclePolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECR::Types::PutLifecyclePolicyRequest
- Defined in:
- gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb
Overview
Note:
When making an API call, you may pass PutLifecyclePolicyRequest data as a hash:
{
registry_id: "RegistryId",
repository_name: "RepositoryName", # required
lifecycle_policy_text: "LifecyclePolicyText", # required
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#lifecycle_policy_text ⇒ String
The JSON repository policy text to apply to the repository.
-
#registry_id ⇒ String
The Amazon Web Services account ID associated with the registry that contains the repository.
-
#repository_name ⇒ String
The name of the repository to receive the policy.
Instance Attribute Details
#lifecycle_policy_text ⇒ String
The JSON repository policy text to apply to the repository.
3133 3134 3135 3136 3137 3138 3139 |
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3133 class PutLifecyclePolicyRequest < Struct.new( :registry_id, :repository_name, :lifecycle_policy_text) SENSITIVE = [] include Aws::Structure end |
#registry_id ⇒ String
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.
3133 3134 3135 3136 3137 3138 3139 |
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3133 class PutLifecyclePolicyRequest < Struct.new( :registry_id, :repository_name, :lifecycle_policy_text) SENSITIVE = [] include Aws::Structure end |
#repository_name ⇒ String
The name of the repository to receive the policy.
3133 3134 3135 3136 3137 3138 3139 |
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3133 class PutLifecyclePolicyRequest < Struct.new( :registry_id, :repository_name, :lifecycle_policy_text) SENSITIVE = [] include Aws::Structure end |