CfnInputProps

class aws_cdk.aws_iotevents.CfnInputProps(*, input_definition, input_description=None, input_name=None, tags=None)

Bases: object

Properties for defining a CfnInput.

Parameters:
  • input_definition (Union[IResolvable, InputDefinitionProperty, Dict[str, Any]]) – The definition of the input.

  • input_description (Optional[str]) – A brief description of the input.

  • input_name (Optional[str]) – The name of the input.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply to this resource. For more information, see Tag .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-input.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_iotevents as iotevents

cfn_input_props = iotevents.CfnInputProps(
    input_definition=iotevents.CfnInput.InputDefinitionProperty(
        attributes=[iotevents.CfnInput.AttributeProperty(
            json_path="jsonPath"
        )]
    ),

    # the properties below are optional
    input_description="inputDescription",
    input_name="inputName",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

input_definition

The definition of the input.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-input.html#cfn-iotevents-input-inputdefinition

input_description

A brief description of the input.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-input.html#cfn-iotevents-input-inputdescription

input_name

The name of the input.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-input.html#cfn-iotevents-input-inputname

tags

An array of key-value pairs to apply to this resource.

For more information, see Tag .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotevents-input.html#cfn-iotevents-input-tags