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, ...}
Properties
Name-
The name of the fleet.
Required: No
Type: String
Minimum:
1Maximum:
255Pattern:
[a-zA-Z0-9_\-]*Update requires: Replacement
Tags-
The list of all tags added to the fleet.
Required: No
Type: Map of String
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 Reffunction, see Ref.
Fn::GetAtt
The Fn::GetAttintrinsic 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::GetAttintrinsic function, see Fn::GetAtt.
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