Interface CfnDeviceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDeviceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:25.667Z")
@Stability(Stable)
public interface CfnDeviceProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDevice.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.networkmanager.*;
CfnDeviceProps cfnDeviceProps = CfnDeviceProps.builder()
.globalNetworkId("globalNetworkId")
// the properties below are optional
.awsLocation(AWSLocationProperty.builder()
.subnetArn("subnetArn")
.zone("zone")
.build())
.description("description")
.location(LocationProperty.builder()
.address("address")
.latitude("latitude")
.longitude("longitude")
.build())
.model("model")
.serialNumber("serialNumber")
.siteId("siteId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.type("type")
.vendor("vendor")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDevicePropsstatic final classAn implementation forCfnDeviceProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDeviceProps.Builderbuilder()default ObjectThe AWS location of the device.default StringA description of the device.The ID of the global network.default ObjectThe site location.default StringgetModel()The model of the device.default StringThe serial number of the device.default StringThe site ID.getTags()The tags for the device.default StringgetType()The device type.default StringThe vendor of the device.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGlobalNetworkId
The ID of the global network.- See Also:
-
getAwsLocation
The AWS location of the device.Returns union: either
IResolvableorCfnDevice.AWSLocationProperty- See Also:
-
getDescription
A description of the device.Constraints: Maximum length of 256 characters.
- See Also:
-
getLocation
The site location.Returns union: either
IResolvableorCfnDevice.LocationProperty- See Also:
-
getModel
The model of the device.Constraints: Maximum length of 128 characters.
- See Also:
-
getSerialNumber
The serial number of the device.Constraints: Maximum length of 128 characters.
- See Also:
-
getSiteId
The site ID.- See Also:
-
getTags
The tags for the device.- See Also:
-
getType
The device type.- See Also:
-
getVendor
The vendor of the device.Constraints: Maximum length of 128 characters.
- See Also:
-
builder
- Returns:
- a
CfnDeviceProps.BuilderofCfnDeviceProps
-