amazonka-shield-2.0: Amazon Shield SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Instances

Instances details
FromJSON 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 #

Read Protection Source # 
Instance details

Defined in Amazonka.Shield.Types.Protection

Show Protection Source # 
Instance details

Defined in Amazonka.Shield.Types.Protection

NFData Protection Source # 
Instance details

Defined in Amazonka.Shield.Types.Protection

Methods

rnf :: Protection -> () #

Eq Protection Source # 
Instance details

Defined in Amazonka.Shield.Types.Protection

Hashable 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" "amazonka-shield-2.0-Cz9Fa9OSQ93AE4UCXBDcFo" 'False) (C1 ('MetaCons "Protection'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "applicationLayerAutomaticResponseConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApplicationLayerAutomaticResponseConfiguration)) :*: (S1 ('MetaSel ('Just "healthCheckIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "protectionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceArn") '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:applicationLayerAutomaticResponseConfiguration:Protection', protection_applicationLayerAutomaticResponseConfiguration - The automatic application layer DDoS mitigation settings for the protection. This configuration determines whether Shield Advanced automatically manages rules in the web ACL in order to respond to application layer events that Shield Advanced determines to be DDoS attacks.

$sel:healthCheckIds:Protection', protection_healthCheckIds - The unique identifier (ID) for the Route 53 health check that's associated with the protection.

$sel:id:Protection', protection_id - The unique identifier (ID) of the protection.

$sel:name:Protection', protection_name - The name of the protection. For example, My CloudFront distributions.

$sel:protectionArn:Protection', protection_protectionArn - The ARN (Amazon Resource Name) of the protection.

$sel:resourceArn:Protection', protection_resourceArn - The ARN (Amazon Resource Name) of the Amazon Web Services resource that is protected.

protection_applicationLayerAutomaticResponseConfiguration :: Lens' Protection (Maybe ApplicationLayerAutomaticResponseConfiguration) Source #

The automatic application layer DDoS mitigation settings for the protection. This configuration determines whether Shield Advanced automatically manages rules in the web ACL in order to respond to application layer events that Shield Advanced determines to be DDoS attacks.

protection_healthCheckIds :: Lens' Protection (Maybe [Text]) Source #

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

protection_id :: Lens' Protection (Maybe Text) Source #

The unique identifier (ID) of the protection.

protection_name :: Lens' Protection (Maybe Text) Source #

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

protection_protectionArn :: Lens' Protection (Maybe Text) Source #

The ARN (Amazon Resource Name) of the protection.

protection_resourceArn :: Lens' Protection (Maybe Text) Source #

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