AwsEcsServiceServiceRegistriesDetails
Information about a service discovery registry to assign to the service.
Contents
- ContainerName
-
The container name value to use for the service discovery service.
If the task definition uses the
bridge
orhost
network mode, you must specifyContainerName
andContainerPort
.If the task definition uses the
awsvpc
network mode and a type SRV DNS record, you must specify eitherContainerName
andContainerPort
, orPort
, but not both.Type: String
Pattern:
.*\S.*
Required: No
- ContainerPort
-
The port value to use for the service discovery service.
If the task definition uses the
bridge
orhost
network mode, you must specifyContainerName
andContainerPort
.If the task definition uses the
awsvpc
network mode and a type SRV DNS record, you must specify eitherContainerName
andContainerPort
, orPort
, but not both.Type: Integer
Required: No
- Port
-
The port value to use for a service discovery service that specifies an SRV record. This field can be used if both the
awsvpc
awsvpc network mode and SRV records are used.Type: Integer
Required: No
- RegistryArn
-
The ARN of the service registry.
Type: String
Pattern:
.*\S.*
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: