CfnMulticastGroupProps Struct
Properties for defining a CfnMulticastGroup.
| Source |
|---|
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 cfnMulticastGroupProps: iotwireless.CfnMulticastGroupProps = {
loRaWan: {
dlClass: 'dlClass',
rfRegion: 'rfRegion',
// the properties below are optional
numberOfDevicesInGroup: 123,
numberOfDevicesRequested: 123,
},
// the properties below are optional
associateWirelessDevice: 'associateWirelessDevice',
description: 'description',
disassociateWirelessDevice: 'disassociateWirelessDevice',
name: 'name',
tags: [{
key: 'key',
value: 'value',
}],
};
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_multicast_group_props = iotwireless.CfnMulticastGroupProps(
lo_ra_wan=iotwireless.CfnMulticastGroup.LoRaWANProperty(
dl_class="dlClass",
rf_region="rfRegion",
# the properties below are optional
number_of_devices_in_group=123,
number_of_devices_requested=123
),
# the properties below are optional
associate_wireless_device="associateWirelessDevice",
description="description",
disassociate_wireless_device="disassociateWirelessDevice",
name="name",
tags=[CfnTag(
key="key",
value="value"
)]
)
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.*;
CfnMulticastGroupProps cfnMulticastGroupProps = CfnMulticastGroupProps.builder()
.loRaWan(LoRaWANProperty.builder()
.dlClass("dlClass")
.rfRegion("rfRegion")
// the properties below are optional
.numberOfDevicesInGroup(123)
.numberOfDevicesRequested(123)
.build())
// the properties below are optional
.associateWirelessDevice("associateWirelessDevice")
.description("description")
.disassociateWirelessDevice("disassociateWirelessDevice")
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.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 cfnMulticastGroupProps = new CfnMulticastGroupProps {
LoRaWan = new LoRaWANProperty {
DlClass = "dlClass",
RfRegion = "rfRegion",
// the properties below are optional
NumberOfDevicesInGroup = 123,
NumberOfDevicesRequested = 123
},
// the properties below are optional
AssociateWirelessDevice = "associateWirelessDevice",
Description = "description",
DisassociateWirelessDevice = "disassociateWirelessDevice",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
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"
cfnMulticastGroupProps := &CfnMulticastGroupProps{
LoRaWan: &LoRaWANProperty{
DlClass: jsii.String("dlClass"),
RfRegion: jsii.String("rfRegion"),
// the properties below are optional
NumberOfDevicesInGroup: jsii.Number(123),
NumberOfDevicesRequested: jsii.Number(123),
},
// the properties below are optional
AssociateWirelessDevice: jsii.String("associateWirelessDevice"),
Description: jsii.String("description"),
DisassociateWirelessDevice: jsii.String("disassociateWirelessDevice"),
Name: jsii.String("name"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
associateWirelessDeviceoptionalstringassociate_wireless_deviceoptionalstrassociateWirelessDeviceoptionalStringAssociateWirelessDeviceoptionalstringAssociateWirelessDeviceoptional*string #The ID of the wireless device to associate with a multicast group.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the multicast group.
disassociateWirelessDeviceoptionalstringdisassociate_wireless_deviceoptionalstrdisassociateWirelessDeviceoptionalStringDisassociateWirelessDeviceoptionalstringDisassociateWirelessDeviceoptional*string #The ID of the wireless device to disassociate from a multicast group.
loRaWanIResolvable | CfnMulticastGroup.lo_ra_wantyping.Union[IResolvable, LoRaWANProperty]loRaWanIResolvableLoRaWanIResolvableLoRaWaninterface{} required #The LoRaWAN information that is to be used with the multicast group.
The name of the multicast group.