Show / Hide Table of Contents

Interface IExternalServiceProps

The properties for defining a service using the External launch type.

Inherited Members
IBaseServiceOptions.Cluster
IBaseServiceOptions.CapacityProviderStrategies
IBaseServiceOptions.CircuitBreaker
IBaseServiceOptions.CloudMapOptions
IBaseServiceOptions.DeploymentController
IBaseServiceOptions.DesiredCount
IBaseServiceOptions.EnableECSManagedTags
IBaseServiceOptions.EnableExecuteCommand
IBaseServiceOptions.HealthCheckGracePeriod
IBaseServiceOptions.MaxHealthyPercent
IBaseServiceOptions.MinHealthyPercent
IBaseServiceOptions.PropagateTags
IBaseServiceOptions.PropagateTaskTagsFrom
IBaseServiceOptions.ServiceName
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

ISecurityGroup[]

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

TaskDefinition

Remarks

[disable-awslint:ref-via-interface]

Back to top Generated by DocFX