CfnDeviceProps

class aws_cdk.aws_sagemaker.CfnDeviceProps(*, device_fleet_name, device=None, tags=None)

Bases: object

Properties for defining a CfnDevice.

Parameters:
  • device_fleet_name (str) – The name of the fleet the device belongs to.

  • device (Union[IResolvable, DeviceProperty, Dict[str, Any], None]) – Edge device you want to create.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs that contain metadata to help you categorize and organize your devices. Each tag consists of a key and a value, both of which you define.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-device.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_sagemaker as sagemaker

cfn_device_props = sagemaker.CfnDeviceProps(
    device_fleet_name="deviceFleetName",

    # the properties below are optional
    device=sagemaker.CfnDevice.DeviceProperty(
        device_name="deviceName",

        # the properties below are optional
        description="description",
        iot_thing_name="iotThingName"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

device

Edge device you want to create.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-device.html#cfn-sagemaker-device-device

device_fleet_name

The name of the fleet the device belongs to.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-device.html#cfn-sagemaker-device-devicefleetname

tags

An array of key-value pairs that contain metadata to help you categorize and organize your devices.

Each tag consists of a key and a value, both of which you define.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-device.html#cfn-sagemaker-device-tags