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
bridgeorhostnetwork mode, you must specifyContainerNameandContainerPort.If the task definition uses the
awsvpcnetwork mode and a type SRV DNS record, you must specify eitherContainerNameandContainerPort, 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
bridgeorhostnetwork mode, you must specifyContainerNameandContainerPort.If the task definition uses the
awsvpcnetwork mode and a type SRV DNS record, you must specify eitherContainerNameandContainerPort, 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
awsvpcawsvpc 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: