| 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.CloudDirectory.Types.PolicyAttachment
Description
Documentation
data PolicyAttachment Source #
Contains the PolicyType, PolicyId, and the ObjectIdentifier to
which it is attached. For more information, see
Policies.
See: newPolicyAttachment smart constructor.
Constructors
| PolicyAttachment' | |
Fields
| |
Instances
newPolicyAttachment :: PolicyAttachment Source #
Create a value of PolicyAttachment 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:objectIdentifier:PolicyAttachment', policyAttachment_objectIdentifier - The ObjectIdentifier that is associated with PolicyAttachment.
$sel:policyId:PolicyAttachment', policyAttachment_policyId - The ID of PolicyAttachment.
$sel:policyType:PolicyAttachment', policyAttachment_policyType - The type of policy that can be associated with PolicyAttachment.
policyAttachment_objectIdentifier :: Lens' PolicyAttachment (Maybe Text) Source #
The ObjectIdentifier that is associated with PolicyAttachment.
policyAttachment_policyId :: Lens' PolicyAttachment (Maybe Text) Source #
The ID of PolicyAttachment.
policyAttachment_policyType :: Lens' PolicyAttachment (Maybe Text) Source #
The type of policy that can be associated with PolicyAttachment.