CfnTaskDefinitionPropsMixin

class aws_cdk.mixins_preview.aws_iotwireless.mixins.CfnTaskDefinitionPropsMixin(props, *, strategy=None)

Bases: Mixin

Creates a gateway task definition.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-taskdefinition.html

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:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

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 x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

LoRaWANGatewayVersionProperty

class CfnTaskDefinitionPropsMixin.LoRaWANGatewayVersionProperty(*, model=None, package_version=None, station=None)

Bases: object

LoRaWANGatewayVersion 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawangatewayversion.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawangatewayversion.html#cfn-iotwireless-taskdefinition-lorawangatewayversion-model

package_version

The version of the wireless gateway firmware.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawangatewayversion.html#cfn-iotwireless-taskdefinition-lorawangatewayversion-packageversion

station

The basic station version of the wireless gateway.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawangatewayversion.html#cfn-iotwireless-taskdefinition-lorawangatewayversion-station

LoRaWANUpdateGatewayTaskCreateProperty

class CfnTaskDefinitionPropsMixin.LoRaWANUpdateGatewayTaskCreateProperty(*, current_version=None, sig_key_crc=None, update_signature=None, update_version=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawanupdategatewaytaskcreate.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawanupdategatewaytaskcreate.html#cfn-iotwireless-taskdefinition-lorawanupdategatewaytaskcreate-currentversion

sig_key_crc

The CRC of the signature private key to check.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawanupdategatewaytaskcreate.html#cfn-iotwireless-taskdefinition-lorawanupdategatewaytaskcreate-sigkeycrc

update_signature

The signature used to verify the update firmware.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawanupdategatewaytaskcreate.html#cfn-iotwireless-taskdefinition-lorawanupdategatewaytaskcreate-updatesignature

update_version

The firmware version to update the gateway to.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawanupdategatewaytaskcreate.html#cfn-iotwireless-taskdefinition-lorawanupdategatewaytaskcreate-updateversion

LoRaWANUpdateGatewayTaskEntryProperty

class CfnTaskDefinitionPropsMixin.LoRaWANUpdateGatewayTaskEntryProperty(*, current_version=None, update_version=None)

Bases: object

LoRaWANUpdateGatewayTaskEntry object.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawanupdategatewaytaskentry.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawanupdategatewaytaskentry.html#cfn-iotwireless-taskdefinition-lorawanupdategatewaytaskentry-currentversion

update_version

The firmware version to update the gateway to.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-lorawanupdategatewaytaskentry.html#cfn-iotwireless-taskdefinition-lorawanupdategatewaytaskentry-updateversion

UpdateWirelessGatewayTaskCreateProperty

class CfnTaskDefinitionPropsMixin.UpdateWirelessGatewayTaskCreateProperty(*, lo_ra_wan=None, update_data_role=None, update_data_source=None)

Bases: object

UpdateWirelessGatewayTaskCreate 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-updatewirelessgatewaytaskcreate.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-updatewirelessgatewaytaskcreate.html#cfn-iotwireless-taskdefinition-updatewirelessgatewaytaskcreate-lorawan

update_data_role

The IAM role used to read data from the S3 bucket.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-updatewirelessgatewaytaskcreate.html#cfn-iotwireless-taskdefinition-updatewirelessgatewaytaskcreate-updatedatarole

update_data_source

The link to the S3 bucket.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotwireless-taskdefinition-updatewirelessgatewaytaskcreate.html#cfn-iotwireless-taskdefinition-updatewirelessgatewaytaskcreate-updatedatasource