aws-cdk-lib.aws_ecs_patterns.ScheduledFargateTaskDefinitionOptions

interface ScheduledFargateTaskDefinitionOptions

LanguageType name
.NETAmazon.CDK.AWS.ECS.Patterns.ScheduledFargateTaskDefinitionOptions
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsecspatterns#ScheduledFargateTaskDefinitionOptions
Javasoftware.amazon.awscdk.services.ecs.patterns.ScheduledFargateTaskDefinitionOptions
Pythonaws_cdk.aws_ecs_patterns.ScheduledFargateTaskDefinitionOptions
TypeScript (source)aws-cdk-lib » 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 { aws_ecs as ecs } from 'aws-cdk-lib';
import { aws_ecs_patterns as ecs_patterns } from 'aws-cdk-lib';

declare const fargateTaskDefinition: ecs.FargateTaskDefinition;
const scheduledFargateTaskDefinitionOptions: ecs_patterns.ScheduledFargateTaskDefinitionOptions = {
  taskDefinition: fargateTaskDefinition,
};

Properties

NameTypeDescription
taskDefinitionFargateTaskDefinitionThe task definition to use for tasks in the service. Image or taskDefinition must be specified, but not both.

taskDefinition

Type: FargateTaskDefinition

The task definition to use for tasks in the service. Image or taskDefinition must be specified, but not both.

[disable-awslint:ref-via-interface]