Show / Hide Table of Contents

Interface CfnTaskSet.INetworkConfigurationProperty

The network configuration for a task or service.

Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnTaskSet.INetworkConfigurationProperty
Syntax (vb)
Public Interface CfnTaskSet.INetworkConfigurationProperty
Remarks

See: 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

Properties

AwsVpcConfiguration

The VPC subnets and security groups that are associated with a task.

Properties

AwsVpcConfiguration

The VPC subnets and security groups that are associated with a task.

object? AwsVpcConfiguration { get; }
Property Value

object

Remarks
All specified subnets and security groups must be from the same VPC.

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

Back to top Generated by DocFX