interface ScheduledFargateTaskDefinitionOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ECS.Patterns.ScheduledFargateTaskDefinitionOptions |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsecspatterns#ScheduledFargateTaskDefinitionOptions |
![]() | software.amazon.awscdk.services.ecs.patterns.ScheduledFargateTaskDefinitionOptions |
![]() | aws_cdk.aws_ecs_patterns.ScheduledFargateTaskDefinitionOptions |
![]() | 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
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]