@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.573Z") @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.