Class CfnDevice
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.networkmanager.CfnDevice
- All Implemented Interfaces:
IInspectable,ITaggable,IDeviceRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:44.031Z")
@Stability(Stable)
public class CfnDevice
extends CfnResource
implements IInspectable, IDeviceRef, ITaggable
Specifies a device.
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.*;
CfnDevice cfnDevice = CfnDevice.Builder.create(this, "MyCfnDevice")
.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 TypeClassDescriptionstatic interfaceSpecifies a location in AWS .static final classA fluent builder forCfnDevice.static interfaceDescribes a location.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.networkmanager.IDeviceRef
IDeviceRef.Jsii$Default, IDeviceRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnDevice(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDevice(software.amazon.jsii.JsiiObjectRef objRef) CfnDevice(software.constructs.Construct scope, String id, CfnDeviceProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe time that the device was created.The ARN of the device.The ID of the device.The state of the device.The AWS location of the device.A description of the device.A reference to a Device resource.The ID of the global network.The site location.getModel()The model of the device.The serial number of the device.The site ID.getTags()Tag Manager which manages the tags for this resource.The tags for the device.getType()The device type.The vendor of the device.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAwsLocation(IResolvable value) The AWS location of the device.voidThe AWS location of the device.voidsetDescription(String value) A description of the device.voidsetGlobalNetworkId(String value) The ID of the global network.voidsetLocation(IResolvable value) The site location.voidThe site location.voidThe model of the device.voidsetSerialNumber(String value) The serial number of the device.voidThe site ID.voidsetTagsRaw(List<CfnTag> value) The tags for the device.voidThe device type.voidThe vendor of the device.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnDevice
protected CfnDevice(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDevice
protected CfnDevice(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDevice
@Stability(Stable) public CfnDevice(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDeviceProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCreatedAt
The time that the device was created. -
getAttrDeviceArn
The ARN of the device.For example,
arn:aws:networkmanager::123456789012:device/global-network-01231231231231231/device-07f6fd08867abc123. -
getAttrDeviceId
The ID of the device.For example,
device-07f6fd08867abc123. -
getAttrState
The state of the device. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getDeviceRef
A reference to a Device resource.- Specified by:
getDeviceRefin interfaceIDeviceRef
-
getTags
Tag Manager which manages the tags for this resource. -
getGlobalNetworkId
The ID of the global network. -
setGlobalNetworkId
The ID of the global network. -
getAwsLocation
The AWS location of the device.Returns union: either
IResolvableorCfnDevice.AWSLocationProperty -
setAwsLocation
The AWS location of the device. -
setAwsLocation
The AWS location of the device. -
getDescription
A description of the device. -
setDescription
A description of the device. -
getLocation
The site location.Returns union: either
IResolvableorCfnDevice.LocationProperty -
setLocation
The site location. -
setLocation
The site location. -
getModel
The model of the device. -
setModel
The model of the device. -
getSerialNumber
The serial number of the device. -
setSerialNumber
The serial number of the device. -
getSiteId
The site ID. -
setSiteId
The site ID. -
getTagsRaw
The tags for the device. -
setTagsRaw
The tags for the device. -
getType
The device type. -
setType
The device type. -
getVendor
The vendor of the device. -
setVendor
The vendor of the device.
-