Class: Aws::Comprehend::Types::VpcConfig

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

Overview

Note:

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

{
  security_group_ids: ["SecurityGroupId"], # required
  subnets: ["SubnetId"], # required
}

Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job. For For more information, see Amazon VPC.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#security_group_idsArray<String>

The ID number for a security group on an instance of your private VPC. Security groups on your VPC function serve as a virtual firewall to control inbound and outbound traffic and provides security for the resources that you’ll be accessing on the VPC. This ID number is preceded by "sg-", for instance: "sg-03b388029b0a285ea". For more information, see Security Groups for your VPC.

Returns:

  • (Array<String>)


5306
5307
5308
5309
5310
5311
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5306

class VpcConfig < Struct.new(
  :security_group_ids,
  :subnets)
  SENSITIVE = []
  include Aws::Structure
end

#subnetsArray<String>

The ID for each subnet being used in your private VPC. This subnet is a subset of the a range of IPv4 addresses used by the VPC and is specific to a given availability zone in the VPC’s region. This ID number is preceded by "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see VPCs and Subnets.

Returns:

  • (Array<String>)


5306
5307
5308
5309
5310
5311
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5306

class VpcConfig < Struct.new(
  :security_group_ids,
  :subnets)
  SENSITIVE = []
  include Aws::Structure
end