| 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.CloudWatchLogs.Types.ResourcePolicy
Description
Documentation
data ResourcePolicy Source #
A policy enabling one or more entities to put logs to a log group in this account.
See: newResourcePolicy smart constructor.
Constructors
| ResourcePolicy' | |
Fields
| |
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:lastUpdatedTime:ResourcePolicy', resourcePolicy_lastUpdatedTime - Timestamp showing when this policy was last updated, expressed as the
number of milliseconds after Jan 1, 1970 00:00:00 UTC.
$sel:policyDocument:ResourcePolicy', resourcePolicy_policyDocument - The details of the policy.
$sel:policyName:ResourcePolicy', resourcePolicy_policyName - The name of the resource policy.
resourcePolicy_lastUpdatedTime :: Lens' ResourcePolicy (Maybe Natural) Source #
Timestamp showing when this policy was last updated, expressed as the
number of milliseconds after Jan 1, 1970 00:00:00 UTC.
resourcePolicy_policyDocument :: Lens' ResourcePolicy (Maybe Text) Source #
The details of the policy.
resourcePolicy_policyName :: Lens' ResourcePolicy (Maybe Text) Source #
The name of the resource policy.