interface ServiceReference
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ServiceDiscovery.ServiceReference |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsservicediscovery#ServiceReference |
![]() | software.amazon.awscdk.services.servicediscovery.ServiceReference |
![]() | aws_cdk.aws_servicediscovery.ServiceReference |
![]() | aws-cdk-lib » 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 servicediscovery } from 'aws-cdk-lib';
const serviceReference: 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.