Class BaseInstanceProps
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.
Inheritance
System.Object
BaseInstanceProps
Implements
Namespace: Amazon.CDK.AWS.ServiceDiscovery
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class BaseInstanceProps : Object, IBaseInstanceProps
Syntax (vb)
Public Class BaseInstanceProps
Inherits Object
Implements 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
Constructors
BaseInstanceProps() |
Properties
CustomAttributes | Custom attributes of the instance. |
InstanceId | The id of the instance resource. |
Constructors
BaseInstanceProps()
public BaseInstanceProps()
Properties
CustomAttributes
Custom attributes of the instance.
public IDictionary<string, string> CustomAttributes { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
Remarks
Default: none
InstanceId
The id of the instance resource.
public string InstanceId { get; set; }
Property Value
System.String
Remarks
Default: Automatically generated name