interface CfnPlacementProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoT1Click.CfnPlacementProps |
Java | software.amazon.awscdk.services.iot1click.CfnPlacementProps |
Python | aws_cdk.aws_iot1click.CfnPlacementProps |
TypeScript | @aws-cdk/aws-iot1click » CfnPlacementProps |
Properties for defining a CfnPlacement
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iot1click from '@aws-cdk/aws-iot1click';
declare const associatedDevices: any;
declare const attributes: any;
const cfnPlacementProps: iot1click.CfnPlacementProps = {
projectName: 'projectName',
// the properties below are optional
associatedDevices: associatedDevices,
attributes: attributes,
placementName: 'placementName',
};
Properties
Name | Type | Description |
---|---|---|
project | string | The name of the project containing the placement. |
associated | 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? | any | The user-defined attributes associated with the placement. |
placement | string | The name of the placement. |
projectName
Type:
string
The name of the project containing the placement.
associatedDevices?
Type:
any
(optional)
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?
Type:
any
(optional)
The user-defined attributes associated with the placement.
placementName?
Type:
string
(optional)
The name of the placement.