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
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-24T10:56:35.305Z")
@Stability(Stable)
public class CfnDevice
extends CfnResource
implements IInspectable, 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
Modifier and TypeClassDescriptionstatic interface
Specifies a location in AWS .static final class
A fluent builder forCfnDevice
.static interface
Describes a location.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnDevice
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnDevice
(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.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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAwsLocation
(IResolvable value) The AWS location of the device.void
The AWS location of the device.void
setDescription
(String value) A description of the device.void
setGlobalNetworkId
(String value) The ID of the global network.void
setLocation
(IResolvable value) The site location.void
The site location.void
The model of the device.void
setSerialNumber
(String value) The serial number of the device.void
The site ID.void
setTagsRaw
(List<CfnTag> value) The tags for the device.void
The device type.void
The 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, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
inspect
in 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:
renderProperties
in 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:
getCfnProperties
in classCfnResource
-
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. -
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. -
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.
-