interface ScheduledFargateTaskDefinitionOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ECS.Patterns.ScheduledFargateTaskDefinitionOptions |
Java | software.amazon.awscdk.services.ecs.patterns.ScheduledFargateTaskDefinitionOptions |
Python | aws_cdk.aws_ecs_patterns.ScheduledFargateTaskDefinitionOptions |
TypeScript (source) | @aws-cdk/aws-ecs-patterns » ScheduledFargateTaskDefinitionOptions |
The properties for the ScheduledFargateTask using a task definition.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ecs from '@aws-cdk/aws-ecs';
import * as ecs_patterns from '@aws-cdk/aws-ecs-patterns';
declare const fargateTaskDefinition: ecs.FargateTaskDefinition;
const scheduledFargateTaskDefinitionOptions: ecs_patterns.ScheduledFargateTaskDefinitionOptions = {
taskDefinition: fargateTaskDefinition,
};
Properties
Name | Type | Description |
---|---|---|
task | Fargate | The task definition to use for tasks in the service. Image or taskDefinition must be specified, but not both. |
taskDefinition
Type:
Fargate
The task definition to use for tasks in the service. Image or taskDefinition must be specified, but not both.
[disable-awslint:ref-via-interface]