# CfnWirelessGatewayProps

Properties for defining a `CfnWirelessGateway`.

Used as props by: [CfnWirelessGateway](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iotwireless.CfnWirelessGateway.html)

- Source: Generated at build time
- Type last changed: v2.42.0 · 16 Sep 2022

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `description`: string — The description of the new resource.

  The maximum length is 2048 characters.

- `lastUplinkReceivedAt`: string — The date and time when the most recent uplink was received.

- `loRaWan`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWirelessGateway.LoRaWANGatewayProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iotwireless.CfnWirelessGateway.LoRaWANGatewayProperty.html) (required) — The gateway configuration information to use to create the wireless gateway.

- `name`: string — The name of the new resource.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — 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.

- `thingArn`: string — The ARN of the thing to associate with the wireless gateway.

- `thingName`: string — The name of the thing associated with the wireless gateway.

  The value is empty if a thing isn't associated with the gateway.
