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.
Each alias ("endpoint") is a fully-qualified name and port number that other tasks ("clients") can use to connect to this service.
Each name and port mapping must be unique within the namespace.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z
public class ServiceConnectClientAlias
The ServiceConnectClientAlias type exposes the following members
Name | Description | |
---|---|---|
![]() |
ServiceConnectClientAlias() |
Name | Type | Description | |
---|---|---|---|
![]() |
DnsName | System.String |
Gets and sets the property DnsName.
The
If this parameter isn't specified, the default value of
To avoid changing your applications in client Amazon ECS services, set this to the
same name that the client application uses by default. For example, a few common names
are |
![]() |
Port | System.Int32 |
Gets and sets the property Port. The listening port number for the Service Connect proxy. This port is available inside of all of the tasks within the same namespace. To avoid changing your applications in client Amazon ECS services, set this to the same port that the client application uses by default. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide. |
![]() |
TestTrafficRules | Amazon.ECS.Model.ServiceConnectTestTrafficRules |
Gets and sets the property TestTrafficRules. The configuration for test traffic routing rules used during blue/green deployments with Amazon ECS Service Connect. This allows you to route a portion of traffic to the new service revision of your service for testing before shifting all production traffic. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5