We recommend new projects start with resources from the AWS provider.
aws-native.networkmanager.Device
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::NetworkManager::Device type describes a device.
Create Device Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Device(name: string, args: DeviceArgs, opts?: CustomResourceOptions);
@overload
def Device(resource_name: str,
args: DeviceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Device(resource_name: str,
opts: Optional[ResourceOptions] = None,
global_network_id: Optional[str] = None,
aws_location: Optional[DeviceAwsLocationArgs] = None,
description: Optional[str] = None,
location: Optional[DeviceLocationArgs] = None,
model: Optional[str] = None,
serial_number: Optional[str] = None,
site_id: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
type: Optional[str] = None,
vendor: Optional[str] = None)
func NewDevice(ctx *Context, name string, args DeviceArgs, opts ...ResourceOption) (*Device, error)
public Device(string name, DeviceArgs args, CustomResourceOptions? opts = null)
public Device(String name, DeviceArgs args)
public Device(String name, DeviceArgs args, CustomResourceOptions options)
type: aws-native:networkmanager:Device
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DeviceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DeviceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DeviceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeviceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DeviceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Device Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Device resource accepts the following input properties:
- Global
Network stringId - The ID of the global network.
- Aws
Location Pulumi.Aws Native. Network Manager. Inputs. Device Aws Location - The Amazon Web Services location of the device, if applicable.
- Description string
- The description of the device.
- Location
Pulumi.
Aws Native. Network Manager. Inputs. Device Location - The site location.
- Model string
- The device model
- Serial
Number string - The device serial number.
- Site
Id string - The site ID.
- List<Pulumi.
Aws Native. Inputs. Tag> - The tags for the device.
- Type string
- The device type.
- Vendor string
- The device vendor.
- Global
Network stringId - The ID of the global network.
- Aws
Location DeviceAws Location Args - The Amazon Web Services location of the device, if applicable.
- Description string
- The description of the device.
- Location
Device
Location Args - The site location.
- Model string
- The device model
- Serial
Number string - The device serial number.
- Site
Id string - The site ID.
- Tag
Args - The tags for the device.
- Type string
- The device type.
- Vendor string
- The device vendor.
- global
Network StringId - The ID of the global network.
- aws
Location DeviceAws Location - The Amazon Web Services location of the device, if applicable.
- description String
- The description of the device.
- location
Device
Location - The site location.
- model String
- The device model
- serial
Number String - The device serial number.
- site
Id String - The site ID.
- List<Tag>
- The tags for the device.
- type String
- The device type.
- vendor String
- The device vendor.
- global
Network stringId - The ID of the global network.
- aws
Location DeviceAws Location - The Amazon Web Services location of the device, if applicable.
- description string
- The description of the device.
- location
Device
Location - The site location.
- model string
- The device model
- serial
Number string - The device serial number.
- site
Id string - The site ID.
- Tag[]
- The tags for the device.
- type string
- The device type.
- vendor string
- The device vendor.
- global_
network_ strid - The ID of the global network.
- aws_
location DeviceAws Location Args - The Amazon Web Services location of the device, if applicable.
- description str
- The description of the device.
- location
Device
Location Args - The site location.
- model str
- The device model
- serial_
number str - The device serial number.
- site_
id str - The site ID.
- Sequence[Tag
Args] - The tags for the device.
- type str
- The device type.
- vendor str
- The device vendor.
- global
Network StringId - The ID of the global network.
- aws
Location Property Map - The Amazon Web Services location of the device, if applicable.
- description String
- The description of the device.
- location Property Map
- The site location.
- model String
- The device model
- serial
Number String - The device serial number.
- site
Id String - The site ID.
- List<Property Map>
- The tags for the device.
- type String
- The device type.
- vendor String
- The device vendor.
Outputs
All input properties are implicitly available as output properties. Additionally, the Device resource produces the following output properties:
- created_
at str - The date and time that the device was created.
- device_
arn str - The Amazon Resource Name (ARN) of the device.
- device_
id str - The ID of the device.
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- The state of the device.
Supporting Types
DeviceAwsLocation, DeviceAwsLocationArgs
- subnet_
arn str - The Amazon Resource Name (ARN) of the subnet that the device is located in.
- zone str
- The Zone that the device is located in. Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.
DeviceLocation, DeviceLocationArgs
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.