Class CfnDeviceProfile
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.iotwireless.CfnDeviceProfile
- All Implemented Interfaces:
IInspectable,ITaggable,IDeviceProfileRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:41.880Z")
@Stability(Stable)
public class CfnDeviceProfile
extends CfnResource
implements IInspectable, IDeviceProfileRef, ITaggable
Creates a new device profile.
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.iotwireless.*;
CfnDeviceProfile cfnDeviceProfile = CfnDeviceProfile.Builder.create(this, "MyCfnDeviceProfile")
.loRaWan(LoRaWANDeviceProfileProperty.builder()
.classBTimeout(123)
.classCTimeout(123)
.factoryPresetFreqsList(List.of(123))
.macVersion("macVersion")
.maxDutyCycle(123)
.maxEirp(123)
.pingSlotDr(123)
.pingSlotFreq(123)
.pingSlotPeriod(123)
.regParamsRevision("regParamsRevision")
.rfRegion("rfRegion")
.rxDataRate2(123)
.rxDelay1(123)
.rxDrOffset1(123)
.rxFreq2(123)
.supports32BitFCnt(false)
.supportsClassB(false)
.supportsClassC(false)
.supportsJoin(false)
.build())
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnDeviceProfile.static interfaceLoRaWAN device profile object.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.iotwireless.IDeviceProfileRef
IDeviceProfileRef.Jsii$Default, IDeviceProfileRef.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
ConstructorsModifierConstructorDescriptionprotectedCfnDeviceProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDeviceProfile(software.amazon.jsii.JsiiObjectRef objRef) CfnDeviceProfile(software.constructs.Construct scope, String id) CfnDeviceProfile(software.constructs.Construct scope, String id, CfnDeviceProfileProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IDeviceProfileReffromDeviceProfileArn(software.constructs.Construct scope, String id, String arn) Creates a new IDeviceProfileRef from an ARN.static IDeviceProfileReffromDeviceProfileId(software.constructs.Construct scope, String id, String deviceProfileId) Creates a new IDeviceProfileRef from a deviceProfileId.The ARN of the device profile created.The ID of the device profile created.A reference to a DeviceProfile resource.LoRaWAN device profile object.getName()The name of the new resource.getTags()Tag Manager which manages the tags for this resource.The tags are an array of key-value pairs to attach to the specified resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetLoRaWan(IResolvable value) LoRaWAN device profile object.voidLoRaWAN device profile object.voidThe name of the new resource.voidsetTagsRaw(List<CfnTag> value) The tags are an array of key-value pairs to attach to the specified resource.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
-
CfnDeviceProfile
protected CfnDeviceProfile(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDeviceProfile
protected CfnDeviceProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDeviceProfile
@Stability(Stable) public CfnDeviceProfile(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnDeviceProfileProps 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.
-
CfnDeviceProfile
@Stability(Stable) public CfnDeviceProfile(@NotNull software.constructs.Construct scope, @NotNull String id) - 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.
-
-
Method Details
-
fromDeviceProfileArn
@Stability(Stable) @NotNull public static IDeviceProfileRef fromDeviceProfileArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IDeviceProfileRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromDeviceProfileId
@Stability(Stable) @NotNull public static IDeviceProfileRef fromDeviceProfileId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String deviceProfileId) Creates a new IDeviceProfileRef from a deviceProfileId.- Parameters:
scope- This parameter is required.id- This parameter is required.deviceProfileId- This parameter is required.
-
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.
-
getAttrArn
The ARN of the device profile created. -
getAttrId
The ID of the device profile created. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getDeviceProfileRef
A reference to a DeviceProfile resource.- Specified by:
getDeviceProfileRefin interfaceIDeviceProfileRef
-
getTags
Tag Manager which manages the tags for this resource. -
getLoRaWan
LoRaWAN device profile object.Returns union: either
IResolvableorCfnDeviceProfile.LoRaWANDeviceProfileProperty -
setLoRaWan
LoRaWAN device profile object. -
setLoRaWan
@Stability(Stable) public void setLoRaWan(@Nullable CfnDeviceProfile.LoRaWANDeviceProfileProperty value) LoRaWAN device profile object. -
getName
The name of the new resource. -
setName
The name of the new resource. -
getTagsRaw
The tags are an array of key-value pairs to attach to the specified resource. -
setTagsRaw
The tags are an array of key-value pairs to attach to the specified resource.
-