We recommend new projects start with resources from the AWS provider.
aws-native.iot.ThingGroup
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ThingGroup resource accepts the following input properties:
- ParentGroup stringName 
- The parent thing group name. - A Dynamic Thing Group does not have - parentGroupNamedefined.
- QueryString string
- The dynamic thing group search query string. - The - queryStringattribute is required for- CreateDynamicThingGroup. The- queryStringattribute is not required for- CreateThingGroup.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- An array of key-value pairs to apply to this resource.
- ThingGroup stringName 
- The thing group name.
- ThingGroup Pulumi.Properties Aws Native. Io T. Inputs. Thing Group Properties Properties 
- Thing group properties.
- ParentGroup stringName 
- The parent thing group name. - A Dynamic Thing Group does not have - parentGroupNamedefined.
- QueryString string
- The dynamic thing group search query string. - The - queryStringattribute is required for- CreateDynamicThingGroup. The- queryStringattribute is not required for- CreateThingGroup.
- 
TagArgs 
- An array of key-value pairs to apply to this resource.
- ThingGroup stringName 
- The thing group name.
- ThingGroup ThingProperties Group Properties Properties Args 
- Thing group properties.
- parentGroup StringName 
- The parent thing group name. - A Dynamic Thing Group does not have - parentGroupNamedefined.
- queryString String
- The dynamic thing group search query string. - The - queryStringattribute is required for- CreateDynamicThingGroup. The- queryStringattribute is not required for- CreateThingGroup.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- thingGroup StringName 
- The thing group name.
- thingGroup ThingProperties Group Properties Properties 
- Thing group properties.
- parentGroup stringName 
- The parent thing group name. - A Dynamic Thing Group does not have - parentGroupNamedefined.
- queryString string
- The dynamic thing group search query string. - The - queryStringattribute is required for- CreateDynamicThingGroup. The- queryStringattribute is not required for- CreateThingGroup.
- Tag[]
- An array of key-value pairs to apply to this resource.
- thingGroup stringName 
- The thing group name.
- thingGroup ThingProperties Group Properties Properties 
- Thing group properties.
- parent_group_ strname 
- The parent thing group name. - A Dynamic Thing Group does not have - parentGroupNamedefined.
- query_string str
- The dynamic thing group search query string. - The - queryStringattribute is required for- CreateDynamicThingGroup. The- queryStringattribute is not required for- CreateThingGroup.
- 
Sequence[TagArgs] 
- 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.
- parentGroup StringName 
- The parent thing group name. - A Dynamic Thing Group does not have - parentGroupNamedefined.
- queryString String
- The dynamic thing group search query string. - The - queryStringattribute is required for- CreateDynamicThingGroup. The- queryStringattribute is not required for- CreateThingGroup.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
- thingGroup StringName 
- The thing group name.
- thingGroup 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        
- AttributePayload Pulumi.Aws Native. Io T. Inputs. Thing Group Attribute Payload 
- The thing group attributes in JSON format.
- ThingGroup stringDescription 
- The thing group description.
- AttributePayload ThingGroup Attribute Payload 
- The thing group attributes in JSON format.
- ThingGroup stringDescription 
- The thing group description.
- attributePayload ThingGroup Attribute Payload 
- The thing group attributes in JSON format.
- thingGroup StringDescription 
- The thing group description.
- attributePayload ThingGroup Attribute Payload 
- The thing group attributes in JSON format.
- thingGroup stringDescription 
- The thing group description.
- attribute_payload ThingGroup Attribute Payload 
- The thing group attributes in JSON format.
- thing_group_ strdescription 
- The thing group description.
- attributePayload Property Map
- The thing group attributes in JSON format.
- thingGroup StringDescription 
- The thing group description.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.