AWS Native is in preview. AWS Classic is fully supported.
aws-native.iot.ThingGroup
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource Type definition for AWS::IoT::ThingGroup
Create ThingGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ThingGroup(name: string, args?: ThingGroupArgs, opts?: CustomResourceOptions);
@overload
def ThingGroup(resource_name: str,
args: Optional[ThingGroupArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ThingGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
parent_group_name: Optional[str] = None,
query_string: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
thing_group_name: Optional[str] = None,
thing_group_properties: Optional[ThingGroupPropertiesPropertiesArgs] = None)
func NewThingGroup(ctx *Context, name string, args *ThingGroupArgs, opts ...ResourceOption) (*ThingGroup, error)
public ThingGroup(string name, ThingGroupArgs? args = null, CustomResourceOptions? opts = null)
public ThingGroup(String name, ThingGroupArgs args)
public ThingGroup(String name, ThingGroupArgs args, CustomResourceOptions options)
type: aws-native:iot:ThingGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ThingGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ThingGroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ThingGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ThingGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ThingGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ThingGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ThingGroup resource accepts the following input properties:
- Parent
Group stringName The parent thing group name.
A Dynamic Thing Group does not have
parentGroupName
defined.- Query
String string The dynamic thing group search query string.
The
queryString
attribute is required forCreateDynamicThingGroup
. ThequeryString
attribute is not required forCreateThingGroup
.- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Thing
Group stringName - The thing group name.
- Thing
Group Pulumi.Properties Aws Native. Io T. Inputs. Thing Group Properties Properties - Thing group properties.
- Parent
Group stringName The parent thing group name.
A Dynamic Thing Group does not have
parentGroupName
defined.- Query
String string The dynamic thing group search query string.
The
queryString
attribute is required forCreateDynamicThingGroup
. ThequeryString
attribute is not required forCreateThingGroup
.- Tag
Args - An array of key-value pairs to apply to this resource.
- Thing
Group stringName - The thing group name.
- Thing
Group ThingProperties Group Properties Properties Args - Thing group properties.
- parent
Group StringName The parent thing group name.
A Dynamic Thing Group does not have
parentGroupName
defined.- query
String String The dynamic thing group search query string.
The
queryString
attribute is required forCreateDynamicThingGroup
. ThequeryString
attribute is not required forCreateThingGroup
.- List<Tag>
- An array of key-value pairs to apply to this resource.
- thing
Group StringName - The thing group name.
- thing
Group ThingProperties Group Properties Properties - Thing group properties.
- parent
Group stringName The parent thing group name.
A Dynamic Thing Group does not have
parentGroupName
defined.- query
String string The dynamic thing group search query string.
The
queryString
attribute is required forCreateDynamicThingGroup
. ThequeryString
attribute is not required forCreateThingGroup
.- Tag[]
- An array of key-value pairs to apply to this resource.
- thing
Group stringName - The thing group name.
- thing
Group ThingProperties Group Properties Properties - Thing group properties.
- parent_
group_ strname The parent thing group name.
A Dynamic Thing Group does not have
parentGroupName
defined.- query_
string str The dynamic thing group search query string.
The
queryString
attribute is required forCreateDynamicThingGroup
. ThequeryString
attribute is not required forCreateThingGroup
.- Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- thing_
group_ strname - The thing group name.
- thing_
group_ Thingproperties Group Properties Properties Args - Thing group properties.
- parent
Group StringName The parent thing group name.
A Dynamic Thing Group does not have
parentGroupName
defined.- query
String String The dynamic thing group search query string.
The
queryString
attribute is required forCreateDynamicThingGroup
. ThequeryString
attribute is not required forCreateThingGroup
.- List<Property Map>
- An array of key-value pairs to apply to this resource.
- thing
Group StringName - The thing group name.
- thing
Group Property MapProperties - Thing group properties.
Outputs
All input properties are implicitly available as output properties. Additionally, the ThingGroup resource produces the following output properties:
Supporting Types
Tag, TagArgs
ThingGroupAttributePayload, ThingGroupAttributePayloadArgs
- Attributes Dictionary<string, string>
A JSON string containing up to three key-value pair in JSON format. For example:
{\"attributes\":{\"string1\":\"string2\"}}
- Attributes map[string]string
A JSON string containing up to three key-value pair in JSON format. For example:
{\"attributes\":{\"string1\":\"string2\"}}
- attributes Map<String,String>
A JSON string containing up to three key-value pair in JSON format. For example:
{\"attributes\":{\"string1\":\"string2\"}}
- attributes {[key: string]: string}
A JSON string containing up to three key-value pair in JSON format. For example:
{\"attributes\":{\"string1\":\"string2\"}}
- attributes Mapping[str, str]
A JSON string containing up to three key-value pair in JSON format. For example:
{\"attributes\":{\"string1\":\"string2\"}}
- attributes Map<String>
A JSON string containing up to three key-value pair in JSON format. For example:
{\"attributes\":{\"string1\":\"string2\"}}
ThingGroupPropertiesProperties, ThingGroupPropertiesPropertiesArgs
- Attribute
Payload Pulumi.Aws Native. Io T. Inputs. Thing Group Attribute Payload - The thing group attributes in JSON format.
- Thing
Group stringDescription - The thing group description.
- Attribute
Payload ThingGroup Attribute Payload - The thing group attributes in JSON format.
- Thing
Group stringDescription - The thing group description.
- attribute
Payload ThingGroup Attribute Payload - The thing group attributes in JSON format.
- thing
Group StringDescription - The thing group description.
- attribute
Payload ThingGroup Attribute Payload - The thing group attributes in JSON format.
- thing
Group stringDescription - The thing group description.
- attribute_
payload ThingGroup Attribute Payload - The thing group attributes in JSON format.
- thing_
group_ strdescription - The thing group description.
- attribute
Payload Property Map - The thing group attributes in JSON format.
- thing
Group StringDescription - The thing group description.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.