VpcConfig

public struct VpcConfig : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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.

    Declaration

    Swift

    public let securityGroupIds: [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.

    Declaration

    Swift

    public let subnets: [String]
  • Undocumented

    Declaration

    Swift

    public init(securityGroupIds: [String], subnets: [String])
  • Declaration

    Swift

    public func validate(name: String) throws