AWS Native is in preview. AWS Classic is fully supported.
aws-native.iotevents.getInput
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
The AWS::IoTEvents::Input resource creates an input. To monitor your devices and processes, they must have a way to get telemetry data into AWS IoT Events. This is done by sending messages as inputs to AWS IoT Events. For more information, see How to Use AWS IoT Events in the AWS IoT Events Developer Guide.
Using getInput
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 getInput(args: GetInputArgs, opts?: InvokeOptions): Promise<GetInputResult>
function getInputOutput(args: GetInputOutputArgs, opts?: InvokeOptions): Output<GetInputResult>
def get_input(input_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInputResult
def get_input_output(input_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInputResult]
func LookupInput(ctx *Context, args *LookupInputArgs, opts ...InvokeOption) (*LookupInputResult, error)
func LookupInputOutput(ctx *Context, args *LookupInputOutputArgs, opts ...InvokeOption) LookupInputResultOutput
> Note: This function is named LookupInput
in the Go SDK.
public static class GetInput
{
public static Task<GetInputResult> InvokeAsync(GetInputArgs args, InvokeOptions? opts = null)
public static Output<GetInputResult> Invoke(GetInputInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInputResult> getInput(GetInputArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:iotevents:getInput
arguments:
# arguments dictionary
The following arguments are supported:
- Input
Name string - The name of the input.
- Input
Name string - The name of the input.
- input
Name String - The name of the input.
- input
Name string - The name of the input.
- input_
name str - The name of the input.
- input
Name String - The name of the input.
getInput Result
The following output properties are available:
- Input
Definition Pulumi.Aws Native. Io TEvents. Outputs. Input Definition - The definition of the input.
- Input
Description string - A brief description of the input.
- List<Pulumi.
Aws Native. Outputs. Tag> An array of key-value pairs to apply to this resource.
For more information, see Tag.
- Input
Definition InputDefinition - The definition of the input.
- Input
Description string - A brief description of the input.
- Tag
An array of key-value pairs to apply to this resource.
For more information, see Tag.
- input
Definition InputDefinition - The definition of the input.
- input
Description String - A brief description of the input.
- List<Tag>
An array of key-value pairs to apply to this resource.
For more information, see Tag.
- input
Definition InputDefinition - The definition of the input.
- input
Description string - A brief description of the input.
- Tag[]
An array of key-value pairs to apply to this resource.
For more information, see Tag.
- input_
definition InputDefinition - The definition of the input.
- input_
description str - A brief description of the input.
- Sequence[root_Tag]
An array of key-value pairs to apply to this resource.
For more information, see Tag.
- input
Definition Property Map - The definition of the input.
- input
Description String - A brief description of the input.
- List<Property Map>
An array of key-value pairs to apply to this resource.
For more information, see Tag.
Supporting Types
InputAttribute
- Json
Path string An expression that specifies an attribute-value pair in a JSON structure. Use this to specify an attribute from the JSON payload that is made available by the input. Inputs are derived from messages sent to AWS IoT Events (
BatchPutMessage
). Each such message contains a JSON payload. The attribute (and its paired value) specified here are available for use in thecondition
expressions used by detectors.Syntax:
<field-name>.<field-name>...
- Json
Path string An expression that specifies an attribute-value pair in a JSON structure. Use this to specify an attribute from the JSON payload that is made available by the input. Inputs are derived from messages sent to AWS IoT Events (
BatchPutMessage
). Each such message contains a JSON payload. The attribute (and its paired value) specified here are available for use in thecondition
expressions used by detectors.Syntax:
<field-name>.<field-name>...
- json
Path String An expression that specifies an attribute-value pair in a JSON structure. Use this to specify an attribute from the JSON payload that is made available by the input. Inputs are derived from messages sent to AWS IoT Events (
BatchPutMessage
). Each such message contains a JSON payload. The attribute (and its paired value) specified here are available for use in thecondition
expressions used by detectors.Syntax:
<field-name>.<field-name>...
- json
Path string An expression that specifies an attribute-value pair in a JSON structure. Use this to specify an attribute from the JSON payload that is made available by the input. Inputs are derived from messages sent to AWS IoT Events (
BatchPutMessage
). Each such message contains a JSON payload. The attribute (and its paired value) specified here are available for use in thecondition
expressions used by detectors.Syntax:
<field-name>.<field-name>...
- json_
path str An expression that specifies an attribute-value pair in a JSON structure. Use this to specify an attribute from the JSON payload that is made available by the input. Inputs are derived from messages sent to AWS IoT Events (
BatchPutMessage
). Each such message contains a JSON payload. The attribute (and its paired value) specified here are available for use in thecondition
expressions used by detectors.Syntax:
<field-name>.<field-name>...
- json
Path String An expression that specifies an attribute-value pair in a JSON structure. Use this to specify an attribute from the JSON payload that is made available by the input. Inputs are derived from messages sent to AWS IoT Events (
BatchPutMessage
). Each such message contains a JSON payload. The attribute (and its paired value) specified here are available for use in thecondition
expressions used by detectors.Syntax:
<field-name>.<field-name>...
InputDefinition
- Attributes
List<Pulumi.
Aws Native. Io TEvents. Inputs. Input Attribute> - The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the AWS IoT Events system using
BatchPutMessage
. Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in thecondition
expressions used by detectors that monitor this input.
- Attributes
[]Input
Attribute - The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the AWS IoT Events system using
BatchPutMessage
. Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in thecondition
expressions used by detectors that monitor this input.
- attributes
List<Input
Attribute> - The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the AWS IoT Events system using
BatchPutMessage
. Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in thecondition
expressions used by detectors that monitor this input.
- attributes
Input
Attribute[] - The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the AWS IoT Events system using
BatchPutMessage
. Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in thecondition
expressions used by detectors that monitor this input.
- attributes
Sequence[Input
Attribute] - The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the AWS IoT Events system using
BatchPutMessage
. Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in thecondition
expressions used by detectors that monitor this input.
- attributes List<Property Map>
- The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the AWS IoT Events system using
BatchPutMessage
. Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in thecondition
expressions used by detectors that monitor this input.
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.