Interface CfnSchedule.NetworkConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSchedule.NetworkConfigurationProperty.Jsii$Proxy
- Enclosing class:
- CfnSchedule
@Stability(Stable)
public static interface CfnSchedule.NetworkConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the network configuration for an ECS task.
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.scheduler.*;
NetworkConfigurationProperty networkConfigurationProperty = NetworkConfigurationProperty.builder()
.awsvpcConfiguration(AwsVpcConfigurationProperty.builder()
.subnets(List.of("subnets"))
// the properties below are optional
.assignPublicIp("assignPublicIp")
.securityGroups(List.of("securityGroups"))
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSchedule.NetworkConfigurationPropertystatic final classAn implementation forCfnSchedule.NetworkConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAwsvpcConfiguration
Specifies the Amazon VPC subnets and security groups for the task, and whether a public IP address is to be used.This structure is relevant only for ECS tasks that use the awsvpc network mode.
-
builder
-