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

Class: Aws::CodeBuild::Types::VpcConfig

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

Overview

Note:

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

{
  vpc_id: "NonEmptyString",
  subnets: ["NonEmptyString"],
  security_group_ids: ["NonEmptyString"],
}

Information about the VPC configuration that AWS CodeBuild will access.

Instance Attribute Summary collapse

Instance Attribute Details

#security_group_idsArray<String>

A list of one or more security groups IDs in your Amazon VPC.

Returns:

  • (Array<String>)


2080
2081
2082
2083
2084
2085
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 2080

class VpcConfig < Struct.new(
  :vpc_id,
  :subnets,
  :security_group_ids)
  include Aws::Structure
end

#subnetsArray<String>

A list of one or more subnet IDs in your Amazon VPC.

Returns:

  • (Array<String>)


2080
2081
2082
2083
2084
2085
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 2080

class VpcConfig < Struct.new(
  :vpc_id,
  :subnets,
  :security_group_ids)
  include Aws::Structure
end

#vpc_idString

The ID of the Amazon VPC.

Returns:

  • (String)


2080
2081
2082
2083
2084
2085
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 2080

class VpcConfig < Struct.new(
  :vpc_id,
  :subnets,
  :security_group_ids)
  include Aws::Structure
end