Show / Hide Table of Contents

Class CfnTaskSet.NetworkConfigurationProperty

The network configuration for a task or service.

Inheritance
System.Object
CfnTaskSet.NetworkConfigurationProperty
Implements
CfnTaskSet.INetworkConfigurationProperty
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public class NetworkConfigurationProperty : Object, CfnTaskSet.INetworkConfigurationProperty
Syntax (vb)
Public Class NetworkConfigurationProperty
    Inherits Object
    Implements CfnTaskSet.INetworkConfigurationProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-networkconfiguration.html

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 {
        Subnets = new [] { "subnets" },

        // the properties below are optional
        AssignPublicIp = "assignPublicIp",
        SecurityGroups = new [] { "securityGroups" }
    }
};

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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-networkconfiguration.html#cfn-ecs-taskset-networkconfiguration-awsvpcconfiguration

Implements

CfnTaskSet.INetworkConfigurationProperty
Back to top Generated by DocFX