Skip to main content

EcsClusterSchema

EcsClusterSchema is the schema of the EcsCluster resource: an ECS cluster, which the ECS services of one environment run in. Terraform provisions it as aws_ecs_cluster.

@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

inheritedlocalResourceId

localResourceId: string

The ID the resource was created with, unique within its scope.

inheritedparents

parents: IResourceReference[]

The resources this one is built on top of.

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

The ID of the resource, unique across the infrastructure: its localResourceId, followed by a hash of its scope when it has one.

response

response: { clusterArn?: string } = { clusterArn: 'arn:aws:ecs:us-east-1:000000000000:cluster/mock-cluster', }

Saved response.

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

Type declaration

  • optionalclusterArn?: string

inheritedscope

scope: string[]

The contexts of the models the resource is placed under, derived from where the node creating it sits in the model graph. Octo sets it; a resource created outside a model action has none.

inheritedtags

tags: {}

The tags applied to the resource.


Type declaration

  • [key string]: string