CfnFuotaTaskProps Struct
Properties for defining a CfnFuotaTask.
| Source |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotwireless as iotwireless } from 'aws-cdk-lib';
const cfnFuotaTaskProps: iotwireless.CfnFuotaTaskProps = {
firmwareUpdateImage: 'firmwareUpdateImage',
firmwareUpdateRole: 'firmwareUpdateRole',
loRaWan: {
rfRegion: 'rfRegion',
// the properties below are optional
startTime: 'startTime',
},
// the properties below are optional
associateMulticastGroup: 'associateMulticastGroup',
associateWirelessDevice: 'associateWirelessDevice',
description: 'description',
disassociateMulticastGroup: 'disassociateMulticastGroup',
disassociateWirelessDevice: 'disassociateWirelessDevice',
name: 'name',
tags: [{
key: 'key',
value: 'value',
}],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotwireless as iotwireless
cfn_fuota_task_props = iotwireless.CfnFuotaTaskProps(
firmware_update_image="firmwareUpdateImage",
firmware_update_role="firmwareUpdateRole",
lo_ra_wan=iotwireless.CfnFuotaTask.LoRaWANProperty(
rf_region="rfRegion",
# the properties below are optional
start_time="startTime"
),
# the properties below are optional
associate_multicast_group="associateMulticastGroup",
associate_wireless_device="associateWirelessDevice",
description="description",
disassociate_multicast_group="disassociateMulticastGroup",
disassociate_wireless_device="disassociateWirelessDevice",
name="name",
tags=[CfnTag(
key="key",
value="value"
)]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotwireless.*;
CfnFuotaTaskProps cfnFuotaTaskProps = CfnFuotaTaskProps.builder()
.firmwareUpdateImage("firmwareUpdateImage")
.firmwareUpdateRole("firmwareUpdateRole")
.loRaWan(LoRaWANProperty.builder()
.rfRegion("rfRegion")
// the properties below are optional
.startTime("startTime")
.build())
// the properties below are optional
.associateMulticastGroup("associateMulticastGroup")
.associateWirelessDevice("associateWirelessDevice")
.description("description")
.disassociateMulticastGroup("disassociateMulticastGroup")
.disassociateWirelessDevice("disassociateWirelessDevice")
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTWireless;
var cfnFuotaTaskProps = new CfnFuotaTaskProps {
FirmwareUpdateImage = "firmwareUpdateImage",
FirmwareUpdateRole = "firmwareUpdateRole",
LoRaWan = new LoRaWANProperty {
RfRegion = "rfRegion",
// the properties below are optional
StartTime = "startTime"
},
// the properties below are optional
AssociateMulticastGroup = "associateMulticastGroup",
AssociateWirelessDevice = "associateWirelessDevice",
Description = "description",
DisassociateMulticastGroup = "disassociateMulticastGroup",
DisassociateWirelessDevice = "disassociateWirelessDevice",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnFuotaTaskProps := &CfnFuotaTaskProps{
FirmwareUpdateImage: jsii.String("firmwareUpdateImage"),
FirmwareUpdateRole: jsii.String("firmwareUpdateRole"),
LoRaWan: &LoRaWANProperty{
RfRegion: jsii.String("rfRegion"),
// the properties below are optional
StartTime: jsii.String("startTime"),
},
// the properties below are optional
AssociateMulticastGroup: jsii.String("associateMulticastGroup"),
AssociateWirelessDevice: jsii.String("associateWirelessDevice"),
Description: jsii.String("description"),
DisassociateMulticastGroup: jsii.String("disassociateMulticastGroup"),
DisassociateWirelessDevice: jsii.String("disassociateWirelessDevice"),
Name: jsii.String("name"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
associateMulticastGroupoptionalstringassociate_multicast_groupoptionalstrassociateMulticastGroupoptionalStringAssociateMulticastGroupoptionalstringAssociateMulticastGroupoptional*string #The ID of the multicast group to associate with a FUOTA task.
associateWirelessDeviceoptionalstringassociate_wireless_deviceoptionalstrassociateWirelessDeviceoptionalStringAssociateWirelessDeviceoptionalstringAssociateWirelessDeviceoptional*string #The ID of the wireless device to associate with a multicast group.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the new resource.
disassociateMulticastGroupoptionalstringdisassociate_multicast_groupoptionalstrdisassociateMulticastGroupoptionalStringDisassociateMulticastGroupoptionalstringDisassociateMulticastGroupoptional*string #The ID of the multicast group to disassociate from a FUOTA task.
disassociateWirelessDeviceoptionalstringdisassociate_wireless_deviceoptionalstrdisassociateWirelessDeviceoptionalStringDisassociateWirelessDeviceoptionalstringDisassociateWirelessDeviceoptional*string #The ID of the wireless device to disassociate from a FUOTA task.
firmwareUpdateImagestringfirmware_update_imagestrfirmwareUpdateImageStringFirmwareUpdateImagestringFirmwareUpdateImage*string required #The S3 URI points to a firmware update image that is to be used with a FUOTA task.
firmwareUpdateRolestringfirmware_update_rolestrfirmwareUpdateRoleStringFirmwareUpdateRolestringFirmwareUpdateRole*string required #The firmware update role that is to be used with a FUOTA task.
loRaWanIResolvable | CfnFuotaTask.LoRaWANPropertylo_ra_wantyping.Union[IResolvable, LoRaWANProperty]loRaWanIResolvableLoRaWanIResolvableLoRaWaninterface{} required #The LoRaWAN information used with a FUOTA task.
The name of a FUOTA task.