We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
Resource Type definition for AWS::IoT::ThingGroup
Using getThingGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getThingGroup(args: GetThingGroupArgs, opts?: InvokeOptions): Promise<GetThingGroupResult>
function getThingGroupOutput(args: GetThingGroupOutputArgs, opts?: InvokeOptions): Output<GetThingGroupResult>def get_thing_group(thing_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetThingGroupResult
def get_thing_group_output(thing_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetThingGroupResult]func LookupThingGroup(ctx *Context, args *LookupThingGroupArgs, opts ...InvokeOption) (*LookupThingGroupResult, error)
func LookupThingGroupOutput(ctx *Context, args *LookupThingGroupOutputArgs, opts ...InvokeOption) LookupThingGroupResultOutput> Note: This function is named LookupThingGroup in the Go SDK.
public static class GetThingGroup
{
public static Task<GetThingGroupResult> InvokeAsync(GetThingGroupArgs args, InvokeOptions? opts = null)
public static Output<GetThingGroupResult> Invoke(GetThingGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetThingGroupResult> getThingGroup(GetThingGroupArgs args, InvokeOptions options)
public static Output<GetThingGroupResult> getThingGroup(GetThingGroupArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:iot:getThingGroup
arguments:
# arguments dictionaryThe following arguments are supported:
- Thing
Group stringName - The thing group name.
- Thing
Group stringName - The thing group name.
- thing
Group StringName - The thing group name.
- thing
Group stringName - The thing group name.
- thing_
group_ strname - The thing group name.
- thing
Group StringName - The thing group name.
getThingGroup Result
The following output properties are available:
- Arn string
- The thing group ARN.
- Id string
- The thing group ID.
- Query
String string The dynamic thing group search query string.
The
queryStringattribute is required forCreateDynamicThingGroup. ThequeryStringattribute is not required forCreateThingGroup.-
List<Pulumi.
Aws Native. Outputs. Tag> - An array of key-value pairs to apply to this resource.
- Thing
Group Pulumi.Properties Aws Native. Io T. Outputs. Thing Group Properties Properties - Thing group properties.
- Arn string
- The thing group ARN.
- Id string
- The thing group ID.
- Query
String string The dynamic thing group search query string.
The
queryStringattribute is required forCreateDynamicThingGroup. ThequeryStringattribute is not required forCreateThingGroup.- Tag
- An array of key-value pairs to apply to this resource.
- Thing
Group ThingProperties Group Properties Properties - Thing group properties.
- arn String
- The thing group ARN.
- id String
- The thing group ID.
- query
String String The dynamic thing group search query string.
The
queryStringattribute is required forCreateDynamicThingGroup. ThequeryStringattribute is not required forCreateThingGroup.- List<Tag>
- An array of key-value pairs to apply to this resource.
- thing
Group ThingProperties Group Properties Properties - Thing group properties.
- arn string
- The thing group ARN.
- id string
- The thing group ID.
- query
String string The dynamic thing group search query string.
The
queryStringattribute is required forCreateDynamicThingGroup. ThequeryStringattribute is not required forCreateThingGroup.- Tag[]
- An array of key-value pairs to apply to this resource.
- thing
Group ThingProperties Group Properties Properties - Thing group properties.
- arn str
- The thing group ARN.
- id str
- The thing group ID.
- query_
string str The dynamic thing group search query string.
The
queryStringattribute is required forCreateDynamicThingGroup. ThequeryStringattribute is not required forCreateThingGroup.- Sequence[root_Tag]
- An array of key-value pairs to apply to this resource.
- thing_
group_ Thingproperties Group Properties Properties - Thing group properties.
- arn String
- The thing group ARN.
- id String
- The thing group ID.
- query
String String The dynamic thing group search query string.
The
queryStringattribute is required forCreateDynamicThingGroup. ThequeryStringattribute is not required forCreateThingGroup.- List<Property Map>
- An array of key-value pairs to apply to this resource.
- thing
Group Property MapProperties - Thing group properties.
Supporting Types
Tag
ThingGroupAttributePayload
- 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
- 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
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
