Class CfnWirelessGateway

java.lang.Object
software.amazon.jsii.JsiiObject
All Implemented Interfaces:
IConstruct, IDependable, IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:58.022Z") @Stability(Stable) public class CfnWirelessGateway extends CfnResource implements IInspectable
A CloudFormation AWS::IoTWireless::WirelessGateway.

Provisions a wireless gateway.

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.*;
 CfnWirelessGateway cfnWirelessGateway = CfnWirelessGateway.Builder.create(this, "MyCfnWirelessGateway")
         .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();
 
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnWirelessGateway

      protected CfnWirelessGateway(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnWirelessGateway

      protected CfnWirelessGateway(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnWirelessGateway

      @Stability(Stable) public CfnWirelessGateway(@NotNull Construct scope, @NotNull String id, @NotNull CfnWirelessGatewayProps props)
      Create a new AWS::IoTWireless::WirelessGateway.

      Parameters:
      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.
      This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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 class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The ARN of the wireless gateway created.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
      The ID of the wireless gateway created.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      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.

    • getLoRaWan

      @Stability(Stable) @NotNull public Object getLoRaWan()
      The gateway configuration information to use to create the wireless gateway.
    • setLoRaWan

      @Stability(Stable) public void setLoRaWan(@NotNull IResolvable value)
      The gateway configuration information to use to create the wireless gateway.
    • setLoRaWan

      @Stability(Stable) public void setLoRaWan(@NotNull CfnWirelessGateway.LoRaWANGatewayProperty value)
      The gateway configuration information to use to create the wireless gateway.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      The description of the new resource.

      The maximum length is 2048 characters.

    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      The description of the new resource.

      The maximum length is 2048 characters.

    • getLastUplinkReceivedAt

      @Stability(Stable) @Nullable public String getLastUplinkReceivedAt()
      The date and time when the most recent uplink was received.
    • setLastUplinkReceivedAt

      @Stability(Stable) public void setLastUplinkReceivedAt(@Nullable String value)
      The date and time when the most recent uplink was received.
    • getName

      @Stability(Stable) @Nullable public String getName()
      The name of the new resource.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      The name of the new resource.
    • getThingArn

      @Stability(Stable) @Nullable public String getThingArn()
      The ARN of the thing to associate with the wireless gateway.
    • setThingArn

      @Stability(Stable) public void setThingArn(@Nullable String value)
      The ARN of the thing to associate with the wireless gateway.
    • getThingName

      @Stability(Stable) @Nullable public String getThingName()
      The name of the thing associated with the wireless gateway.

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

    • setThingName

      @Stability(Stable) public void setThingName(@Nullable String value)
      The name of the thing associated with the wireless gateway.

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