interface ServiceReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ECS.ServiceReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#ServiceReference |
Java | software.amazon.awscdk.services.ecs.ServiceReference |
Python | aws_cdk.aws_ecs.ServiceReference |
TypeScript | aws-cdk-lib » 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 ecs } from 'aws-cdk-lib';
const serviceReference: 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