Interface IBaseInstanceProps
Used when the resource that's associated with the service instance is accessible using values other than an IP address or a domain name (CNAME), i.e. for non-ip-instances.
Namespace: Amazon.CDK.AWS.ServiceDiscovery
Assembly: Amazon.CDK.AWS.ServiceDiscovery.dll
Syntax (csharp)
public interface IBaseInstanceProps
Syntax (vb)
Public Interface IBaseInstanceProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ServiceDiscovery;
var baseInstanceProps = new BaseInstanceProps {
CustomAttributes = new Dictionary<string, string> {
{ "customAttributesKey", "customAttributes" }
},
InstanceId = "instanceId"
};
Synopsis
Properties
CustomAttributes | Custom attributes of the instance. |
InstanceId | The id of the instance resource. |
Properties
CustomAttributes
Custom attributes of the instance.
virtual IDictionary<string, string> CustomAttributes { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
Remarks
Default: none
InstanceId
The id of the instance resource.
virtual string InstanceId { get; }
Property Value
System.String
Remarks
Default: Automatically generated name