Show / Hide Table of Contents

Class CfnRule.NetworkConfigurationProperty

This structure specifies the network configuration for an ECS task.

Inheritance
object
CfnRule.NetworkConfigurationProperty
Implements
CfnRule.INetworkConfigurationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRule.NetworkConfigurationProperty : CfnRule.INetworkConfigurationProperty
Syntax (vb)
Public Class CfnRule.NetworkConfigurationProperty Implements CfnRule.INetworkConfigurationProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-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.Events;

             var networkConfigurationProperty = new NetworkConfigurationProperty {
                 AwsVpcConfiguration = new AwsVpcConfigurationProperty {
                     Subnets = new [] { "subnets" },

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

Synopsis

Constructors

NetworkConfigurationProperty()

This structure specifies the network configuration for an ECS task.

Properties

AwsVpcConfiguration

Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP address is to be used.

Constructors

NetworkConfigurationProperty()

This structure specifies the network configuration for an ECS task.

public NetworkConfigurationProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-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.Events;

             var networkConfigurationProperty = new NetworkConfigurationProperty {
                 AwsVpcConfiguration = new AwsVpcConfigurationProperty {
                     Subnets = new [] { "subnets" },

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

Properties

AwsVpcConfiguration

Use this structure to specify the 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

object

Remarks

This structure is relevant only for ECS tasks that use the awsvpc network mode.

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

Type union: either IResolvable or CfnRule.IAwsVpcConfigurationProperty

Implements

CfnRule.INetworkConfigurationProperty
Back to top Generated by DocFX