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 Protection = Protection' {
- protectionArn :: Maybe Text
- healthCheckIds :: Maybe [Text]
- resourceArn :: Maybe Text
- name :: Maybe Text
- id :: Maybe Text
- newProtection :: Protection
- protection_protectionArn :: Lens' Protection (Maybe Text)
- protection_healthCheckIds :: Lens' Protection (Maybe [Text])
- protection_resourceArn :: Lens' Protection (Maybe Text)
- protection_name :: Lens' Protection (Maybe Text)
- protection_id :: Lens' Protection (Maybe Text)
Documentation
data Protection Source #
An object that represents a resource that is under DDoS protection.
See: newProtection
smart constructor.
Protection' | |
|
Instances
newProtection :: Protection Source #
Create a value of Protection
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:protectionArn:Protection'
, protection_protectionArn
- The ARN (Amazon Resource Name) of the protection.
$sel:healthCheckIds:Protection'
, protection_healthCheckIds
- The unique identifier (ID) for the Route 53 health check that's
associated with the protection.
$sel:resourceArn:Protection'
, protection_resourceArn
- The ARN (Amazon Resource Name) of the Amazon Web Services resource that
is protected.
$sel:name:Protection'
, protection_name
- The name of the protection. For example, My CloudFront distributions
.
$sel:id:Protection'
, protection_id
- The unique identifier (ID) of the protection.
protection_protectionArn :: Lens' Protection (Maybe Text) Source #
The ARN (Amazon Resource Name) of the protection.
protection_healthCheckIds :: Lens' Protection (Maybe [Text]) Source #
The unique identifier (ID) for the Route 53 health check that's associated with the protection.
protection_resourceArn :: Lens' Protection (Maybe Text) Source #
The ARN (Amazon Resource Name) of the Amazon Web Services resource that is protected.
protection_name :: Lens' Protection (Maybe Text) Source #
The name of the protection. For example, My CloudFront distributions
.
protection_id :: Lens' Protection (Maybe Text) Source #
The unique identifier (ID) of the protection.