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 |
Synopsis
- data EffectivePolicy = EffectivePolicy' {}
- newEffectivePolicy :: EffectivePolicy
- effectivePolicy_targetId :: Lens' EffectivePolicy (Maybe Text)
- effectivePolicy_policyType :: Lens' EffectivePolicy (Maybe EffectivePolicyType)
- effectivePolicy_lastUpdatedTimestamp :: Lens' EffectivePolicy (Maybe UTCTime)
- effectivePolicy_policyContent :: 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.
EffectivePolicy' | |
|
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:targetId:EffectivePolicy'
, effectivePolicy_targetId
- The account ID of the policy target.
$sel:policyType:EffectivePolicy'
, effectivePolicy_policyType
- The policy type.
$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.
effectivePolicy_targetId :: Lens' EffectivePolicy (Maybe Text) Source #
The account ID of the policy target.
effectivePolicy_policyType :: Lens' EffectivePolicy (Maybe EffectivePolicyType) Source #
The policy type.
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.