libZSservicesZSamazonka-shieldZSamazonka-shield
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Shield.Types.Protection

Description

 
Synopsis

Documentation

data Protection Source #

An object that represents a resource that is under DDoS protection.

See: newProtection smart constructor.

Constructors

Protection' 

Fields

  • protectionArn :: Maybe Text

    The ARN (Amazon Resource Name) of the protection.

  • healthCheckIds :: Maybe [Text]

    The unique identifier (ID) for the Route 53 health check that's associated with the protection.

  • resourceArn :: Maybe Text

    The ARN (Amazon Resource Name) of the Amazon Web Services resource that is protected.

  • name :: Maybe Text

    The name of the protection. For example, My CloudFront distributions.

  • id :: Maybe Text

    The unique identifier (ID) of the protection.

Instances

Instances details
Eq Protection Source # 
Instance details

Defined in Amazonka.Shield.Types.Protection

Read Protection Source # 
Instance details

Defined in Amazonka.Shield.Types.Protection

Show Protection Source # 
Instance details

Defined in Amazonka.Shield.Types.Protection

Generic Protection Source # 
Instance details

Defined in Amazonka.Shield.Types.Protection

Associated Types

type Rep Protection :: Type -> Type #

NFData Protection Source # 
Instance details

Defined in Amazonka.Shield.Types.Protection

Methods

rnf :: Protection -> () #

Hashable Protection Source # 
Instance details

Defined in Amazonka.Shield.Types.Protection

FromJSON Protection Source # 
Instance details

Defined in Amazonka.Shield.Types.Protection

type Rep Protection Source # 
Instance details

Defined in Amazonka.Shield.Types.Protection

type Rep Protection = D1 ('MetaData "Protection" "Amazonka.Shield.Types.Protection" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "Protection'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "protectionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "healthCheckIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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.