Interface IServiceAttributes
Namespace: Amazon.CDK.AWS.ServiceDiscovery
Assembly: Amazon.CDK.AWS.ServiceDiscovery.dll
Syntax (csharp)
public interface IServiceAttributes
Syntax (vb)
Public Interface IServiceAttributes
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;
INamespace namespace;
var serviceAttributes = new ServiceAttributes {
DnsRecordType = DnsRecordType.A,
Namespace = namespace,
RoutingPolicy = RoutingPolicy.WEIGHTED,
ServiceArn = "serviceArn",
ServiceId = "serviceId",
ServiceName = "serviceName"
};
Synopsis
Properties
DnsRecordType | |
Namespace | |
RoutingPolicy | |
ServiceArn | |
ServiceId | |
ServiceName |
Properties
DnsRecordType
Namespace
RoutingPolicy
ServiceArn
string ServiceArn { get; }
Property Value
System.String
ServiceId
string ServiceId { get; }
Property Value
System.String
ServiceName
string ServiceName { get; }
Property Value
System.String