| 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.Organizations.Types.EffectivePolicy
Description
Synopsis
- data EffectivePolicy = EffectivePolicy' {}
- newEffectivePolicy :: EffectivePolicy
- effectivePolicy_lastUpdatedTimestamp :: Lens' EffectivePolicy (Maybe UTCTime)
- effectivePolicy_policyContent :: Lens' EffectivePolicy (Maybe Text)
- effectivePolicy_policyType :: Lens' EffectivePolicy (Maybe EffectivePolicyType)
- effectivePolicy_targetId :: Lens' EffectivePolicy (Maybe Text)
Documentation
data EffectivePolicy Source #
Contains rules to be applied to the affected accounts. The effective policy is the aggregation of any policies the account inherits, plus any policy directly attached to the account.
See: newEffectivePolicy smart constructor.
Constructors
| EffectivePolicy' | |
Fields
| |
Instances
newEffectivePolicy :: EffectivePolicy Source #
Create a value of EffectivePolicy 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:lastUpdatedTimestamp:EffectivePolicy', effectivePolicy_lastUpdatedTimestamp - The time of the last update to this policy.
$sel:policyContent:EffectivePolicy', effectivePolicy_policyContent - The text content of the policy.
$sel:policyType:EffectivePolicy', effectivePolicy_policyType - The policy type.
$sel:targetId:EffectivePolicy', effectivePolicy_targetId - The account ID of the policy target.
effectivePolicy_lastUpdatedTimestamp :: Lens' EffectivePolicy (Maybe UTCTime) Source #
The time of the last update to this policy.
effectivePolicy_policyContent :: Lens' EffectivePolicy (Maybe Text) Source #
The text content of the policy.
effectivePolicy_policyType :: Lens' EffectivePolicy (Maybe EffectivePolicyType) Source #
The policy type.
effectivePolicy_targetId :: Lens' EffectivePolicy (Maybe Text) Source #
The account ID of the policy target.