interface NonIpInstanceProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ServiceDiscovery.NonIpInstanceProps |
![]() | software.amazon.awscdk.services.servicediscovery.NonIpInstanceProps |
![]() | aws_cdk.aws_servicediscovery.NonIpInstanceProps |
![]() | @aws-cdk/aws-servicediscovery » NonIpInstanceProps |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as servicediscovery from '@aws-cdk/aws-servicediscovery';
declare const service: servicediscovery.Service;
const nonIpInstanceProps: servicediscovery.NonIpInstanceProps = {
service: service,
// the properties below are optional
customAttributes: {
customAttributesKey: 'customAttributes',
},
instanceId: 'instanceId',
};
Properties
Name | Type | Description |
---|---|---|
service | IService | The Cloudmap service this resource is registered to. |
custom | { [string]: string } | Custom attributes of the instance. |
instance | string | The id of the instance resource. |
service
Type:
IService
The Cloudmap service this resource is registered to.
customAttributes?
Type:
{ [string]: string }
(optional, default: none)
Custom attributes of the instance.
instanceId?
Type:
string
(optional, default: Automatically generated name)
The id of the instance resource.