AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
An object representing the networking details for a task or service. For example awsvpcConfiguration={subnets=["subnet-12344321"],securityGroups=["sg-12344321"]}
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z
public class AwsVpcConfiguration
The AwsVpcConfiguration type exposes the following members
Name | Description | |
---|---|---|
AwsVpcConfiguration() |
Name | Type | Description | |
---|---|---|---|
AssignPublicIp | Amazon.ECS.AssignPublicIp |
Gets and sets the property AssignPublicIp.
Whether the task's elastic network interface receives a public IP address. The default
value is |
|
SecurityGroups | System.Collections.Generic.List<System.String> |
Gets and sets the property SecurityGroups.
The IDs of the security groups associated with the task or service. If you don't specify
a security group, the default security group for the VPC is used. There's a limit
of 5 security groups that can be specified per All specified security groups must be from the same VPC. |
|
Subnets | System.Collections.Generic.List<System.String> |
Gets and sets the property Subnets.
The IDs of the subnets associated with the task or service. There's a limit of 16
subnets that can be specified per All specified subnets must be from the same VPC. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5