You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Route53Resolver::Types::AssociateResolverRuleRequest

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 AssociateResolverRuleRequest data as a hash:

{
  resolver_rule_id: "ResourceId", # required
  name: "Name",
  vpc_id: "ResourceId", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

A name for the association that you're creating between a resolver rule and a VPC.

Returns:

  • (String)


78
79
80
81
82
83
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 78

class AssociateResolverRuleRequest < Struct.new(
  :resolver_rule_id,
  :name,
  :vpc_id)
  include Aws::Structure
end

#resolver_rule_idString

The ID of the resolver rule that you want to associate with the VPC. To list the existing resolver rules, use ListResolverRules.

Returns:

  • (String)


78
79
80
81
82
83
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 78

class AssociateResolverRuleRequest < Struct.new(
  :resolver_rule_id,
  :name,
  :vpc_id)
  include Aws::Structure
end

#vpc_idString

The ID of the VPC that you want to associate the resolver rule with.

Returns:

  • (String)


78
79
80
81
82
83
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 78

class AssociateResolverRuleRequest < Struct.new(
  :resolver_rule_id,
  :name,
  :vpc_id)
  include Aws::Structure
end