Device constructor

Device(
  1. String name, {
  2. DeviceArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new Device. name The Pulumi resource name. args Arguments used to configure this Device. The set of arguments for Device. options Resource options controlling this resource's behavior.

Implementation

Device(
  String name, {
  DeviceArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:sagemaker/device:Device',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  agentVersion = registerOutput<String>('agentVersion');
  arn = registerOutput<String>('arn');
  device = registerOutput<DeviceDevice>('device', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return DeviceDevice.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  deviceFleetName = registerOutput<String>('deviceFleetName');
  region = registerOutput<String>('region');
}