aws::ecr-repository¶
Create ECR repository.
Example¶
aws::ecr-repository example-repo
repository-name: "example-repo"
lifecycle-policy: 'lifecycle-policy.json'
repository-policy
policy: 'repository-policy.json'
end
image-scanning-configuration
scan-on-push: false
end
end
Attributes¶
| Attribute | Description |
|---|---|
| encryption-configuration subresource | The encryption configuration for the repository.
|
| image-scanning-configuration subresource | The image scanning configuration for the repository.
|
| image-tag-mutability | The tag mutability setting for the repository. Defaults to MUTABLE. Valid values are MUTABLE or IMMUTABLE. |
| repository-name | The name of the repository. (Required) |
| lifecycle-policy | The lifecycle policy for the repository. |
| repository-policy subresource | The policy for the repository.
|
| tags map | The list of tags for the repository. |
Outputs¶
| Attribute | Description |
|---|---|
| arn | The ARN of the repository. |
| uri | The URI of the repository. |