Skip to content

Register Ecs Cluster

opsworks_register_ecs_cluster R Documentation

Registers a specified Amazon ECS cluster with a stack

Description

Registers a specified Amazon ECS cluster with a stack. You can register only one cluster with a stack. A cluster can be registered with only one stack. For more information, see Resource Management.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

Usage

opsworks_register_ecs_cluster(EcsClusterArn, StackId)

Arguments

EcsClusterArn

[required] The cluster's ARN.

StackId

[required] The stack ID.

Value

A list with the following syntax:

list(
  EcsClusterArn = "string"
)

Request syntax

svc$register_ecs_cluster(
  EcsClusterArn = "string",
  StackId = "string"
)