We recommend new projects start with resources from the AWS provider.
aws-native.iot.getThingGroup
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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:
- ThingGroup stringName 
- The thing group name.
- ThingGroup stringName 
- The thing group name.
- thingGroup StringName 
- The thing group name.
- thingGroup stringName 
- The thing group name.
- thing_group_ strname 
- The thing group name.
- thingGroup 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.
- 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. Outputs. Tag> 
- An array of key-value pairs to apply to this resource.
- ThingGroup 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.
- 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 ThingProperties Group Properties Properties 
- Thing group properties.
- arn String
- The thing group ARN.
- id String
- The thing group ID.
- 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 ThingProperties Group Properties Properties 
- Thing group properties.
- arn string
- The thing group ARN.
- id string
- The thing group ID.
- 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 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 for- CreateDynamicThingGroup. The- queryStringattribute is not required for- CreateThingGroup.
- 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.
- 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 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   
- 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.