CfnPlacementProps

class aws_cdk.aws_iot1click.CfnPlacementProps(*, project_name, associated_devices=None, attributes=None, placement_name=None)

Bases: object

Properties for defining a CfnPlacement.

Parameters:
  • project_name (str) – The name of the project containing the placement.

  • associated_devices (Optional[Any]) – The devices to associate with the placement, as defined by a mapping of zero or more key-value pairs wherein the key is a template name and the value is a device ID.

  • attributes (Optional[Any]) – The user-defined attributes associated with the placement.

  • placement_name (Optional[str]) – The name of the placement.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-placement.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 import aws_iot1click as iot1click

# associated_devices: Any
# attributes: Any

cfn_placement_props = iot1click.CfnPlacementProps(
    project_name="projectName",

    # the properties below are optional
    associated_devices=associated_devices,
    attributes=attributes,
    placement_name="placementName"
)

Attributes

associated_devices

The devices to associate with the placement, as defined by a mapping of zero or more key-value pairs wherein the key is a template name and the value is a device ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-placement.html#cfn-iot1click-placement-associateddevices

attributes

The user-defined attributes associated with the placement.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-placement.html#cfn-iot1click-placement-attributes

placement_name

The name of the placement.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-placement.html#cfn-iot1click-placement-placementname

project_name

The name of the project containing the placement.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-placement.html#cfn-iot1click-placement-projectname