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

Class: Aws::EC2::Types::AuthorizationRule

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

Overview

Information about an authorization rule.

Instance Attribute Summary collapse

Instance Attribute Details

#access_allBoolean

Indicates whether the authorization rule grants access to all clients.

Returns:

  • (Boolean)


1405
1406
1407
1408
1409
1410
1411
1412
1413
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1405

class AuthorizationRule < Struct.new(
  :client_vpn_endpoint_id,
  :description,
  :group_id,
  :access_all,
  :destination_cidr,
  :status)
  include Aws::Structure
end

#client_vpn_endpoint_idString

The ID of the Client VPN endpoint with which the authorization rule is associated.

Returns:

  • (String)


1405
1406
1407
1408
1409
1410
1411
1412
1413
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1405

class AuthorizationRule < Struct.new(
  :client_vpn_endpoint_id,
  :description,
  :group_id,
  :access_all,
  :destination_cidr,
  :status)
  include Aws::Structure
end

#descriptionString

A brief description of the authorization rule.

Returns:

  • (String)


1405
1406
1407
1408
1409
1410
1411
1412
1413
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1405

class AuthorizationRule < Struct.new(
  :client_vpn_endpoint_id,
  :description,
  :group_id,
  :access_all,
  :destination_cidr,
  :status)
  include Aws::Structure
end

#destination_cidrString

The IPv4 address range, in CIDR notation, of the network to which the authorization rule applies.

Returns:

  • (String)


1405
1406
1407
1408
1409
1410
1411
1412
1413
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1405

class AuthorizationRule < Struct.new(
  :client_vpn_endpoint_id,
  :description,
  :group_id,
  :access_all,
  :destination_cidr,
  :status)
  include Aws::Structure
end

#group_idString

The ID of the Active Directory group to which the authorization rule grants access.

Returns:

  • (String)


1405
1406
1407
1408
1409
1410
1411
1412
1413
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1405

class AuthorizationRule < Struct.new(
  :client_vpn_endpoint_id,
  :description,
  :group_id,
  :access_all,
  :destination_cidr,
  :status)
  include Aws::Structure
end

#statusTypes::ClientVpnAuthorizationRuleStatus

The current state of the authorization rule.



1405
1406
1407
1408
1409
1410
1411
1412
1413
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1405

class AuthorizationRule < Struct.new(
  :client_vpn_endpoint_id,
  :description,
  :group_id,
  :access_all,
  :destination_cidr,
  :status)
  include Aws::Structure
end