CfnDeviceProps
- class aws_cdk.aws_networkmanager.CfnDeviceProps(*, global_network_id, aws_location=None, description=None, location=None, model=None, serial_number=None, site_id=None, tags=None, type=None, vendor=None)
Bases:
object
Properties for defining a
CfnDevice
.- Parameters:
global_network_id (
str
) – The ID of the global network.aws_location (
Union
[IResolvable
,AWSLocationProperty
,Dict
[str
,Any
],None
]) – The AWS location of the device.description (
Optional
[str
]) – A description of the device. Constraints: Maximum length of 256 characters.location (
Union
[IResolvable
,LocationProperty
,Dict
[str
,Any
],None
]) – The site location.model (
Optional
[str
]) – The model of the device. Constraints: Maximum length of 128 characters.serial_number (
Optional
[str
]) – The serial number of the device. Constraints: Maximum length of 128 characters.site_id (
Optional
[str
]) – The site ID.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – The tags for the device.type (
Optional
[str
]) – The device type.vendor (
Optional
[str
]) – The vendor of the device. Constraints: Maximum length of 128 characters.
- See:
- 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_networkmanager as networkmanager cfn_device_props = networkmanager.CfnDeviceProps( global_network_id="globalNetworkId", # the properties below are optional aws_location=networkmanager.CfnDevice.AWSLocationProperty( subnet_arn="subnetArn", zone="zone" ), description="description", location=networkmanager.CfnDevice.LocationProperty( address="address", latitude="latitude", longitude="longitude" ), model="model", serial_number="serialNumber", site_id="siteId", tags=[CfnTag( key="key", value="value" )], type="type", vendor="vendor" )
Attributes
- aws_location
The AWS location of the device.
- description
A description of the device.
Constraints: Maximum length of 256 characters.
- global_network_id
The ID of the global network.
- location
The site location.
- model
The model of the device.
Constraints: Maximum length of 128 characters.
- serial_number
The serial number of the device.
Constraints: Maximum length of 128 characters.
- site_id
The site ID.
- tags
The tags for the device.
- type
The device type.
- vendor
The vendor of the device.
Constraints: Maximum length of 128 characters.