@Stability(value=Stable)
public static interface CfnRule.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.events.*;
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 |
CfnRule.NetworkConfigurationProperty.Builder
A builder for
CfnRule.NetworkConfigurationProperty |
static class |
CfnRule.NetworkConfigurationProperty.Jsii$Proxy
An implementation for
CfnRule.NetworkConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRule.NetworkConfigurationProperty.Builder |
builder() |
default Object |
getAwsVpcConfiguration()
Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP address is to be used.
|
@Stability(value=Stable) @Nullable default Object getAwsVpcConfiguration()
This structure is relevant only for ECS tasks that use the awsvpc network mode.
@Stability(value=Stable) static CfnRule.NetworkConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.