Class CfnService.NetworkConfigurationProperty
The network configuration for a task or service.
Inheritance
System.Object
CfnService.NetworkConfigurationProperty
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class NetworkConfigurationProperty : Object, CfnService.INetworkConfigurationProperty
Syntax (vb)
Public Class NetworkConfigurationProperty
Inherits Object
Implements CfnService.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.ECS;
var networkConfigurationProperty = new NetworkConfigurationProperty {
AwsvpcConfiguration = new AwsVpcConfigurationProperty {
AssignPublicIp = "assignPublicIp",
SecurityGroups = new [] { "securityGroups" },
Subnets = new [] { "subnets" }
}
};
Synopsis
Constructors
NetworkConfigurationProperty() |
Properties
AwsvpcConfiguration | The VPC subnets and security groups that are associated with a task. |
Constructors
NetworkConfigurationProperty()
public NetworkConfigurationProperty()
Properties
AwsvpcConfiguration
The VPC subnets and security groups that are associated with a task.
public object AwsvpcConfiguration { get; set; }
Property Value
System.Object
Remarks
All specified subnets and security groups must be from the same VPC.