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

Class: Aws::WorkSpaces::Types::AuthorizeIpRulesRequest

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

Overview

Note:

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

{
  group_id: "IpGroupId", # required
  user_rules: [ # required
    {
      ip_rule: "IpRule",
      rule_desc: "IpRuleDesc",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#group_idString

The identifier of the group.

Returns:

  • (String)


117
118
119
120
121
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 117

class AuthorizeIpRulesRequest < Struct.new(
  :group_id,
  :user_rules)
  include Aws::Structure
end

#user_rulesArray<Types::IpRuleItem>

The rules to add to the group.

Returns:



117
118
119
120
121
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 117

class AuthorizeIpRulesRequest < Struct.new(
  :group_id,
  :user_rules)
  include Aws::Structure
end