Interface IExternalServiceProps
The properties for defining a service using the External launch type.
Inherited Members
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface IExternalServiceProps : IBaseServiceOptions
Syntax (vb)
Public Interface IExternalServiceProps
Inherits IBaseServiceOptions
Remarks
ExampleMetadata: infused
Examples
Cluster cluster;
TaskDefinition taskDefinition;
var service = new ExternalService(this, "Service", new ExternalServiceProps {
Cluster = cluster,
TaskDefinition = taskDefinition,
DesiredCount = 5
});
Synopsis
Properties
SecurityGroups | The security groups to associate with the service. |
TaskDefinition | The task definition to use for tasks in the service. |
Properties
SecurityGroups
The security groups to associate with the service.
virtual ISecurityGroup[] SecurityGroups { get; }
Property Value
Remarks
If you do not specify a security group, a new security group is created.
Default: - A new security group is created.
TaskDefinition
The task definition to use for tasks in the service.
TaskDefinition TaskDefinition { get; }
Property Value
Remarks
[disable-awslint:ref-via-interface]