AwsEcsServiceServiceRegistriesDetails - AWS Security Hub

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 or host network mode, you must specify ContainerName and ContainerPort.

If the task definition uses the awsvpc network mode and a type SRV DNS record, you must specify either ContainerName and ContainerPort, or Port , 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 or host network mode, you must specify ContainerName and ContainerPort.

If the task definition uses the awsvpc network mode and a type SRV DNS record, you must specify either ContainerName and ContainerPort, or Port , 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: