FargateServiceAttributes
- class aws_cdk.aws_ecs.FargateServiceAttributes(*, cluster, service_arn=None, service_name=None)
Bases:
object
The properties to import from the service using the Fargate 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 fargate_service_attributes = ecs.FargateServiceAttributes( cluster=cluster, # the properties below are optional service_arn="serviceArn", service_name="serviceName" )
Attributes
- cluster
The cluster that hosts the service.