LifecyclePolicyState constructor

const LifecyclePolicyState({
  1. Input? policy,
  2. Input<String?>? region,
  3. Input<String?>? registryId,
  4. Input<String?>? repository,
})

Creates a new LifecyclePolicyState. policy The policy document. This is a JSON formatted string. See more details about Policy Parameters in the official AWS docs. Consider using the aws.ecr.getLifecyclePolicyDocument dataSource to generate/manage the JSON document used for the policy argument. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. registryId The registry ID where the repository was created. repository Name of the repository to apply the policy.

Implementation

const LifecyclePolicyState({
  this.policy,
  this.region,
  this.registryId,
  this.repository,
});