interface ServiceReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.ECS.ServiceReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awsecs#ServiceReference |
Java | software.amazon.awscdk.interfaces.ecs.ServiceReference |
Python | aws_cdk.interfaces.aws_ecs.ServiceReference |
TypeScript | aws-cdk-lib » interfaces » aws_ecs » ServiceReference |
A reference to a Service resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as interfaces_aws_ecs } from 'aws-cdk-lib/interfaces';
const serviceReference: interfaces_aws_ecs.ServiceReference = {
cluster: 'cluster',
serviceArn: 'serviceArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| cluster | string | The Cluster of the Service resource. |
| service | string | The ServiceArn of the Service resource. |
cluster
Type:
string
The Cluster of the Service resource.
serviceArn
Type:
string
The ServiceArn of the Service resource.

.NET
Go
Java
Python
TypeScript