@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-20T22:20:05.183Z") @Stability(value=Stable) public interface AssociateCloudMapServiceOptions extends software.amazon.jsii.JsiiSerializable
Example:
Service cloudMapService; FargateService ecsService; ecsService.associateCloudMapService(AssociateCloudMapServiceOptions.builder() .service(cloudMapService) .build());
Modifier and Type | Interface and Description |
---|---|
static class |
AssociateCloudMapServiceOptions.Builder
A builder for
AssociateCloudMapServiceOptions |
static class |
AssociateCloudMapServiceOptions.Jsii$Proxy
An implementation for
AssociateCloudMapServiceOptions |
Modifier and Type | Method and Description |
---|---|
static AssociateCloudMapServiceOptions.Builder |
builder() |
default ContainerDefinition |
getContainer()
The container to point to for a SRV record.
|
default Number |
getContainerPort()
The port to point to for a SRV record.
|
IService |
getService()
The cloudmap service to register with.
|
@Stability(value=Stable) @NotNull IService getService()
@Stability(value=Stable) @Nullable default ContainerDefinition getContainer()
Default: - the task definition's default container
@Stability(value=Stable) @Nullable default Number getContainerPort()
Default: - the default port of the task definition's default container
@Stability(value=Stable) static AssociateCloudMapServiceOptions.Builder builder()
Copyright © 2022. All rights reserved.