Class AssociateCloudMapServiceOptions
The options for using a cloudmap service.
Inheritance
System.Object
AssociateCloudMapServiceOptions
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AssociateCloudMapServiceOptions : Object, IAssociateCloudMapServiceOptions
Syntax (vb)
Public Class AssociateCloudMapServiceOptions
Inherits Object
Implements IAssociateCloudMapServiceOptions
Remarks
ExampleMetadata: infused
Examples
Service cloudMapService;
FargateService ecsService;
ecsService.AssociateCloudMapService(new AssociateCloudMapServiceOptions {
Service = cloudMapService
});
Synopsis
Constructors
AssociateCloudMapServiceOptions() |
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. |
Constructors
AssociateCloudMapServiceOptions()
public AssociateCloudMapServiceOptions()
Properties
Container
The container to point to for a SRV record.
public ContainerDefinition Container { get; set; }
Property Value
Remarks
Default: - the task definition's default container
ContainerPort
The port to point to for a SRV record.
public Nullable<double> ContainerPort { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Default: - the default port of the task definition's default container
Service
The cloudmap service to register with.
public IService Service { get; set; }
Property Value