AWS::RoboMaker::Fleet - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::RoboMaker::Fleet

Important

The following resource is now deprecated. This resource can no longer be provisioned via stack create or update operations, and should not be included in your stack templates.

We recommend migrating to Amazon IoT Greengrass Version 2. For more information, see Support Changes: May 2, 2022 in the Amazon RoboMaker Developer Guide.

The AWS::RoboMaker::Fleet resource creates an Amazon RoboMaker fleet. Fleets contain robots and can receive deployments.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::RoboMaker::Fleet", "Properties" : { "Name" : String, "Tags" : {Key: Value, ...} } }

YAML

Type: AWS::RoboMaker::Fleet Properties: Name: String Tags: Key: Value

Properties

Name

The name of the fleet.

Required: No

Type: String

Pattern: [a-zA-Z0-9_\-]{1,255}$

Minimum: 1

Maximum: 255

Update requires: Replacement

Tags

The list of all tags added to the fleet.

Required: No

Type: Object of String

Pattern: ^[a-zA-Z0-9-]{1,128}$

Minimum: 1

Maximum: 256

Update requires: No interruption

Return values

Ref

When you pass the logical ID of an AWS::RoboMaker::Fleet resource to the intrinsic Ref function, the function returns the Amazon Resource Name (ARN) of the fleet, such as arn:aws:robomaker:us-west-2:123456789012:deployment-fleet/MyFleet/1539894765711.

For more information about using the Ref function, see Ref.

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

Arn

The Amazon Resource Name (ARN) of the fleet, such as arn:aws:robomaker:us-west-2:123456789012:deployment-fleet/MyFleet/1539894765711.

Examples

Specifies an Amazon RoboMaker Fleet

The following example creates a fleet.

JSON

{ "Description": "RoboMaker Fleet example", "Resources": { "BasicFleet": { "Type": "AWS::RoboMaker::Fleet", "Properties": { "Name": "MyFleet", "Tags": { "Name": "BasicFleet", "Type": "CFN" } } } }, "Outputs": { "Fleet": { "Value": "BasicFleet" } } }

YAML

--- Description: "RoboMaker Fleet example" Resources: BasicFleet: Type: "AWS::RoboMaker::Fleet" Properties: Name: "MyFleet" Tags: "Name" : "BasicFleet" "Type" : "CFN" Outputs: Fleet: Value: !Ref BasicFleet