ServiceAttributes

class aws_cdk.aws_servicediscovery.ServiceAttributes(*, dns_record_type, namespace, routing_policy, service_arn, service_id, service_name)

Bases: object

Parameters

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_servicediscovery as servicediscovery

# namespace is of type INamespace

service_attributes = servicediscovery.ServiceAttributes(
    dns_record_type=servicediscovery.DnsRecordType.A,
    namespace=namespace,
    routing_policy=servicediscovery.RoutingPolicy.WEIGHTED,
    service_arn="serviceArn",
    service_id="serviceId",
    service_name="serviceName"
)

Attributes

dns_record_type
Return type

DnsRecordType

namespace
Return type

INamespace

routing_policy
Return type

RoutingPolicy

service_arn
Return type

str

service_id
Return type

str

service_name
Return type

str