CfnWirelessGatewayProps Struct
Properties for defining a CfnWirelessGateway.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotwireless as iotwireless } from 'aws-cdk-lib';
const cfnWirelessGatewayProps: iotwireless.CfnWirelessGatewayProps = {
loRaWan: {
gatewayEui: 'gatewayEui',
rfRegion: 'rfRegion',
},
// the properties below are optional
description: 'description',
lastUplinkReceivedAt: 'lastUplinkReceivedAt',
name: 'name',
tags: [{
key: 'key',
value: 'value',
}],
thingArn: 'thingArn',
thingName: 'thingName',
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotwireless as iotwireless
cfn_wireless_gateway_props = iotwireless.CfnWirelessGatewayProps(
lo_ra_wan=iotwireless.CfnWirelessGateway.LoRaWANGatewayProperty(
gateway_eui="gatewayEui",
rf_region="rfRegion"
),
# the properties below are optional
description="description",
last_uplink_received_at="lastUplinkReceivedAt",
name="name",
tags=[CfnTag(
key="key",
value="value"
)],
thing_arn="thingArn",
thing_name="thingName"
)
java
// 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.*;
CfnWirelessGatewayProps cfnWirelessGatewayProps = CfnWirelessGatewayProps.builder()
.loRaWan(LoRaWANGatewayProperty.builder()
.gatewayEui("gatewayEui")
.rfRegion("rfRegion")
.build())
// the properties below are optional
.description("description")
.lastUplinkReceivedAt("lastUplinkReceivedAt")
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.thingArn("thingArn")
.thingName("thingName")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTWireless;
var cfnWirelessGatewayProps = new CfnWirelessGatewayProps {
LoRaWan = new LoRaWANGatewayProperty {
GatewayEui = "gatewayEui",
RfRegion = "rfRegion"
},
// the properties below are optional
Description = "description",
LastUplinkReceivedAt = "lastUplinkReceivedAt",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
ThingArn = "thingArn",
ThingName = "thingName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnWirelessGatewayProps := &CfnWirelessGatewayProps{
LoRaWan: &LoRaWANGatewayProperty{
GatewayEui: jsii.String("gatewayEui"),
RfRegion: jsii.String("rfRegion"),
},
// the properties below are optional
Description: jsii.String("description"),
LastUplinkReceivedAt: jsii.String("lastUplinkReceivedAt"),
Name: jsii.String("name"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
ThingArn: jsii.String("thingArn"),
ThingName: jsii.String("thingName"),
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the new resource.
The maximum length is 2048 characters.
lastUplinkReceivedAtoptionalstringlast_uplink_received_atoptionalstrlastUplinkReceivedAtoptionalStringLastUplinkReceivedAtoptionalstringLastUplinkReceivedAtoptional*string #The date and time when the most recent uplink was received.
loRaWanIResolvable | CfnWirelessGateway.lo_ra_wantyping.Union[IResolvable, LoRaWANGatewayProperty]loRaWanIResolvableLoRaWanIResolvableLoRaWaninterface{} required #The gateway configuration information to use to create the wireless gateway.
The name of the new resource.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #The tags are an array of key-value pairs to attach to the specified resource.
Tags can have a minimum of 0 and a maximum of 50 items.
thingArnoptionalstringthing_arnoptionalstrthingArnoptionalStringThingArnoptionalstringThingArnoptional*string #The ARN of the thing to associate with the wireless gateway.
thingNameoptionalstringthing_nameoptionalstrthingNameoptionalStringThingNameoptionalstringThingNameoptional*string #The name of the thing associated with the wireless gateway.
The value is empty if a thing isn't associated with the gateway.