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 |
Synopsis
- data ResiliencyPolicy = ResiliencyPolicy' {
- creationTime :: Maybe POSIX
- dataLocationConstraint :: Maybe DataLocationConstraint
- estimatedCostTier :: Maybe EstimatedCostTier
- policy :: Maybe (HashMap DisruptionType FailurePolicy)
- policyArn :: Maybe Text
- policyDescription :: Maybe Text
- policyName :: Maybe Text
- tags :: Maybe (Sensitive (HashMap Text Text))
- tier :: Maybe ResiliencyPolicyTier
- newResiliencyPolicy :: ResiliencyPolicy
- resiliencyPolicy_creationTime :: Lens' ResiliencyPolicy (Maybe UTCTime)
- resiliencyPolicy_dataLocationConstraint :: Lens' ResiliencyPolicy (Maybe DataLocationConstraint)
- resiliencyPolicy_estimatedCostTier :: Lens' ResiliencyPolicy (Maybe EstimatedCostTier)
- resiliencyPolicy_policy :: Lens' ResiliencyPolicy (Maybe (HashMap DisruptionType FailurePolicy))
- resiliencyPolicy_policyArn :: Lens' ResiliencyPolicy (Maybe Text)
- resiliencyPolicy_policyDescription :: Lens' ResiliencyPolicy (Maybe Text)
- resiliencyPolicy_policyName :: Lens' ResiliencyPolicy (Maybe Text)
- resiliencyPolicy_tags :: Lens' ResiliencyPolicy (Maybe (HashMap Text Text))
- resiliencyPolicy_tier :: Lens' ResiliencyPolicy (Maybe ResiliencyPolicyTier)
Documentation
data ResiliencyPolicy Source #
Defines a resiliency policy.
See: newResiliencyPolicy
smart constructor.
ResiliencyPolicy' | |
|
Instances
newResiliencyPolicy :: ResiliencyPolicy Source #
Create a value of ResiliencyPolicy
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:creationTime:ResiliencyPolicy'
, resiliencyPolicy_creationTime
- The timestamp for when the resiliency policy was created.
$sel:dataLocationConstraint:ResiliencyPolicy'
, resiliencyPolicy_dataLocationConstraint
- Specifies a high-level geographical location constraint for where your
resilience policy data can be stored.
$sel:estimatedCostTier:ResiliencyPolicy'
, resiliencyPolicy_estimatedCostTier
- Specifies the estimated cost tier of the resiliency policy.
$sel:policy:ResiliencyPolicy'
, resiliencyPolicy_policy
- The resiliency policy.
$sel:policyArn:ResiliencyPolicy'
, resiliencyPolicy_policyArn
- The Amazon Resource Name (ARN) of the resiliency policy. The format for
this ARN is:
arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
.
For more information about ARNs, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
$sel:policyDescription:ResiliencyPolicy'
, resiliencyPolicy_policyDescription
- The description for the policy.
$sel:policyName:ResiliencyPolicy'
, resiliencyPolicy_policyName
- The name of the policy
$sel:tags:ResiliencyPolicy'
, resiliencyPolicy_tags
- The tags assigned to the resource. A tag is a label that you assign to
an Amazon Web Services resource. Each tag consists of a key/value pair.
$sel:tier:ResiliencyPolicy'
, resiliencyPolicy_tier
- The tier for this resiliency policy, ranging from the highest severity
(MissionCritical
) to lowest (NonCritical
).
resiliencyPolicy_creationTime :: Lens' ResiliencyPolicy (Maybe UTCTime) Source #
The timestamp for when the resiliency policy was created.
resiliencyPolicy_dataLocationConstraint :: Lens' ResiliencyPolicy (Maybe DataLocationConstraint) Source #
Specifies a high-level geographical location constraint for where your resilience policy data can be stored.
resiliencyPolicy_estimatedCostTier :: Lens' ResiliencyPolicy (Maybe EstimatedCostTier) Source #
Specifies the estimated cost tier of the resiliency policy.
resiliencyPolicy_policy :: Lens' ResiliencyPolicy (Maybe (HashMap DisruptionType FailurePolicy)) Source #
The resiliency policy.
resiliencyPolicy_policyArn :: Lens' ResiliencyPolicy (Maybe Text) Source #
The Amazon Resource Name (ARN) of the resiliency policy. The format for
this ARN is:
arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
.
For more information about ARNs, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
resiliencyPolicy_policyDescription :: Lens' ResiliencyPolicy (Maybe Text) Source #
The description for the policy.
resiliencyPolicy_policyName :: Lens' ResiliencyPolicy (Maybe Text) Source #
The name of the policy
resiliencyPolicy_tags :: Lens' ResiliencyPolicy (Maybe (HashMap Text Text)) Source #
The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
resiliencyPolicy_tier :: Lens' ResiliencyPolicy (Maybe ResiliencyPolicyTier) Source #
The tier for this resiliency policy, ranging from the highest severity
(MissionCritical
) to lowest (NonCritical
).