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",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#group_idString

The identifier of the group.

Returns:

  • (String)


122
123
124
125
126
127
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 122

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

#user_rulesArray<Types::IpRuleItem>

The rules to add to the group.

Returns:



122
123
124
125
126
127
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/types.rb', line 122

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