Class CfnSchedule.NetworkConfigurationProperty
Specifies the network configuration for an ECS task.
Inheritance
System.Object
CfnSchedule.NetworkConfigurationProperty
Implements
Namespace: Amazon.CDK.AWS.Scheduler
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class NetworkConfigurationProperty : Object, CfnSchedule.INetworkConfigurationProperty
Syntax (vb)
Public Class NetworkConfigurationProperty
Inherits Object
Implements CfnSchedule.INetworkConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Scheduler;
var networkConfigurationProperty = new NetworkConfigurationProperty {
AwsvpcConfiguration = new AwsVpcConfigurationProperty {
Subnets = new [] { "subnets" },
// the properties below are optional
AssignPublicIp = "assignPublicIp",
SecurityGroups = new [] { "securityGroups" }
}
};
Synopsis
Constructors
NetworkConfigurationProperty() |
Properties
AwsvpcConfiguration | Specifies the Amazon VPC subnets and security groups for the task, and whether a public IP address is to be used. |
Constructors
NetworkConfigurationProperty()
public NetworkConfigurationProperty()
Properties
AwsvpcConfiguration
Specifies the Amazon VPC subnets and security groups for the task, and whether a public IP address is to be used.
public object AwsvpcConfiguration { get; set; }
Property Value
System.Object
Remarks
This structure is relevant only for ECS tasks that use the awsvpc network mode.