Class CfnFleet
A CloudFormation AWS::RoboMaker::Fleet
.
Inherited Members
Namespace: Amazon.CDK.AWS.RoboMaker
Assembly: Amazon.CDK.AWS.RoboMaker.dll
Syntax (csharp)
public class CfnFleet : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnFleet
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
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 AWS IoT Greengrass Version 2. For more information, see Support Changes: May 2, 2022 in the AWS RoboMaker Developer Guide .
The AWS::RoboMaker::Fleet
resource creates an AWS RoboMaker fleet. Fleets contain robots and can receive deployments.
CloudformationResource: AWS::RoboMaker::Fleet
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-fleet.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RoboMaker;
var cfnFleet = new CfnFleet(this, "MyCfnFleet", new CfnFleetProps {
Name = "name",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
});
Synopsis
Constructors
CfnFleet(Construct, String, ICfnFleetProps) | Create a new |
CfnFleet(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnFleet(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrArn | The Amazon Resource Name (ARN) of the fleet, such as |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Name | The name of the fleet. |
Tags | The list of all tags added to the fleet. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnFleet(Construct, String, ICfnFleetProps)
Create a new AWS::RoboMaker::Fleet
.
public CfnFleet(Construct scope, string id, ICfnFleetProps props = null)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnFleetProps
- resource properties.
CfnFleet(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnFleet(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnFleet(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnFleet(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrArn
The Amazon Resource Name (ARN) of the fleet, such as arn:aws:robomaker:us-west-2:123456789012:deployment-fleet/MyFleet/1539894765711
.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Name
The name of the fleet.
public virtual string Name { get; set; }
Property Value
System.String
Remarks
Tags
The list of all tags added to the fleet.
public virtual TagManager Tags { get; }
Property Value
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>