Skip to main content

EcsClusterSchema

The EcsClusterSchema class is the schema for the EcsCluster resource, which represents the AWS Elastic Container Service (ECS) Cluster resource. This resource can create a ecs cluster in AWS using the AWS JavaScript SDK V3 API. See official sdk docs.

@group

Resources/EcsCluster

@overrideProperty

parents - This resource has no parents.

@overrideProperty

resourceId - The resource id is of format ecs-cluster-<cluster-name>

Hierarchy

  • BaseResourceSchema
    • EcsClusterSchema

Index

Properties

inheritedparents

parents: IResourceReference[]

properties

properties: { awsAccountId: string; awsRegionId: string; clusterName: string } = ...

Input properties.

  • properties.awsAccountId - The AWS account ID.
  • properties.awsRegionId - The AWS region ID.
  • properties.clusterName - The name of the ECS cluster.

Type declaration

  • awsAccountId: string
  • awsRegionId: string
  • clusterName: string

inheritedresourceId

resourceId: string

response

response: { clusterArn?: string } = ...

Saved response.

  • response.clusterArn - The ARN of the ECS cluster.

Type declaration

  • optionalclusterArn?: string

inheritedtags

tags: {}

Type declaration

  • [key string]: string