interface AssociateCloudMapServiceOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ECS.AssociateCloudMapServiceOptions |
Java | software.amazon.awscdk.services.ecs.AssociateCloudMapServiceOptions |
Python | aws_cdk.aws_ecs.AssociateCloudMapServiceOptions |
TypeScript (source) | @aws-cdk/aws-ecs » AssociateCloudMapServiceOptions |
The options for using a cloudmap service.
Example
declare const cloudMapService: cloudmap.Service;
declare const ecsService: ecs.FargateService;
ecsService.associateCloudMapService({
service: cloudMapService,
});
Properties
Name | Type | Description |
---|---|---|
service | IService | The cloudmap service to register with. |
container? | Container | The container to point to for a SRV record. |
container | number | The port to point to for a SRV record. |
service
Type:
IService
The cloudmap service to register with.
container?
Type:
Container
(optional, default: the task definition's default container)
The container to point to for a SRV record.
containerPort?
Type:
number
(optional, default: the default port of the task definition's default container)
The port to point to for a SRV record.