Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data ResourcePolicy Source #
An AWS CodeArtifact resource policy that contains a resource ARN, document details, and a revision.
See: newResourcePolicy
smart constructor.
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:resourceArn:ResourcePolicy'
, resourcePolicy_resourceArn
- The ARN of the resource associated with the resource policy
$sel:document:ResourcePolicy'
, resourcePolicy_document
- The resource policy formatted in JSON.
$sel:revision:ResourcePolicy'
, resourcePolicy_revision
- The current revision of the resource policy.
resourcePolicy_resourceArn :: Lens' ResourcePolicy (Maybe Text) Source #
The ARN of the resource associated with the resource policy
resourcePolicy_document :: Lens' ResourcePolicy (Maybe Text) Source #
The resource policy formatted in JSON.
resourcePolicy_revision :: Lens' ResourcePolicy (Maybe Text) Source #
The current revision of the resource policy.