CfnProjectProps

class aws_cdk.aws_iot1click.CfnProjectProps(*, placement_template, description=None, project_name=None)

Bases: object

Properties for defining a CfnProject.

Parameters:
  • placement_template (Union[IResolvable, PlacementTemplateProperty, Dict[str, Any]]) – An object describing the project’s placement specifications.

  • description (Optional[str]) – The description of the project.

  • project_name (Optional[str]) – The name of the project from which to obtain information.

See:

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

# callback_overrides: Any
# default_attributes: Any

cfn_project_props = iot1click.CfnProjectProps(
    placement_template=iot1click.CfnProject.PlacementTemplateProperty(
        default_attributes=default_attributes,
        device_templates={
            "device_templates_key": iot1click.CfnProject.DeviceTemplateProperty(
                callback_overrides=callback_overrides,
                device_type="deviceType"
            )
        }
    ),

    # the properties below are optional
    description="description",
    project_name="projectName"
)

Attributes

description

The description of the project.

See:

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

placement_template

An object describing the project’s placement specifications.

See:

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

project_name

The name of the project from which to obtain information.

See:

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