Class NonIpInstanceProps
Inheritance
System.Object
NonIpInstanceProps
Namespace: Amazon.CDK.AWS.ServiceDiscovery
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class NonIpInstanceProps : Object, INonIpInstanceProps, INonIpInstanceBaseProps, IBaseInstanceProps
Syntax (vb)
Public Class NonIpInstanceProps
Inherits Object
Implements INonIpInstanceProps, INonIpInstanceBaseProps, 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;
Service service;
var nonIpInstanceProps = new NonIpInstanceProps {
Service = service,
// the properties below are optional
CustomAttributes = new Dictionary<string, string> {
{ "customAttributesKey", "customAttributes" }
},
InstanceId = "instanceId"
};
Synopsis
Constructors
NonIpInstanceProps() |
Properties
CustomAttributes | Custom attributes of the instance. |
InstanceId | The id of the instance resource. |
Service | The Cloudmap service this resource is registered to. |
Constructors
NonIpInstanceProps()
public NonIpInstanceProps()
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
Service
The Cloudmap service this resource is registered to.
public IService Service { get; set; }
Property Value