ExternalServiceAttributes
- class aws_cdk.aws_ecs.ExternalServiceAttributes(*, cluster, service_arn=None, service_name=None)
Bases:
object
The properties to import from the service using the External launch type.
- Parameters:
- 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_ecs as ecs # cluster: ecs.Cluster external_service_attributes = ecs.ExternalServiceAttributes( cluster=cluster, # the properties below are optional service_arn="serviceArn", service_name="serviceName" )
Attributes
- cluster
The cluster that hosts the service.