Class: Aws::Route53Resolver::Types::AssociateFirewallRuleGroupRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb

Overview

Note:

When making an API call, you may pass AssociateFirewallRuleGroupRequest data as a hash:

{
  creator_request_id: "CreatorRequestId", # required
  firewall_rule_group_id: "ResourceId", # required
  vpc_id: "ResourceId", # required
  priority: 1, # required
  name: "Name", # required
  mutation_protection: "ENABLED", # accepts ENABLED, DISABLED
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#creator_request_idString

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.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


97
98
99
100
101
102
103
104
105
106
107
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 97

class AssociateFirewallRuleGroupRequest < Struct.new(
  :creator_request_id,
  :firewall_rule_group_id,
  :vpc_id,
  :priority,
  :name,
  :mutation_protection,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#firewall_rule_group_idString

The unique identifier of the firewall rule group.

Returns:

  • (String)


97
98
99
100
101
102
103
104
105
106
107
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 97

class AssociateFirewallRuleGroupRequest < Struct.new(
  :creator_request_id,
  :firewall_rule_group_id,
  :vpc_id,
  :priority,
  :name,
  :mutation_protection,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#mutation_protectionString

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.

Returns:

  • (String)


97
98
99
100
101
102
103
104
105
106
107
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 97

class AssociateFirewallRuleGroupRequest < Struct.new(
  :creator_request_id,
  :firewall_rule_group_id,
  :vpc_id,
  :priority,
  :name,
  :mutation_protection,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

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

Returns:

  • (String)


97
98
99
100
101
102
103
104
105
106
107
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 97

class AssociateFirewallRuleGroupRequest < Struct.new(
  :creator_request_id,
  :firewall_rule_group_id,
  :vpc_id,
  :priority,
  :name,
  :mutation_protection,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#priorityInteger

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.

Returns:

  • (Integer)


97
98
99
100
101
102
103
104
105
106
107
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 97

class AssociateFirewallRuleGroupRequest < Struct.new(
  :creator_request_id,
  :firewall_rule_group_id,
  :vpc_id,
  :priority,
  :name,
  :mutation_protection,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

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

Returns:



97
98
99
100
101
102
103
104
105
106
107
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 97

class AssociateFirewallRuleGroupRequest < Struct.new(
  :creator_request_id,
  :firewall_rule_group_id,
  :vpc_id,
  :priority,
  :name,
  :mutation_protection,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_idString

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

Returns:

  • (String)


97
98
99
100
101
102
103
104
105
106
107
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 97

class AssociateFirewallRuleGroupRequest < Struct.new(
  :creator_request_id,
  :firewall_rule_group_id,
  :vpc_id,
  :priority,
  :name,
  :mutation_protection,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end