@Stability(value=Stable)
public static interface CfnService.NetworkConfigurationProperty
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.ecs.*;
NetworkConfigurationProperty networkConfigurationProperty = NetworkConfigurationProperty.builder()
.awsvpcConfiguration(AwsVpcConfigurationProperty.builder()
.subnets(List.of("subnets"))
// the properties below are optional
.assignPublicIp("assignPublicIp")
.securityGroups(List.of("securityGroups"))
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnService.NetworkConfigurationProperty.Builder
A builder for
CfnService.NetworkConfigurationProperty |
static class |
CfnService.NetworkConfigurationProperty.Jsii$Proxy
An implementation for
CfnService.NetworkConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnService.NetworkConfigurationProperty.Builder |
builder() |
default Object |
getAwsvpcConfiguration()
The VPC subnets and security groups that are associated with a task.
|
@Stability(value=Stable) @Nullable default Object getAwsvpcConfiguration()
All specified subnets and security groups must be from the same VPC.
@Stability(value=Stable) static CfnService.NetworkConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.