public static interface CfnRule.NetworkConfigurationProperty
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 java.lang.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.
|
default java.lang.Object getAwsVpcConfiguration()
This structure is relevant only for ECS tasks that use the awsvpc
network mode.
static CfnRule.NetworkConfigurationProperty.Builder builder()