@Stability(value=Stable)
public static interface CfnProject.VpcConfigProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnProject.VpcConfigProperty.Builder
A builder for
CfnProject.VpcConfigProperty |
static class |
CfnProject.VpcConfigProperty.Jsii$Proxy
An implementation for
CfnProject.VpcConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnProject.VpcConfigProperty.Builder |
builder() |
default List<String> |
getSecurityGroupIds()
A list of one or more security groups IDs in your Amazon VPC.
|
default List<String> |
getSubnets()
A list of one or more subnet IDs in your Amazon VPC.
|
default String |
getVpcId()
The ID of the Amazon VPC.
|
@Stability(value=Stable) @Nullable default List<String> getSecurityGroupIds()
The maximum count is 5.
@Stability(value=Stable) @Nullable default List<String> getSubnets()
The maximum count is 16.
@Stability(value=Stable) @Nullable default String getVpcId()
@Stability(value=Stable) static CfnProject.VpcConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.