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.
This structure specifies the VPC subnets and security groups for the task, and whether
a public IP address is to be used. This structure is relevant only for ECS tasks that
use the awsvpc
network mode.
Namespace: Amazon.CloudWatchEvents.Model
Assembly: AWSSDK.CloudWatchEvents.dll
Version: 3.x.y.z
public class AwsVpcConfiguration
The AwsVpcConfiguration type exposes the following members
Name | Description | |
---|---|---|
AwsVpcConfiguration() |
Name | Type | Description | |
---|---|---|---|
AssignPublicIp | Amazon.CloudWatchEvents.AssignPublicIp |
Gets and sets the property AssignPublicIp.
Specifies whether the task's elastic network interface receives a public IP address.
You can specify |
|
SecurityGroups | System.Collections.Generic.List<System.String> |
Gets and sets the property SecurityGroups. Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used. |
|
Subnets | System.Collections.Generic.List<System.String> |
Gets and sets the property Subnets. Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5