libZSservicesZSamazonka-route53resolverZSamazonka-route53resolver
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.Route53Resolver.AssociateFirewallRuleGroup

Description

Associates a FirewallRuleGroup with a VPC, to provide DNS filtering for the VPC.

Synopsis

Creating a Request

data AssociateFirewallRuleGroup Source #

See: newAssociateFirewallRuleGroup smart constructor.

Constructors

AssociateFirewallRuleGroup' 

Fields

  • mutationProtection :: Maybe MutationProtectionStatus

    If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. When you create the association, the default setting is DISABLED.

  • tags :: Maybe [Tag]

    A list of the tag keys and values that you want to associate with the rule group association.

  • creatorRequestId :: Text

    A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.

  • firewallRuleGroupId :: Text

    The unique identifier of the firewall rule group.

  • vpcId :: Text

    The unique identifier of the VPC that you want to associate with the rule group.

  • priority :: Int

    The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting.

    You must specify a unique priority for each rule group that you associate with a single VPC. To make it easier to insert rule groups later, leave space between the numbers, for example, use 101, 200, and so on. You can change the priority setting for a rule group association after you create it.

    The allowed values for Priority are between 100 and 9900.

  • name :: Text

    A name that lets you identify the association, to manage and use it.

Instances

Instances details
Eq AssociateFirewallRuleGroup Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateFirewallRuleGroup

Read AssociateFirewallRuleGroup Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateFirewallRuleGroup

Show AssociateFirewallRuleGroup Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateFirewallRuleGroup

Generic AssociateFirewallRuleGroup Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateFirewallRuleGroup

Associated Types

type Rep AssociateFirewallRuleGroup :: Type -> Type #

NFData AssociateFirewallRuleGroup Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateFirewallRuleGroup

Hashable AssociateFirewallRuleGroup Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateFirewallRuleGroup

ToJSON AssociateFirewallRuleGroup Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateFirewallRuleGroup

AWSRequest AssociateFirewallRuleGroup Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateFirewallRuleGroup

ToHeaders AssociateFirewallRuleGroup Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateFirewallRuleGroup

ToPath AssociateFirewallRuleGroup Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateFirewallRuleGroup

ToQuery AssociateFirewallRuleGroup Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateFirewallRuleGroup

type Rep AssociateFirewallRuleGroup Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateFirewallRuleGroup

type Rep AssociateFirewallRuleGroup = D1 ('MetaData "AssociateFirewallRuleGroup" "Amazonka.Route53Resolver.AssociateFirewallRuleGroup" "libZSservicesZSamazonka-route53resolverZSamazonka-route53resolver" 'False) (C1 ('MetaCons "AssociateFirewallRuleGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "mutationProtection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MutationProtectionStatus)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "creatorRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "firewallRuleGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "priority") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse AssociateFirewallRuleGroup Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateFirewallRuleGroup

newAssociateFirewallRuleGroup Source #

Create a value of AssociateFirewallRuleGroup 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:mutationProtection:AssociateFirewallRuleGroup', associateFirewallRuleGroup_mutationProtection - If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. When you create the association, the default setting is DISABLED.

$sel:tags:AssociateFirewallRuleGroup', associateFirewallRuleGroup_tags - A list of the tag keys and values that you want to associate with the rule group association.

$sel:creatorRequestId:AssociateFirewallRuleGroup', associateFirewallRuleGroup_creatorRequestId - A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.

$sel:firewallRuleGroupId:AssociateFirewallRuleGroup', associateFirewallRuleGroup_firewallRuleGroupId - The unique identifier of the firewall rule group.

$sel:vpcId:AssociateFirewallRuleGroup', associateFirewallRuleGroup_vpcId - The unique identifier of the VPC that you want to associate with the rule group.

$sel:priority:AssociateFirewallRuleGroup', associateFirewallRuleGroup_priority - The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting.

You must specify a unique priority for each rule group that you associate with a single VPC. To make it easier to insert rule groups later, leave space between the numbers, for example, use 101, 200, and so on. You can change the priority setting for a rule group association after you create it.

The allowed values for Priority are between 100 and 9900.

$sel:name:AssociateFirewallRuleGroup', associateFirewallRuleGroup_name - A name that lets you identify the association, to manage and use it.

Request Lenses

associateFirewallRuleGroup_mutationProtection :: Lens' AssociateFirewallRuleGroup (Maybe MutationProtectionStatus) Source #

If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. When you create the association, the default setting is DISABLED.

associateFirewallRuleGroup_tags :: Lens' AssociateFirewallRuleGroup (Maybe [Tag]) Source #

A list of the tag keys and values that you want to associate with the rule group association.

associateFirewallRuleGroup_creatorRequestId :: Lens' AssociateFirewallRuleGroup Text Source #

A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.

associateFirewallRuleGroup_vpcId :: Lens' AssociateFirewallRuleGroup Text Source #

The unique identifier of the VPC that you want to associate with the rule group.

associateFirewallRuleGroup_priority :: Lens' AssociateFirewallRuleGroup Int Source #

The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting.

You must specify a unique priority for each rule group that you associate with a single VPC. To make it easier to insert rule groups later, leave space between the numbers, for example, use 101, 200, and so on. You can change the priority setting for a rule group association after you create it.

The allowed values for Priority are between 100 and 9900.

associateFirewallRuleGroup_name :: Lens' AssociateFirewallRuleGroup Text Source #

A name that lets you identify the association, to manage and use it.

Destructuring the Response

data AssociateFirewallRuleGroupResponse Source #

Constructors

AssociateFirewallRuleGroupResponse' 

Fields

Instances

Instances details
Eq AssociateFirewallRuleGroupResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateFirewallRuleGroup

Read AssociateFirewallRuleGroupResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateFirewallRuleGroup

Show AssociateFirewallRuleGroupResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateFirewallRuleGroup

Generic AssociateFirewallRuleGroupResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateFirewallRuleGroup

Associated Types

type Rep AssociateFirewallRuleGroupResponse :: Type -> Type #

NFData AssociateFirewallRuleGroupResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateFirewallRuleGroup

type Rep AssociateFirewallRuleGroupResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.AssociateFirewallRuleGroup

type Rep AssociateFirewallRuleGroupResponse = D1 ('MetaData "AssociateFirewallRuleGroupResponse" "Amazonka.Route53Resolver.AssociateFirewallRuleGroup" "libZSservicesZSamazonka-route53resolverZSamazonka-route53resolver" 'False) (C1 ('MetaCons "AssociateFirewallRuleGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "firewallRuleGroupAssociation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FirewallRuleGroupAssociation)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAssociateFirewallRuleGroupResponse Source #

Create a value of AssociateFirewallRuleGroupResponse 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:firewallRuleGroupAssociation:AssociateFirewallRuleGroupResponse', associateFirewallRuleGroupResponse_firewallRuleGroupAssociation - The association that you just created. The association has an ID that you can use to identify it in other requests, like update and delete.

$sel:httpStatus:AssociateFirewallRuleGroupResponse', associateFirewallRuleGroupResponse_httpStatus - The response's http status code.

Response Lenses

associateFirewallRuleGroupResponse_firewallRuleGroupAssociation :: Lens' AssociateFirewallRuleGroupResponse (Maybe FirewallRuleGroupAssociation) Source #

The association that you just created. The association has an ID that you can use to identify it in other requests, like update and delete.