Class CfnFleet
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.iotfleetwise.CfnFleet
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IFleetRef,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:38.442Z")
@Stability(Stable)
public class CfnFleet
extends CfnResource
implements IInspectable, IFleetRef, ITaggable
Creates a fleet that represents a group of vehicles.
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 .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotfleetwise.*;
CfnFleet cfnFleet = CfnFleet.Builder.create(this, "MyCfnFleet")
.id("id")
.signalCatalogArn("signalCatalogArn")
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.iotfleetwise.IFleetRef
IFleetRef.Jsii$Default, IFleetRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnFleet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnFleet(software.amazon.jsii.JsiiObjectRef objRef) CfnFleet(software.constructs.Construct scope, String id, CfnFleetProps props) Create a newAWS::IoTFleetWise::Fleet. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForFleet(IFleetRef resource) static IFleetReffromFleetArn(software.constructs.Construct scope, String id, String arn) Creates a new IFleetRef from an ARN.static IFleetReffromFleetId(software.constructs.Construct scope, String id, String fleetId) Creates a new IFleetRef from a fleetId.The Amazon Resource Name (ARN) of the created fleet.The time the fleet was created in seconds since epoch (January 1, 1970 at midnight UTC time).The time the fleet was last updated, in seconds since epoch (January 1, 1970 at midnight UTC time).A brief description of the fleet.A reference to a Fleet resource.getId()The unique ID of the fleet.The ARN of the signal catalog associated with the fleet.getTags()Tag Manager which manages the tags for this resource.Metadata that can be used to manage the fleet.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanisCfnFleet(Object x) Checks whether the given object is a CfnFleet.renderProperties(Map<String, Object> props) voidsetDescription(String value) A brief description of the fleet.voidThe unique ID of the fleet.voidsetSignalCatalogArn(String value) The ARN of the signal catalog associated with the fleet.voidsetTagsRaw(List<CfnTag> value) Metadata that can be used to manage the fleet.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnFleet
protected CfnFleet(software.amazon.jsii.JsiiObjectRef objRef) -
CfnFleet
protected CfnFleet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnFleet
@Stability(Stable) public CfnFleet(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnFleetProps props) Create a newAWS::IoTFleetWise::Fleet.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForFleet
- Parameters:
resource- This parameter is required.
-
fromFleetArn
@Stability(Stable) @NotNull public static IFleetRef fromFleetArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IFleetRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromFleetId
@Stability(Stable) @NotNull public static IFleetRef fromFleetId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String fleetId) Creates a new IFleetRef from a fleetId.- Parameters:
scope- This parameter is required.id- This parameter is required.fleetId- This parameter is required.
-
isCfnFleet
Checks whether the given object is a CfnFleet.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the created fleet. -
getAttrCreationTime
The time the fleet was created in seconds since epoch (January 1, 1970 at midnight UTC time). -
getAttrLastModificationTime
The time the fleet was last updated, in seconds since epoch (January 1, 1970 at midnight UTC time). -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getFleetRef
A reference to a Fleet resource.- Specified by:
getFleetRefin interfaceIFleetRef
-
getTags
Tag Manager which manages the tags for this resource. -
getId
The unique ID of the fleet. -
setId
The unique ID of the fleet. -
getSignalCatalogArn
The ARN of the signal catalog associated with the fleet. -
setSignalCatalogArn
The ARN of the signal catalog associated with the fleet. -
getDescription
A brief description of the fleet. -
setDescription
A brief description of the fleet. -
getTagsRaw
Metadata that can be used to manage the fleet. -
setTagsRaw
Metadata that can be used to manage the fleet.
-