Interface CfnService.ServiceRegistryProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnService.ServiceRegistryProperty.Jsii$Proxy
Enclosing class:
CfnService

@Stability(Stable) public static interface CfnService.ServiceRegistryProperty extends software.amazon.jsii.JsiiSerializable
The details for the service registry.

Each service may be associated with one service registry. Multiple service registries for each service are not supported.

When you add, update, or remove the service registries configuration, Amazon ECS starts a new deployment. New tasks are registered and deregistered to the updated service registry configuration.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ecs.*;
 ServiceRegistryProperty serviceRegistryProperty = ServiceRegistryProperty.builder()
         .containerName("containerName")
         .containerPort(123)
         .port(123)
         .registryArn("registryArn")
         .build();
 

See Also: