interface ServiceReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.ServiceDiscovery.ServiceReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awsservicediscovery#ServiceReference |
Java | software.amazon.awscdk.interfaces.servicediscovery.ServiceReference |
Python | aws_cdk.interfaces.aws_servicediscovery.ServiceReference |
TypeScript | aws-cdk-lib » interfaces » aws_servicediscovery » 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_servicediscovery as interfaces_servicediscovery } from 'aws-cdk-lib/interfaces';
const serviceReference: interfaces_servicediscovery.ServiceReference = {
serviceArn: 'serviceArn',
serviceId: 'serviceId',
};
Properties
| Name | Type | Description |
|---|---|---|
| service | string | The ARN of the Service resource. |
| service | string | The Id of the Service resource. |
serviceArn
Type:
string
The ARN of the Service resource.
serviceId
Type:
string
The Id of the Service resource.

.NET
Go
Java
Python
TypeScript