Show / Hide Table of Contents

Class CfnCapacityProviderPropsMixin.ManagedInstancesNetworkConfigurationProperty

The network configuration for Amazon ECS Managed Instances.

Inheritance
object
CfnCapacityProviderPropsMixin.ManagedInstancesNetworkConfigurationProperty
Implements
CfnCapacityProviderPropsMixin.IManagedInstancesNetworkConfigurationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.ECS.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnCapacityProviderPropsMixin.ManagedInstancesNetworkConfigurationProperty : CfnCapacityProviderPropsMixin.IManagedInstancesNetworkConfigurationProperty
Syntax (vb)
Public Class CfnCapacityProviderPropsMixin.ManagedInstancesNetworkConfigurationProperty Implements CfnCapacityProviderPropsMixin.IManagedInstancesNetworkConfigurationProperty
Remarks

This specifies the VPC subnets and security groups that instances use for network connectivity. Amazon ECS Managed Instances support multiple network modes including awsvpc (instances receive ENIs for task isolation), host (instances share network namespace with tasks), and none (no external network connectivity), ensuring backward compatibility for migrating workloads from Fargate or Amazon EC2.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-managedinstancesnetworkconfiguration.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.Mixins.Preview.AWS.ECS.Mixins;

             var managedInstancesNetworkConfigurationProperty = new ManagedInstancesNetworkConfigurationProperty {
                 SecurityGroups = new [] { "securityGroups" },
                 Subnets = new [] { "subnets" }
             };

Synopsis

Constructors

ManagedInstancesNetworkConfigurationProperty()

The network configuration for Amazon ECS Managed Instances.

Properties

SecurityGroups

The list of security group IDs to apply to Amazon ECS Managed Instances.

Subnets

The list of subnet IDs where Amazon ECS can launch Amazon ECS Managed Instances.

Constructors

ManagedInstancesNetworkConfigurationProperty()

The network configuration for Amazon ECS Managed Instances.

public ManagedInstancesNetworkConfigurationProperty()
Remarks

This specifies the VPC subnets and security groups that instances use for network connectivity. Amazon ECS Managed Instances support multiple network modes including awsvpc (instances receive ENIs for task isolation), host (instances share network namespace with tasks), and none (no external network connectivity), ensuring backward compatibility for migrating workloads from Fargate or Amazon EC2.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-managedinstancesnetworkconfiguration.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.Mixins.Preview.AWS.ECS.Mixins;

             var managedInstancesNetworkConfigurationProperty = new ManagedInstancesNetworkConfigurationProperty {
                 SecurityGroups = new [] { "securityGroups" },
                 Subnets = new [] { "subnets" }
             };

Properties

SecurityGroups

The list of security group IDs to apply to Amazon ECS Managed Instances.

public string[]? SecurityGroups { get; set; }
Property Value

string[]

Remarks

These security groups control the network traffic allowed to and from the instances.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-managedinstancesnetworkconfiguration.html#cfn-ecs-capacityprovider-managedinstancesnetworkconfiguration-securitygroups

Subnets

The list of subnet IDs where Amazon ECS can launch Amazon ECS Managed Instances.

public string[]? Subnets { get; set; }
Property Value

string[]

Remarks

Instances are distributed across the specified subnets for high availability. All subnets must be in the same VPC.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-managedinstancesnetworkconfiguration.html#cfn-ecs-capacityprovider-managedinstancesnetworkconfiguration-subnets

Implements

CfnCapacityProviderPropsMixin.IManagedInstancesNetworkConfigurationProperty
Back to top Generated by DocFX