CfnTaskDefinitionPropsMixin
- class aws_cdk.mixins_preview.aws_iotwireless.mixins.CfnTaskDefinitionPropsMixin(props, *, strategy=None)
Bases:
MixinCreates a gateway task definition.
- See:
- CloudformationResource:
AWS::IoTWireless::TaskDefinition
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_iotwireless import mixins as iotwireless_mixins cfn_task_definition_props_mixin = iotwireless_mixins.CfnTaskDefinitionPropsMixin(iotwireless_mixins.CfnTaskDefinitionMixinProps( auto_create_tasks=False, lo_ra_wan_update_gateway_task_entry=iotwireless_mixins.CfnTaskDefinitionPropsMixin.LoRaWANUpdateGatewayTaskEntryProperty( current_version=iotwireless_mixins.CfnTaskDefinitionPropsMixin.LoRaWANGatewayVersionProperty( model="model", package_version="packageVersion", station="station" ), update_version=iotwireless_mixins.CfnTaskDefinitionPropsMixin.LoRaWANGatewayVersionProperty( model="model", package_version="packageVersion", station="station" ) ), name="name", tags=[CfnTag( key="key", value="value" )], task_definition_type="taskDefinitionType", update=iotwireless_mixins.CfnTaskDefinitionPropsMixin.UpdateWirelessGatewayTaskCreateProperty( lo_ra_wan=iotwireless_mixins.CfnTaskDefinitionPropsMixin.LoRaWANUpdateGatewayTaskCreateProperty( current_version=iotwireless_mixins.CfnTaskDefinitionPropsMixin.LoRaWANGatewayVersionProperty( model="model", package_version="packageVersion", station="station" ), sig_key_crc=123, update_signature="updateSignature", update_version=iotwireless_mixins.CfnTaskDefinitionPropsMixin.LoRaWANGatewayVersionProperty( model="model", package_version="packageVersion", station="station" ) ), update_data_role="updateDataRole", update_data_source="updateDataSource" ) ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::IoTWireless::TaskDefinition.- Parameters:
props (
Union[CfnTaskDefinitionMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['autoCreateTasks', 'loRaWanUpdateGatewayTaskEntry', 'name', 'tags', 'taskDefinitionType', 'update']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
LoRaWANGatewayVersionProperty
- class CfnTaskDefinitionPropsMixin.LoRaWANGatewayVersionProperty(*, model=None, package_version=None, station=None)
Bases:
objectLoRaWANGatewayVersion object.
- Parameters:
model (
Optional[str]) – The model number of the wireless gateway.package_version (
Optional[str]) – The version of the wireless gateway firmware.station (
Optional[str]) – The basic station version of the wireless gateway.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_iotwireless import mixins as iotwireless_mixins lo_ra_wANGateway_version_property = iotwireless_mixins.CfnTaskDefinitionPropsMixin.LoRaWANGatewayVersionProperty( model="model", package_version="packageVersion", station="station" )
Attributes
- model
The model number of the wireless gateway.
- package_version
The version of the wireless gateway firmware.
- station
The basic station version of the wireless gateway.
LoRaWANUpdateGatewayTaskCreateProperty
- class CfnTaskDefinitionPropsMixin.LoRaWANUpdateGatewayTaskCreateProperty(*, current_version=None, sig_key_crc=None, update_signature=None, update_version=None)
Bases:
objectThe signature used to verify the update firmware.
- Parameters:
current_version (
Union[IResolvable,LoRaWANGatewayVersionProperty,Dict[str,Any],None]) – The version of the gateways that should receive the update.sig_key_crc (
Union[int,float,None]) – The CRC of the signature private key to check.update_signature (
Optional[str]) – The signature used to verify the update firmware.update_version (
Union[IResolvable,LoRaWANGatewayVersionProperty,Dict[str,Any],None]) – The firmware version to update the gateway to.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_iotwireless import mixins as iotwireless_mixins lo_ra_wANUpdate_gateway_task_create_property = iotwireless_mixins.CfnTaskDefinitionPropsMixin.LoRaWANUpdateGatewayTaskCreateProperty( current_version=iotwireless_mixins.CfnTaskDefinitionPropsMixin.LoRaWANGatewayVersionProperty( model="model", package_version="packageVersion", station="station" ), sig_key_crc=123, update_signature="updateSignature", update_version=iotwireless_mixins.CfnTaskDefinitionPropsMixin.LoRaWANGatewayVersionProperty( model="model", package_version="packageVersion", station="station" ) )
Attributes
- current_version
The version of the gateways that should receive the update.
- sig_key_crc
The CRC of the signature private key to check.
- update_signature
The signature used to verify the update firmware.
- update_version
The firmware version to update the gateway to.
LoRaWANUpdateGatewayTaskEntryProperty
- class CfnTaskDefinitionPropsMixin.LoRaWANUpdateGatewayTaskEntryProperty(*, current_version=None, update_version=None)
Bases:
objectLoRaWANUpdateGatewayTaskEntry object.
- Parameters:
current_version (
Union[IResolvable,LoRaWANGatewayVersionProperty,Dict[str,Any],None]) – The version of the gateways that should receive the update.update_version (
Union[IResolvable,LoRaWANGatewayVersionProperty,Dict[str,Any],None]) – The firmware version to update the gateway to.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_iotwireless import mixins as iotwireless_mixins lo_ra_wANUpdate_gateway_task_entry_property = iotwireless_mixins.CfnTaskDefinitionPropsMixin.LoRaWANUpdateGatewayTaskEntryProperty( current_version=iotwireless_mixins.CfnTaskDefinitionPropsMixin.LoRaWANGatewayVersionProperty( model="model", package_version="packageVersion", station="station" ), update_version=iotwireless_mixins.CfnTaskDefinitionPropsMixin.LoRaWANGatewayVersionProperty( model="model", package_version="packageVersion", station="station" ) )
Attributes
- current_version
The version of the gateways that should receive the update.
- update_version
The firmware version to update the gateway to.
UpdateWirelessGatewayTaskCreateProperty
- class CfnTaskDefinitionPropsMixin.UpdateWirelessGatewayTaskCreateProperty(*, lo_ra_wan=None, update_data_role=None, update_data_source=None)
Bases:
objectUpdateWirelessGatewayTaskCreate object.
- Parameters:
lo_ra_wan (
Union[IResolvable,LoRaWANUpdateGatewayTaskCreateProperty,Dict[str,Any],None]) – The properties that relate to the LoRaWAN wireless gateway.update_data_role (
Optional[str]) – The IAM role used to read data from the S3 bucket.update_data_source (
Optional[str]) – The link to the S3 bucket.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_iotwireless import mixins as iotwireless_mixins update_wireless_gateway_task_create_property = iotwireless_mixins.CfnTaskDefinitionPropsMixin.UpdateWirelessGatewayTaskCreateProperty( lo_ra_wan=iotwireless_mixins.CfnTaskDefinitionPropsMixin.LoRaWANUpdateGatewayTaskCreateProperty( current_version=iotwireless_mixins.CfnTaskDefinitionPropsMixin.LoRaWANGatewayVersionProperty( model="model", package_version="packageVersion", station="station" ), sig_key_crc=123, update_signature="updateSignature", update_version=iotwireless_mixins.CfnTaskDefinitionPropsMixin.LoRaWANGatewayVersionProperty( model="model", package_version="packageVersion", station="station" ) ), update_data_role="updateDataRole", update_data_source="updateDataSource" )
Attributes
- lo_ra_wan
The properties that relate to the LoRaWAN wireless gateway.
- update_data_role
The IAM role used to read data from the S3 bucket.