AWS Native v0.63.0, May 25 23
AWS Native v0.63.0, May 25 23
aws-native.iot.getThing
Explore with Pulumi AI
Resource Type definition for AWS::IoT::Thing
Using getThing
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 getThing(args: GetThingArgs, opts?: InvokeOptions): Promise<GetThingResult>
function getThingOutput(args: GetThingOutputArgs, opts?: InvokeOptions): Output<GetThingResult>
def get_thing(thing_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetThingResult
def get_thing_output(thing_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetThingResult]
func LookupThing(ctx *Context, args *LookupThingArgs, opts ...InvokeOption) (*LookupThingResult, error)
func LookupThingOutput(ctx *Context, args *LookupThingOutputArgs, opts ...InvokeOption) LookupThingResultOutput
> Note: This function is named LookupThing
in the Go SDK.
public static class GetThing
{
public static Task<GetThingResult> InvokeAsync(GetThingArgs args, InvokeOptions? opts = null)
public static Output<GetThingResult> Invoke(GetThingInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetThingResult> getThing(GetThingArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:iot:getThing
arguments:
# arguments dictionary
The following arguments are supported:
- Thing
Name string
- Thing
Name string
- thing
Name String
- thing
Name string
- thing_
name str
- thing
Name String
getThing Result
The following output properties are available:
- Arn string
- Attribute
Payload ThingAttribute Payload - Id string
- arn String
- attribute
Payload ThingAttribute Payload - id String
- arn string
- attribute
Payload ThingAttribute Payload - id string
- arn String
- attribute
Payload Property Map - id String
Supporting Types
ThingAttributePayload
- Attributes object
- Attributes interface{}
- attributes Object
- attributes any
- attributes Any
- attributes Any
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0