Interface IAliasTargetInstanceProps
Namespace: Amazon.CDK.AWS.ServiceDiscovery
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAliasTargetInstanceProps : IBaseInstanceProps
Syntax (vb)
Public Interface IAliasTargetInstanceProps
Inherits 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 aliasTargetInstanceProps = new AliasTargetInstanceProps {
DnsName = "dnsName",
Service = service,
// the properties below are optional
CustomAttributes = new Dictionary<string, string> {
{ "customAttributesKey", "customAttributes" }
},
InstanceId = "instanceId"
};
Synopsis
Properties
Dns |
DNS name of the target. |
Service | The Cloudmap service this resource is registered to. |
Properties
DnsName
DNS name of the target.
string DnsName { get; }
Property Value
System.
Service
The Cloudmap service this resource is registered to.
IService Service { get; }
Property Value