| 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.RedshiftServerLess.Types.ResourcePolicy
Description
Synopsis
Documentation
data ResourcePolicy Source #
The resource policy object. Currently, you can use policies to share snapshots across Amazon Web Services accounts.
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:policy:ResourcePolicy', resourcePolicy_policy - The resource policy.
$sel:resourceArn:ResourcePolicy', resourcePolicy_resourceArn - The Amazon Resource Name (ARN) of the policy.
resourcePolicy_policy :: Lens' ResourcePolicy (Maybe Text) Source #
The resource policy.
resourcePolicy_resourceArn :: Lens' ResourcePolicy (Maybe Text) Source #
The Amazon Resource Name (ARN) of the policy.