Class CfnFleet
Creates a fleet that represents a group of vehicles.
Inherited Members
Namespace: Amazon.CDK.AWS.IoTFleetWise
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnFleet : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnFleet
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
You must create both a signal catalog and vehicles before you can create a fleet.
For more information, see Fleets in the AWS IoT FleetWise Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotfleetwise-fleet.html
CloudformationResource: AWS::IoTFleetWise::Fleet
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.IoTFleetWise;
var cfnFleet = new CfnFleet(this, "MyCfnFleet", new CfnFleetProps {
Id = "id",
SignalCatalogArn = "signalCatalogArn",
// the properties below are optional
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
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 |
CfnFleet(Construct, String, ICfnFleetProps) |
Properties
AttrArn | The Amazon Resource Name (ARN) of the created fleet. |
AttrCreationTime | The time the fleet was created in seconds since epoch (January 1, 1970 at midnight UTC time). |
AttrLastModificationTime | The time the fleet was last updated, in seconds since epoch (January 1, 1970 at midnight UTC time). |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | (Optional) A brief description of the fleet. |
Id | The unique ID of the fleet. |
SignalCatalogArn | The ARN of the signal catalog associated with the fleet. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | (Optional) Metadata that can be used to manage the fleet. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
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
CfnFleet(Construct, String, ICfnFleetProps)
public CfnFleet(Construct scope, string id, ICfnFleetProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnFleetProps
Resource properties.
Properties
AttrArn
The Amazon Resource Name (ARN) of the created fleet.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrCreationTime
The time the fleet was created in seconds since epoch (January 1, 1970 at midnight UTC time).
public virtual string AttrCreationTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreationTime
AttrLastModificationTime
The time the fleet was last updated, in seconds since epoch (January 1, 1970 at midnight UTC time).
public virtual string AttrLastModificationTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: LastModificationTime
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
Description
(Optional) A brief description of the fleet.
public virtual string Description { get; set; }
Property Value
System.String
Id
The unique ID of the fleet.
public virtual string Id { get; set; }
Property Value
System.String
SignalCatalogArn
The ARN of the signal catalog associated with the fleet.
public virtual string SignalCatalogArn { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
(Optional) Metadata that can be used to manage the fleet.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
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>