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.
Idawscc.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.

For more information, see AWS::IoTWireless::MulticastGroup.

Methods

NameResourceAccessible byRequired Params
create_resourcemulticast_groupsINSERTLoRaWAN, region
delete_resourcemulticast_groupsDELETEIdentifier, region
update_resourcemulticast_groupsUPDATEIdentifier, PatchDocument, region
list_resourcesmulticast_groups_list_onlySELECTregion
get_resourcemulticast_groupsSELECTIdentifier, region

SELECT examples

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 awscc.iotwireless.multicast_groups
WHERE
region = 'us-east-1' AND
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 awscc.iotwireless.multicast_groups (
LoRaWAN,
region
)
SELECT
'{{ lo_ra_wan }}',
'{{ region }}';

UPDATE example

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

/*+ update */
UPDATE awscc.iotwireless.multicast_groups
SET PatchDocument = string('{{ {
"Name": name,
"Description": description,
"Tags": tags,
"AssociateWirelessDevice": associate_wireless_device,
"DisassociateWirelessDevice": disassociate_wireless_device
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ id }}';

DELETE example

/*+ delete */
DELETE FROM awscc.iotwireless.multicast_groups
WHERE
Identifier = '{{ id }}' AND
region = 'us-east-1';

Permissions

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

iotwireless:CreateMulticastGroup,
iotwireless:TagResource