@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.076Z") @Stability(value=Stable) public class CfnDeviceProfile extends CfnResource implements IInspectable
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)
.macVersion("macVersion")
.maxDutyCycle(123)
.maxEirp(123)
.pingSlotDr(123)
.pingSlotFreq(123)
.pingSlotPeriod(123)
.regParamsRevision("regParamsRevision")
.rfRegion("rfRegion")
.supports32BitFCnt(false)
.supportsClassB(false)
.supportsClassC(false)
.supportsJoin(false)
.build())
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnDeviceProfile.Builder
A fluent builder for
CfnDeviceProfile. |
static interface |
CfnDeviceProfile.LoRaWANDeviceProfileProperty
LoRaWAN device profile object.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnDeviceProfile(software.constructs.Construct scope,
String id)
Create a new `AWS::IoTWireless::DeviceProfile`.
|
|
CfnDeviceProfile(software.constructs.Construct scope,
String id,
CfnDeviceProfileProps props)
Create a new `AWS::IoTWireless::DeviceProfile`.
|
protected |
CfnDeviceProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnDeviceProfile(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
The ARN of the device profile created.
|
String |
getAttrId()
The ID of the device profile created.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getLoRaWan()
LoRaWAN device profile object.
|
String |
getName()
The name of the new resource.
|
TagManager |
getTags()
The tags are an array of key-value pairs to attach to the specified resource.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setLoRaWan(CfnDeviceProfile.LoRaWANDeviceProfileProperty value)
LoRaWAN device profile object.
|
void |
setLoRaWan(IResolvable value)
LoRaWAN device profile object.
|
void |
setName(String value)
The name of the new resource.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnDeviceProfile(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDeviceProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnDeviceProfile(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnDeviceProfileProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public CfnDeviceProfile(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
Tags can have a minimum of 0 and a maximum of 50 items.
@Stability(value=Stable) @Nullable public Object getLoRaWan()
@Stability(value=Stable)
public void setLoRaWan(@Nullable
CfnDeviceProfile.LoRaWANDeviceProfileProperty value)
@Stability(value=Stable)
public void setLoRaWan(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
Copyright © 2022. All rights reserved.