Interface IFargateServiceAttributes
The properties to import from the service using the Fargate launch type.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface IFargateServiceAttributes
Syntax (vb)
Public Interface IFargateServiceAttributes
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
Cluster cluster;
var fargateServiceAttributes = new FargateServiceAttributes {
Cluster = cluster,
// the properties below are optional
ServiceArn = "serviceArn",
ServiceName = "serviceName"
};
Synopsis
Properties
Cluster | The cluster that hosts the service. |
ServiceArn | The service ARN. |
ServiceName | The name of the service. |
Properties
Cluster
ServiceArn
The service ARN.
virtual string ServiceArn { get; }
Property Value
System.String
Remarks
Default: - either this, or {@link serviceName}, is required
ServiceName
The name of the service.
virtual string ServiceName { get; }
Property Value
System.String
Remarks
Default: - either this, or {@link serviceArn}, is required