ScheduledEc2TaskDefinitionOptions

class aws_cdk.aws_ecs_patterns.ScheduledEc2TaskDefinitionOptions(*, task_definition)

Bases: object

__init__(*, task_definition)

The properties for the ScheduledEc2Task using a task definition.

Parameters

task_definition (Ec2TaskDefinition) – The task definition to use for tasks in the service. One of image or taskDefinition must be specified. [disable-awslint:ref-via-interface] Default: - none

Attributes

task_definition

The task definition to use for tasks in the service. One of image or taskDefinition must be specified.

[disable-awslint:ref-via-interface]

default :default: - none

Return type

Ec2TaskDefinition