Interface CfnCapacityProvider.CapacityProviderVpcConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCapacityProvider.CapacityProviderVpcConfigProperty.Jsii$Proxy
- Enclosing class:
CfnCapacityProvider
@Stability(Stable)
public static interface CfnCapacityProvider.CapacityProviderVpcConfigProperty
extends software.amazon.jsii.JsiiSerializable
VPC configuration for the capacity provider.
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.lambda.*;
CapacityProviderVpcConfigProperty capacityProviderVpcConfigProperty = CapacityProviderVpcConfigProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCapacityProvider.CapacityProviderVpcConfigPropertystatic final classAn implementation forCfnCapacityProvider.CapacityProviderVpcConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()A list of security group IDs to associate with EC2 instances.A list of subnet IDs where the capacity provider can launch EC2 instances.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSecurityGroupIds
A list of security group IDs to associate with EC2 instances.- See Also:
-
getSubnetIds
A list of subnet IDs where the capacity provider can launch EC2 instances.- See Also:
-
builder
-