Skip to main content

multicast_groups

Creates, updates, deletes or gets a multicast_group resource or lists multicast_groups in a region

Overview

Namemulticast_groups
TypeResource
DescriptionCreate and manage Multicast groups.
Idaws.iotwireless.multicast_groups

Fields

NameDatatypeDescription
namestringName of Multicast group
descriptionstringMulticast group description
lo_ra_wanobjectMulticast group LoRaWAN
arnstringMulticast group arn. Returned after successful create.
idstringMulticast group id. Returned after successful create.
tagsarrayA list of key-value pairs that contain metadata for the Multicast group.
statusstringMulticast group status. Returned after successful read.
associate_wireless_devicestringWireless device to associate. Only for update request.
disassociate_wireless_devicestringWireless device to disassociate. Only for update request.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTLoRaWAN, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all multicast_groups in a region.

SELECT
region,
name,
description,
lo_ra_wan,
arn,
id,
tags,
status,
associate_wireless_device,
disassociate_wireless_device
FROM aws.iotwireless.multicast_groups
WHERE region = 'us-east-1';

Gets all properties from an individual multicast_group.

SELECT
region,
name,
description,
lo_ra_wan,
arn,
id,
tags,
status,
associate_wireless_device,
disassociate_wireless_device
FROM aws.iotwireless.multicast_groups
WHERE region = 'us-east-1' AND data__Identifier = '<Id>';

INSERT example

Use the following StackQL query and manifest file to create a new multicast_group resource, using stack-deploy.

/*+ create */
INSERT INTO aws.iotwireless.multicast_groups (
LoRaWAN,
region
)
SELECT
'{{ LoRaWAN }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.iotwireless.multicast_groups
WHERE data__Identifier = '<Id>'
AND region = 'us-east-1';

Permissions

To operate on the multicast_groups resource, the following permissions are required:

Create

iotwireless:CreateMulticastGroup,
iotwireless:TagResource,
iotwireless:ListTagsForResource

Read

iotwireless:GetMulticastGroup,
iotwireless:ListTagsForResource

Update

iotwireless:UpdateMulticastGroup,
iotwireless:UntagResource,
iotwireless:ListTagsForResource,
iotwireless:AssociateWirelessDeviceWithMulticastGroup,
iotwireless:DisassociateWirelessDeviceFromMulticastGroup

Delete

iotwireless:DeleteMulticastGroup

List

iotwireless:ListMulticastGroups,
iotwireless:ListTagsForResource