| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeArtifact.Types.ResourcePolicy
Description
Documentation
data ResourcePolicy Source #
An CodeArtifact resource policy that contains a resource ARN, document details, and a revision.
See: newResourcePolicy smart constructor.
Constructors
| ResourcePolicy' | |
Instances
newResourcePolicy :: ResourcePolicy Source #
Create a value of ResourcePolicy with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:document:ResourcePolicy', resourcePolicy_document - The resource policy formatted in JSON.
$sel:resourceArn:ResourcePolicy', resourcePolicy_resourceArn - The ARN of the resource associated with the resource policy
$sel:revision:ResourcePolicy', resourcePolicy_revision - The current revision of the resource policy.
resourcePolicy_document :: Lens' ResourcePolicy (Maybe Text) Source #
The resource policy formatted in JSON.
resourcePolicy_resourceArn :: Lens' ResourcePolicy (Maybe Text) Source #
The ARN of the resource associated with the resource policy
resourcePolicy_revision :: Lens' ResourcePolicy (Maybe Text) Source #
The current revision of the resource policy.