Class: Aws::ECS::Types::CreateClusterRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::CreateClusterRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ecs/types.rb
Overview
Note:
When making an API call, you may pass CreateClusterRequest data as a hash:
{
cluster_name: "String",
tags: [
{
key: "TagKey",
value: "TagValue",
},
],
}
Instance Attribute Summary collapse
-
#cluster_name ⇒ String
The name of your cluster.
-
#tags ⇒ Array<Types::Tag>
The metadata that you apply to the cluster to help you categorize and organize them.
Instance Attribute Details
#cluster_name ⇒ String
The name of your cluster. If you do not specify a name for your cluster, you create a cluster named ‘default`. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
1511 1512 1513 1514 1515 |
# File 'lib/aws-sdk-ecs/types.rb', line 1511 class CreateClusterRequest < Struct.new( :cluster_name, :tags) include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
1511 1512 1513 1514 1515 |
# File 'lib/aws-sdk-ecs/types.rb', line 1511 class CreateClusterRequest < Struct.new( :cluster_name, :tags) include Aws::Structure end |