interface CfnPrimaryTaskSetProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ECS.CfnPrimaryTaskSetProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#CfnPrimaryTaskSetProps |
Java | software.amazon.awscdk.services.ecs.CfnPrimaryTaskSetProps |
Python | aws_cdk.aws_ecs.CfnPrimaryTaskSetProps |
TypeScript | aws-cdk-lib » aws_ecs » CfnPrimaryTaskSetProps |
Properties for defining a CfnPrimaryTaskSet
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-primarytaskset.html
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';
const cfnPrimaryTaskSetProps: ecs.CfnPrimaryTaskSetProps = {
cluster: 'cluster',
service: 'service',
taskSetId: 'taskSetId',
};
Properties
Name | Type | Description |
---|---|---|
cluster | string | The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in. |
service | string | The short name or full Amazon Resource Name (ARN) of the service that the task set exists in. |
task | string | The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment. |
cluster
Type:
string
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in.
service
Type:
string
The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.
taskSetId
Type:
string
The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment.