Class ServiceAttributes
Inheritance
System.Object
ServiceAttributes
Implements
Namespace: Amazon.CDK.AWS.ServiceDiscovery
Assembly: Amazon.CDK.AWS.ServiceDiscovery.dll
Syntax (csharp)
public class ServiceAttributes : Object, IServiceAttributes
Syntax (vb)
Public Class ServiceAttributes
Inherits Object
Implements 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
Constructors
ServiceAttributes() |
Properties
DnsRecordType | |
Namespace | |
RoutingPolicy | |
ServiceArn | |
ServiceId | |
ServiceName |
Constructors
ServiceAttributes()
public ServiceAttributes()
Properties
DnsRecordType
Namespace
RoutingPolicy
ServiceArn
public string ServiceArn { get; set; }
Property Value
System.String
ServiceId
public string ServiceId { get; set; }
Property Value
System.String
ServiceName
public string ServiceName { get; set; }
Property Value
System.String