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 |
Associates a FirewallRuleGroup with a VPC, to provide DNS filtering for the VPC.
Synopsis
- data AssociateFirewallRuleGroup = AssociateFirewallRuleGroup' {}
- newAssociateFirewallRuleGroup :: Text -> Text -> Text -> Int -> Text -> AssociateFirewallRuleGroup
- associateFirewallRuleGroup_mutationProtection :: Lens' AssociateFirewallRuleGroup (Maybe MutationProtectionStatus)
- associateFirewallRuleGroup_tags :: Lens' AssociateFirewallRuleGroup (Maybe [Tag])
- associateFirewallRuleGroup_creatorRequestId :: Lens' AssociateFirewallRuleGroup Text
- associateFirewallRuleGroup_firewallRuleGroupId :: Lens' AssociateFirewallRuleGroup Text
- associateFirewallRuleGroup_vpcId :: Lens' AssociateFirewallRuleGroup Text
- associateFirewallRuleGroup_priority :: Lens' AssociateFirewallRuleGroup Int
- associateFirewallRuleGroup_name :: Lens' AssociateFirewallRuleGroup Text
- data AssociateFirewallRuleGroupResponse = AssociateFirewallRuleGroupResponse' {}
- newAssociateFirewallRuleGroupResponse :: Int -> AssociateFirewallRuleGroupResponse
- associateFirewallRuleGroupResponse_firewallRuleGroupAssociation :: Lens' AssociateFirewallRuleGroupResponse (Maybe FirewallRuleGroupAssociation)
- associateFirewallRuleGroupResponse_httpStatus :: Lens' AssociateFirewallRuleGroupResponse Int
Creating a Request
data AssociateFirewallRuleGroup Source #
See: newAssociateFirewallRuleGroup
smart constructor.
AssociateFirewallRuleGroup' | |
|
Instances
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_firewallRuleGroupId :: Lens' AssociateFirewallRuleGroup Text Source #
The unique identifier of the firewall rule group.
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 #
See: newAssociateFirewallRuleGroupResponse
smart constructor.
AssociateFirewallRuleGroupResponse' | |
|
Instances
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.
associateFirewallRuleGroupResponse_httpStatus :: Lens' AssociateFirewallRuleGroupResponse Int Source #
The response's http status code.