Interface IAssociateCloudMapServiceOptions
The options for using a cloudmap service.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface IAssociateCloudMapServiceOptions
Syntax (vb)
Public Interface IAssociateCloudMapServiceOptions
Remarks
ExampleMetadata: infused
Examples
Service cloudMapService;
FargateService ecsService;
ecsService.AssociateCloudMapService(new AssociateCloudMapServiceOptions {
Service = cloudMapService
});
Synopsis
Properties
Container | The container to point to for a SRV record. |
ContainerPort | The port to point to for a SRV record. |
Service | The cloudmap service to register with. |
Properties
Container
The container to point to for a SRV record.
virtual ContainerDefinition Container { get; }
Property Value
Remarks
Default: - the task definition's default container
ContainerPort
The port to point to for a SRV record.
virtual Nullable<double> ContainerPort { get; }
Property Value
System.Nullable<System.Double>
Remarks
Default: - the default port of the task definition's default container