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, None]) – Edge device you want to create.

  • tags (Optional[Sequence[CfnTag]]) – 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.

Link

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.
import aws_cdk.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.

Link

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

Return type

Union[IResolvable, DeviceProperty, None]

device_fleet_name

The name of the fleet the device belongs to.

Link

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

Return type

str

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.

Link

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

Return type

Optional[List[CfnTag]]