Interface CfnProject.VpcConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnProject.VpcConfigProperty.Jsii$Proxy
- Enclosing class:
CfnProject
@Stability(Stable)
public static interface CfnProject.VpcConfigProperty
extends software.amazon.jsii.JsiiSerializable
VpcConfig
is a property of the AWS::CodeBuild::Project resource that enable AWS CodeBuild to access resources in an Amazon VPC. For more information, see Use AWS CodeBuild with Amazon Virtual Private Cloud in the AWS CodeBuild User Guide .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.codebuild.*; VpcConfigProperty vpcConfigProperty = VpcConfigProperty.builder() .securityGroupIds(List.of("securityGroupIds")) .subnets(List.of("subnets")) .vpcId("vpcId") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnProject.VpcConfigProperty
static final class
An implementation forCfnProject.VpcConfigProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSecurityGroupIds
A list of one or more security groups IDs in your Amazon VPC.The maximum count is 5.
-
getSubnets
A list of one or more subnet IDs in your Amazon VPC.The maximum count is 16.
-
getVpcId
The ID of the Amazon VPC. -
builder
-