You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ECR::Types::PutLifecyclePolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECR::Types::PutLifecyclePolicyRequest
- Defined in:
- (unknown)
Overview
Note:
When passing PutLifecyclePolicyRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
registry_id: "RegistryId",
repository_name: "RepositoryName", # required
lifecycle_policy_text: "LifecyclePolicyText", # required
}
Instance Attribute Summary collapse
-
#lifecycle_policy_text ⇒ String
The JSON repository policy text to apply to the repository.
-
#registry_id ⇒ String
The AWS 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.
#registry_id ⇒ String
The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
#repository_name ⇒ String
The name of the repository to receive the policy.