ServiceAttributes
- class aws_cdk.aws_servicediscovery.ServiceAttributes(*, dns_record_type, namespace, routing_policy, service_arn, service_id, service_name)
Bases:
object
- Parameters:
dns_record_type (
DnsRecordType
)namespace (
INamespace
)routing_policy (
RoutingPolicy
)service_arn (
str
)service_id (
str
)service_name (
str
)
- ExampleMetadata:
fixture=_generated
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: servicediscovery.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
- namespace
- routing_policy
- service_arn
- service_id
- service_name