iot

package
v1.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certificate

type Certificate struct {
	pulumi.CustomResourceState

	// Boolean flag to indicate if the certificate should be active
	Active pulumi.BoolOutput `pulumi:"active"`
	// The ARN of the created certificate.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The certificate data, in PEM format.
	CertificatePem pulumi.StringOutput `pulumi:"certificatePem"`
	// The certificate signing request. Review
	// [CreateCertificateFromCsr](https://docs.aws.amazon.com/iot/latest/apireference/API_CreateCertificateFromCsr.html)
	// for more information on generating a certificate from a certificate signing request (CSR).
	// If none is specified both the certificate and keys will be generated, review [CreateKeysAndCertificate](https://docs.aws.amazon.com/iot/latest/apireference/API_CreateKeysAndCertificate.html)
	// for more information on generating keys and a certificate.
	Csr pulumi.StringPtrOutput `pulumi:"csr"`
	// When no CSR is provided, the private key.
	PrivateKey pulumi.StringOutput `pulumi:"privateKey"`
	// When no CSR is provided, the public key.
	PublicKey pulumi.StringOutput `pulumi:"publicKey"`
}

Creates and manages an AWS IoT certificate.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/iot_certificate.html.markdown.

func GetCertificate

func GetCertificate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CertificateState, opts ...pulumi.ResourceOption) (*Certificate, error)

GetCertificate gets an existing Certificate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCertificate

func NewCertificate(ctx *pulumi.Context,
	name string, args *CertificateArgs, opts ...pulumi.ResourceOption) (*Certificate, error)

NewCertificate registers a new resource with the given unique name, arguments, and options.

type CertificateArgs

type CertificateArgs struct {
	// Boolean flag to indicate if the certificate should be active
	Active pulumi.BoolInput
	// The certificate signing request. Review
	// [CreateCertificateFromCsr](https://docs.aws.amazon.com/iot/latest/apireference/API_CreateCertificateFromCsr.html)
	// for more information on generating a certificate from a certificate signing request (CSR).
	// If none is specified both the certificate and keys will be generated, review [CreateKeysAndCertificate](https://docs.aws.amazon.com/iot/latest/apireference/API_CreateKeysAndCertificate.html)
	// for more information on generating keys and a certificate.
	Csr pulumi.StringPtrInput
}

The set of arguments for constructing a Certificate resource.

func (CertificateArgs) ElementType added in v1.19.0

func (CertificateArgs) ElementType() reflect.Type

type CertificateState

type CertificateState struct {
	// Boolean flag to indicate if the certificate should be active
	Active pulumi.BoolPtrInput
	// The ARN of the created certificate.
	Arn pulumi.StringPtrInput
	// The certificate data, in PEM format.
	CertificatePem pulumi.StringPtrInput
	// The certificate signing request. Review
	// [CreateCertificateFromCsr](https://docs.aws.amazon.com/iot/latest/apireference/API_CreateCertificateFromCsr.html)
	// for more information on generating a certificate from a certificate signing request (CSR).
	// If none is specified both the certificate and keys will be generated, review [CreateKeysAndCertificate](https://docs.aws.amazon.com/iot/latest/apireference/API_CreateKeysAndCertificate.html)
	// for more information on generating keys and a certificate.
	Csr pulumi.StringPtrInput
	// When no CSR is provided, the private key.
	PrivateKey pulumi.StringPtrInput
	// When no CSR is provided, the public key.
	PublicKey pulumi.StringPtrInput
}

func (CertificateState) ElementType added in v1.19.0

func (CertificateState) ElementType() reflect.Type

type GetEndpointArgs added in v0.16.2

type GetEndpointArgs struct {
	// Endpoint type. Valid values: `iot:CredentialProvider`, `iot:Data`, `iot:Data-ATS`, `iot:Job`.
	EndpointType *string `pulumi:"endpointType"`
}

A collection of arguments for invoking getEndpoint.

type GetEndpointResult

type GetEndpointResult struct {
	// The endpoint based on `endpointType`:
	// * No `endpointType`: Either `iot:Data` or `iot:Data-ATS` [depending on region](https://aws.amazon.com/blogs/iot/aws-iot-core-ats-endpoints/)
	// * `iot:CredentialsProvider`: `IDENTIFIER.credentials.iot.REGION.amazonaws.com`
	// * `iot:Data`: `IDENTIFIER.iot.REGION.amazonaws.com`
	// * `iot:Data-ATS`: `IDENTIFIER-ats.iot.REGION.amazonaws.com`
	// * `iot:Job`: `IDENTIFIER.jobs.iot.REGION.amazonaws.com`
	EndpointAddress string  `pulumi:"endpointAddress"`
	EndpointType    *string `pulumi:"endpointType"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
}

A collection of values returned by getEndpoint.

func GetEndpoint added in v1.19.0

func GetEndpoint(ctx *pulumi.Context, args *GetEndpointArgs, opts ...pulumi.InvokeOption) (*GetEndpointResult, error)

Returns a unique endpoint specific to the AWS account making the call.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/iot_endpoint.html.markdown.

type Policy

type Policy struct {
	pulumi.CustomResourceState

	// The ARN assigned by AWS to this policy.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The default version of this policy.
	DefaultVersionId pulumi.StringOutput `pulumi:"defaultVersionId"`
	// The name of the policy.
	Name   pulumi.StringOutput `pulumi:"name"`
	Policy pulumi.StringOutput `pulumi:"policy"`
}

Provides an IoT policy.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/iot_policy.html.markdown.

func GetPolicy

func GetPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PolicyState, opts ...pulumi.ResourceOption) (*Policy, error)

GetPolicy gets an existing Policy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPolicy

func NewPolicy(ctx *pulumi.Context,
	name string, args *PolicyArgs, opts ...pulumi.ResourceOption) (*Policy, error)

NewPolicy registers a new resource with the given unique name, arguments, and options.

type PolicyArgs

type PolicyArgs struct {
	// The name of the policy.
	Name   pulumi.StringPtrInput
	Policy pulumi.StringInput
}

The set of arguments for constructing a Policy resource.

func (PolicyArgs) ElementType added in v1.19.0

func (PolicyArgs) ElementType() reflect.Type

type PolicyAttachment added in v0.16.2

type PolicyAttachment struct {
	pulumi.CustomResourceState

	// The name of the policy to attach.
	Policy pulumi.StringOutput `pulumi:"policy"`
	// The identity to which the policy is attached.
	Target pulumi.StringOutput `pulumi:"target"`
}

Provides an IoT policy attachment.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/iot_policy_attachment.html.markdown.

func GetPolicyAttachment added in v0.16.2

func GetPolicyAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PolicyAttachmentState, opts ...pulumi.ResourceOption) (*PolicyAttachment, error)

GetPolicyAttachment gets an existing PolicyAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPolicyAttachment added in v0.16.2

func NewPolicyAttachment(ctx *pulumi.Context,
	name string, args *PolicyAttachmentArgs, opts ...pulumi.ResourceOption) (*PolicyAttachment, error)

NewPolicyAttachment registers a new resource with the given unique name, arguments, and options.

type PolicyAttachmentArgs added in v0.16.2

type PolicyAttachmentArgs struct {
	// The name of the policy to attach.
	Policy pulumi.Input
	// The identity to which the policy is attached.
	Target pulumi.StringInput
}

The set of arguments for constructing a PolicyAttachment resource.

func (PolicyAttachmentArgs) ElementType added in v1.19.0

func (PolicyAttachmentArgs) ElementType() reflect.Type

type PolicyAttachmentState added in v0.16.2

type PolicyAttachmentState struct {
	// The name of the policy to attach.
	Policy pulumi.StringPtrInput
	// The identity to which the policy is attached.
	Target pulumi.StringPtrInput
}

func (PolicyAttachmentState) ElementType added in v1.19.0

func (PolicyAttachmentState) ElementType() reflect.Type

type PolicyState

type PolicyState struct {
	// The ARN assigned by AWS to this policy.
	Arn pulumi.StringPtrInput
	// The default version of this policy.
	DefaultVersionId pulumi.StringPtrInput
	// The name of the policy.
	Name   pulumi.StringPtrInput
	Policy pulumi.StringPtrInput
}

func (PolicyState) ElementType added in v1.19.0

func (PolicyState) ElementType() reflect.Type

type RoleAlias added in v0.16.9

type RoleAlias struct {
	pulumi.CustomResourceState

	// The name of the role alias.
	Alias pulumi.StringOutput `pulumi:"alias"`
	// The ARN assigned by AWS to this role alias.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The duration of the credential, in seconds. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 900 seconds (15 minutes) to 3600 seconds (60 minutes).
	CredentialDuration pulumi.IntPtrOutput `pulumi:"credentialDuration"`
	// The identity of the role to which the alias refers.
	RoleArn pulumi.StringOutput `pulumi:"roleArn"`
}

Provides an IoT role alias.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/iot_role_alias.html.markdown.

func GetRoleAlias added in v0.16.9

func GetRoleAlias(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RoleAliasState, opts ...pulumi.ResourceOption) (*RoleAlias, error)

GetRoleAlias gets an existing RoleAlias resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRoleAlias added in v0.16.9

func NewRoleAlias(ctx *pulumi.Context,
	name string, args *RoleAliasArgs, opts ...pulumi.ResourceOption) (*RoleAlias, error)

NewRoleAlias registers a new resource with the given unique name, arguments, and options.

type RoleAliasArgs added in v0.16.9

type RoleAliasArgs struct {
	// The name of the role alias.
	Alias pulumi.StringInput
	// The duration of the credential, in seconds. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 900 seconds (15 minutes) to 3600 seconds (60 minutes).
	CredentialDuration pulumi.IntPtrInput
	// The identity of the role to which the alias refers.
	RoleArn pulumi.StringInput
}

The set of arguments for constructing a RoleAlias resource.

func (RoleAliasArgs) ElementType added in v1.19.0

func (RoleAliasArgs) ElementType() reflect.Type

type RoleAliasState added in v0.16.9

type RoleAliasState struct {
	// The name of the role alias.
	Alias pulumi.StringPtrInput
	// The ARN assigned by AWS to this role alias.
	Arn pulumi.StringPtrInput
	// The duration of the credential, in seconds. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 900 seconds (15 minutes) to 3600 seconds (60 minutes).
	CredentialDuration pulumi.IntPtrInput
	// The identity of the role to which the alias refers.
	RoleArn pulumi.StringPtrInput
}

func (RoleAliasState) ElementType added in v1.19.0

func (RoleAliasState) ElementType() reflect.Type

type Thing

type Thing struct {
	pulumi.CustomResourceState

	// The ARN of the thing.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Map of attributes of the thing.
	Attributes pulumi.MapOutput `pulumi:"attributes"`
	// The default client ID.
	DefaultClientId pulumi.StringOutput `pulumi:"defaultClientId"`
	// The name of the thing.
	Name pulumi.StringOutput `pulumi:"name"`
	// The thing type name.
	ThingTypeName pulumi.StringPtrOutput `pulumi:"thingTypeName"`
	// The current version of the thing record in the registry.
	Version pulumi.IntOutput `pulumi:"version"`
}

Creates and manages an AWS IoT Thing.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/iot_thing.html.markdown.

func GetThing

func GetThing(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ThingState, opts ...pulumi.ResourceOption) (*Thing, error)

GetThing gets an existing Thing resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewThing

func NewThing(ctx *pulumi.Context,
	name string, args *ThingArgs, opts ...pulumi.ResourceOption) (*Thing, error)

NewThing registers a new resource with the given unique name, arguments, and options.

type ThingArgs

type ThingArgs struct {
	// Map of attributes of the thing.
	Attributes pulumi.MapInput
	// The name of the thing.
	Name pulumi.StringPtrInput
	// The thing type name.
	ThingTypeName pulumi.StringPtrInput
}

The set of arguments for constructing a Thing resource.

func (ThingArgs) ElementType added in v1.19.0

func (ThingArgs) ElementType() reflect.Type

type ThingPrincipalAttachment added in v0.16.2

type ThingPrincipalAttachment struct {
	pulumi.CustomResourceState

	// The AWS IoT Certificate ARN or Amazon Cognito Identity ID.
	Principal pulumi.StringOutput `pulumi:"principal"`
	// The name of the thing.
	Thing pulumi.StringOutput `pulumi:"thing"`
}

Attaches Principal to AWS IoT Thing.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/iot_thing_principal_attachment.html.markdown.

func GetThingPrincipalAttachment added in v0.16.2

func GetThingPrincipalAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ThingPrincipalAttachmentState, opts ...pulumi.ResourceOption) (*ThingPrincipalAttachment, error)

GetThingPrincipalAttachment gets an existing ThingPrincipalAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewThingPrincipalAttachment added in v0.16.2

func NewThingPrincipalAttachment(ctx *pulumi.Context,
	name string, args *ThingPrincipalAttachmentArgs, opts ...pulumi.ResourceOption) (*ThingPrincipalAttachment, error)

NewThingPrincipalAttachment registers a new resource with the given unique name, arguments, and options.

type ThingPrincipalAttachmentArgs added in v0.16.2

type ThingPrincipalAttachmentArgs struct {
	// The AWS IoT Certificate ARN or Amazon Cognito Identity ID.
	Principal pulumi.StringInput
	// The name of the thing.
	Thing pulumi.StringInput
}

The set of arguments for constructing a ThingPrincipalAttachment resource.

func (ThingPrincipalAttachmentArgs) ElementType added in v1.19.0

type ThingPrincipalAttachmentState added in v0.16.2

type ThingPrincipalAttachmentState struct {
	// The AWS IoT Certificate ARN or Amazon Cognito Identity ID.
	Principal pulumi.StringPtrInput
	// The name of the thing.
	Thing pulumi.StringPtrInput
}

func (ThingPrincipalAttachmentState) ElementType added in v1.19.0

type ThingState

type ThingState struct {
	// The ARN of the thing.
	Arn pulumi.StringPtrInput
	// Map of attributes of the thing.
	Attributes pulumi.MapInput
	// The default client ID.
	DefaultClientId pulumi.StringPtrInput
	// The name of the thing.
	Name pulumi.StringPtrInput
	// The thing type name.
	ThingTypeName pulumi.StringPtrInput
	// The current version of the thing record in the registry.
	Version pulumi.IntPtrInput
}

func (ThingState) ElementType added in v1.19.0

func (ThingState) ElementType() reflect.Type

type ThingType

type ThingType struct {
	pulumi.CustomResourceState

	// The ARN of the created AWS IoT Thing Type.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Whether the thing type is deprecated. If true, no new things could be associated with this type.
	Deprecated pulumi.BoolPtrOutput `pulumi:"deprecated"`
	// The name of the thing type.
	Name pulumi.StringOutput `pulumi:"name"`
	// , Configuration block that can contain the following properties of the thing type:
	Properties ThingTypePropertiesPtrOutput `pulumi:"properties"`
}

Creates and manages an AWS IoT Thing Type.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/iot_thing_type.html.markdown.

func GetThingType

func GetThingType(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ThingTypeState, opts ...pulumi.ResourceOption) (*ThingType, error)

GetThingType gets an existing ThingType resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewThingType

func NewThingType(ctx *pulumi.Context,
	name string, args *ThingTypeArgs, opts ...pulumi.ResourceOption) (*ThingType, error)

NewThingType registers a new resource with the given unique name, arguments, and options.

type ThingTypeArgs

type ThingTypeArgs struct {
	// Whether the thing type is deprecated. If true, no new things could be associated with this type.
	Deprecated pulumi.BoolPtrInput
	// The name of the thing type.
	Name pulumi.StringPtrInput
	// , Configuration block that can contain the following properties of the thing type:
	Properties ThingTypePropertiesPtrInput
}

The set of arguments for constructing a ThingType resource.

func (ThingTypeArgs) ElementType added in v1.19.0

func (ThingTypeArgs) ElementType() reflect.Type

type ThingTypeProperties added in v1.19.0

type ThingTypeProperties struct {
	// The description of the thing type.
	Description *string `pulumi:"description"`
	// A list of searchable thing attribute names.
	SearchableAttributes []string `pulumi:"searchableAttributes"`
}

type ThingTypePropertiesArgs added in v1.19.0

type ThingTypePropertiesArgs struct {
	// The description of the thing type.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// A list of searchable thing attribute names.
	SearchableAttributes pulumi.StringArrayInput `pulumi:"searchableAttributes"`
}

func (ThingTypePropertiesArgs) ElementType added in v1.19.0

func (ThingTypePropertiesArgs) ElementType() reflect.Type

func (ThingTypePropertiesArgs) ToThingTypePropertiesOutput added in v1.19.0

func (i ThingTypePropertiesArgs) ToThingTypePropertiesOutput() ThingTypePropertiesOutput

func (ThingTypePropertiesArgs) ToThingTypePropertiesOutputWithContext added in v1.19.0

func (i ThingTypePropertiesArgs) ToThingTypePropertiesOutputWithContext(ctx context.Context) ThingTypePropertiesOutput

func (ThingTypePropertiesArgs) ToThingTypePropertiesPtrOutput added in v1.19.0

func (i ThingTypePropertiesArgs) ToThingTypePropertiesPtrOutput() ThingTypePropertiesPtrOutput

func (ThingTypePropertiesArgs) ToThingTypePropertiesPtrOutputWithContext added in v1.19.0

func (i ThingTypePropertiesArgs) ToThingTypePropertiesPtrOutputWithContext(ctx context.Context) ThingTypePropertiesPtrOutput

type ThingTypePropertiesInput added in v1.19.0

type ThingTypePropertiesInput interface {
	pulumi.Input

	ToThingTypePropertiesOutput() ThingTypePropertiesOutput
	ToThingTypePropertiesOutputWithContext(context.Context) ThingTypePropertiesOutput
}

type ThingTypePropertiesOutput added in v1.19.0

type ThingTypePropertiesOutput struct{ *pulumi.OutputState }

func (ThingTypePropertiesOutput) Description added in v1.19.0

The description of the thing type.

func (ThingTypePropertiesOutput) ElementType added in v1.19.0

func (ThingTypePropertiesOutput) ElementType() reflect.Type

func (ThingTypePropertiesOutput) SearchableAttributes added in v1.19.0

func (o ThingTypePropertiesOutput) SearchableAttributes() pulumi.StringArrayOutput

A list of searchable thing attribute names.

func (ThingTypePropertiesOutput) ToThingTypePropertiesOutput added in v1.19.0

func (o ThingTypePropertiesOutput) ToThingTypePropertiesOutput() ThingTypePropertiesOutput

func (ThingTypePropertiesOutput) ToThingTypePropertiesOutputWithContext added in v1.19.0

func (o ThingTypePropertiesOutput) ToThingTypePropertiesOutputWithContext(ctx context.Context) ThingTypePropertiesOutput

func (ThingTypePropertiesOutput) ToThingTypePropertiesPtrOutput added in v1.19.0

func (o ThingTypePropertiesOutput) ToThingTypePropertiesPtrOutput() ThingTypePropertiesPtrOutput

func (ThingTypePropertiesOutput) ToThingTypePropertiesPtrOutputWithContext added in v1.19.0

func (o ThingTypePropertiesOutput) ToThingTypePropertiesPtrOutputWithContext(ctx context.Context) ThingTypePropertiesPtrOutput

type ThingTypePropertiesPtrInput added in v1.19.0

type ThingTypePropertiesPtrInput interface {
	pulumi.Input

	ToThingTypePropertiesPtrOutput() ThingTypePropertiesPtrOutput
	ToThingTypePropertiesPtrOutputWithContext(context.Context) ThingTypePropertiesPtrOutput
}

func ThingTypePropertiesPtr added in v1.19.0

func ThingTypePropertiesPtr(v *ThingTypePropertiesArgs) ThingTypePropertiesPtrInput

type ThingTypePropertiesPtrOutput added in v1.19.0

type ThingTypePropertiesPtrOutput struct{ *pulumi.OutputState }

func (ThingTypePropertiesPtrOutput) Description added in v1.19.0

The description of the thing type.

func (ThingTypePropertiesPtrOutput) Elem added in v1.19.0

func (ThingTypePropertiesPtrOutput) ElementType added in v1.19.0

func (ThingTypePropertiesPtrOutput) SearchableAttributes added in v1.19.0

func (o ThingTypePropertiesPtrOutput) SearchableAttributes() pulumi.StringArrayOutput

A list of searchable thing attribute names.

func (ThingTypePropertiesPtrOutput) ToThingTypePropertiesPtrOutput added in v1.19.0

func (o ThingTypePropertiesPtrOutput) ToThingTypePropertiesPtrOutput() ThingTypePropertiesPtrOutput

func (ThingTypePropertiesPtrOutput) ToThingTypePropertiesPtrOutputWithContext added in v1.19.0

func (o ThingTypePropertiesPtrOutput) ToThingTypePropertiesPtrOutputWithContext(ctx context.Context) ThingTypePropertiesPtrOutput

type ThingTypeState

type ThingTypeState struct {
	// The ARN of the created AWS IoT Thing Type.
	Arn pulumi.StringPtrInput
	// Whether the thing type is deprecated. If true, no new things could be associated with this type.
	Deprecated pulumi.BoolPtrInput
	// The name of the thing type.
	Name pulumi.StringPtrInput
	// , Configuration block that can contain the following properties of the thing type:
	Properties ThingTypePropertiesPtrInput
}

func (ThingTypeState) ElementType added in v1.19.0

func (ThingTypeState) ElementType() reflect.Type

type TopicRule

type TopicRule struct {
	pulumi.CustomResourceState

	// The ARN of the topic rule
	Arn              pulumi.StringOutput                `pulumi:"arn"`
	CloudwatchAlarm  TopicRuleCloudwatchAlarmPtrOutput  `pulumi:"cloudwatchAlarm"`
	CloudwatchMetric TopicRuleCloudwatchMetricPtrOutput `pulumi:"cloudwatchMetric"`
	// The description of the rule.
	Description   pulumi.StringPtrOutput          `pulumi:"description"`
	Dynamodb      TopicRuleDynamodbPtrOutput      `pulumi:"dynamodb"`
	Elasticsearch TopicRuleElasticsearchPtrOutput `pulumi:"elasticsearch"`
	// Specifies whether the rule is enabled.
	Enabled  pulumi.BoolOutput          `pulumi:"enabled"`
	Firehose TopicRuleFirehosePtrOutput `pulumi:"firehose"`
	Kinesis  TopicRuleKinesisPtrOutput  `pulumi:"kinesis"`
	Lambda   TopicRuleLambdaPtrOutput   `pulumi:"lambda"`
	// The name of the rule.
	Name      pulumi.StringOutput         `pulumi:"name"`
	Republish TopicRuleRepublishPtrOutput `pulumi:"republish"`
	S3        TopicRuleS3PtrOutput        `pulumi:"s3"`
	Sns       TopicRuleSnsPtrOutput       `pulumi:"sns"`
	// The SQL statement used to query the topic. For more information, see AWS IoT SQL Reference (http://docs.aws.amazon.com/iot/latest/developerguide/iot-rules.html#aws-iot-sql-reference) in the AWS IoT Developer Guide.
	Sql pulumi.StringOutput `pulumi:"sql"`
	// The version of the SQL rules engine to use when evaluating the rule.
	SqlVersion pulumi.StringOutput   `pulumi:"sqlVersion"`
	Sqs        TopicRuleSqsPtrOutput `pulumi:"sqs"`
}

func GetTopicRule

func GetTopicRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TopicRuleState, opts ...pulumi.ResourceOption) (*TopicRule, error)

GetTopicRule gets an existing TopicRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTopicRule

func NewTopicRule(ctx *pulumi.Context,
	name string, args *TopicRuleArgs, opts ...pulumi.ResourceOption) (*TopicRule, error)

NewTopicRule registers a new resource with the given unique name, arguments, and options.

type TopicRuleArgs

type TopicRuleArgs struct {
	CloudwatchAlarm  TopicRuleCloudwatchAlarmPtrInput
	CloudwatchMetric TopicRuleCloudwatchMetricPtrInput
	// The description of the rule.
	Description   pulumi.StringPtrInput
	Dynamodb      TopicRuleDynamodbPtrInput
	Elasticsearch TopicRuleElasticsearchPtrInput
	// Specifies whether the rule is enabled.
	Enabled  pulumi.BoolInput
	Firehose TopicRuleFirehosePtrInput
	Kinesis  TopicRuleKinesisPtrInput
	Lambda   TopicRuleLambdaPtrInput
	// The name of the rule.
	Name      pulumi.StringPtrInput
	Republish TopicRuleRepublishPtrInput
	S3        TopicRuleS3PtrInput
	Sns       TopicRuleSnsPtrInput
	// The SQL statement used to query the topic. For more information, see AWS IoT SQL Reference (http://docs.aws.amazon.com/iot/latest/developerguide/iot-rules.html#aws-iot-sql-reference) in the AWS IoT Developer Guide.
	Sql pulumi.StringInput
	// The version of the SQL rules engine to use when evaluating the rule.
	SqlVersion pulumi.StringInput
	Sqs        TopicRuleSqsPtrInput
}

The set of arguments for constructing a TopicRule resource.

func (TopicRuleArgs) ElementType added in v1.19.0

func (TopicRuleArgs) ElementType() reflect.Type

type TopicRuleCloudwatchAlarm added in v1.19.0

type TopicRuleCloudwatchAlarm struct {
	// The CloudWatch alarm name.
	AlarmName string `pulumi:"alarmName"`
	// The ARN of the IAM role that grants access.
	RoleArn string `pulumi:"roleArn"`
	// The reason for the alarm change.
	StateReason string `pulumi:"stateReason"`
	// The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.
	StateValue string `pulumi:"stateValue"`
}

type TopicRuleCloudwatchAlarmArgs added in v1.19.0

type TopicRuleCloudwatchAlarmArgs struct {
	// The CloudWatch alarm name.
	AlarmName pulumi.StringInput `pulumi:"alarmName"`
	// The ARN of the IAM role that grants access.
	RoleArn pulumi.StringInput `pulumi:"roleArn"`
	// The reason for the alarm change.
	StateReason pulumi.StringInput `pulumi:"stateReason"`
	// The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.
	StateValue pulumi.StringInput `pulumi:"stateValue"`
}

func (TopicRuleCloudwatchAlarmArgs) ElementType added in v1.19.0

func (TopicRuleCloudwatchAlarmArgs) ToTopicRuleCloudwatchAlarmOutput added in v1.19.0

func (i TopicRuleCloudwatchAlarmArgs) ToTopicRuleCloudwatchAlarmOutput() TopicRuleCloudwatchAlarmOutput

func (TopicRuleCloudwatchAlarmArgs) ToTopicRuleCloudwatchAlarmOutputWithContext added in v1.19.0

func (i TopicRuleCloudwatchAlarmArgs) ToTopicRuleCloudwatchAlarmOutputWithContext(ctx context.Context) TopicRuleCloudwatchAlarmOutput

func (TopicRuleCloudwatchAlarmArgs) ToTopicRuleCloudwatchAlarmPtrOutput added in v1.19.0

func (i TopicRuleCloudwatchAlarmArgs) ToTopicRuleCloudwatchAlarmPtrOutput() TopicRuleCloudwatchAlarmPtrOutput

func (TopicRuleCloudwatchAlarmArgs) ToTopicRuleCloudwatchAlarmPtrOutputWithContext added in v1.19.0

func (i TopicRuleCloudwatchAlarmArgs) ToTopicRuleCloudwatchAlarmPtrOutputWithContext(ctx context.Context) TopicRuleCloudwatchAlarmPtrOutput

type TopicRuleCloudwatchAlarmInput added in v1.19.0

type TopicRuleCloudwatchAlarmInput interface {
	pulumi.Input

	ToTopicRuleCloudwatchAlarmOutput() TopicRuleCloudwatchAlarmOutput
	ToTopicRuleCloudwatchAlarmOutputWithContext(context.Context) TopicRuleCloudwatchAlarmOutput
}

type TopicRuleCloudwatchAlarmOutput added in v1.19.0

type TopicRuleCloudwatchAlarmOutput struct{ *pulumi.OutputState }

func (TopicRuleCloudwatchAlarmOutput) AlarmName added in v1.19.0

The CloudWatch alarm name.

func (TopicRuleCloudwatchAlarmOutput) ElementType added in v1.19.0

func (TopicRuleCloudwatchAlarmOutput) RoleArn added in v1.19.0

The ARN of the IAM role that grants access.

func (TopicRuleCloudwatchAlarmOutput) StateReason added in v1.19.0

The reason for the alarm change.

func (TopicRuleCloudwatchAlarmOutput) StateValue added in v1.19.0

The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.

func (TopicRuleCloudwatchAlarmOutput) ToTopicRuleCloudwatchAlarmOutput added in v1.19.0

func (o TopicRuleCloudwatchAlarmOutput) ToTopicRuleCloudwatchAlarmOutput() TopicRuleCloudwatchAlarmOutput

func (TopicRuleCloudwatchAlarmOutput) ToTopicRuleCloudwatchAlarmOutputWithContext added in v1.19.0

func (o TopicRuleCloudwatchAlarmOutput) ToTopicRuleCloudwatchAlarmOutputWithContext(ctx context.Context) TopicRuleCloudwatchAlarmOutput

func (TopicRuleCloudwatchAlarmOutput) ToTopicRuleCloudwatchAlarmPtrOutput added in v1.19.0

func (o TopicRuleCloudwatchAlarmOutput) ToTopicRuleCloudwatchAlarmPtrOutput() TopicRuleCloudwatchAlarmPtrOutput

func (TopicRuleCloudwatchAlarmOutput) ToTopicRuleCloudwatchAlarmPtrOutputWithContext added in v1.19.0

func (o TopicRuleCloudwatchAlarmOutput) ToTopicRuleCloudwatchAlarmPtrOutputWithContext(ctx context.Context) TopicRuleCloudwatchAlarmPtrOutput

type TopicRuleCloudwatchAlarmPtrInput added in v1.19.0

type TopicRuleCloudwatchAlarmPtrInput interface {
	pulumi.Input

	ToTopicRuleCloudwatchAlarmPtrOutput() TopicRuleCloudwatchAlarmPtrOutput
	ToTopicRuleCloudwatchAlarmPtrOutputWithContext(context.Context) TopicRuleCloudwatchAlarmPtrOutput
}

func TopicRuleCloudwatchAlarmPtr added in v1.19.0

func TopicRuleCloudwatchAlarmPtr(v *TopicRuleCloudwatchAlarmArgs) TopicRuleCloudwatchAlarmPtrInput

type TopicRuleCloudwatchAlarmPtrOutput added in v1.19.0

type TopicRuleCloudwatchAlarmPtrOutput struct{ *pulumi.OutputState }

func (TopicRuleCloudwatchAlarmPtrOutput) AlarmName added in v1.19.0

The CloudWatch alarm name.

func (TopicRuleCloudwatchAlarmPtrOutput) Elem added in v1.19.0

func (TopicRuleCloudwatchAlarmPtrOutput) ElementType added in v1.19.0

func (TopicRuleCloudwatchAlarmPtrOutput) RoleArn added in v1.19.0

The ARN of the IAM role that grants access.

func (TopicRuleCloudwatchAlarmPtrOutput) StateReason added in v1.19.0

The reason for the alarm change.

func (TopicRuleCloudwatchAlarmPtrOutput) StateValue added in v1.19.0

The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.

func (TopicRuleCloudwatchAlarmPtrOutput) ToTopicRuleCloudwatchAlarmPtrOutput added in v1.19.0

func (o TopicRuleCloudwatchAlarmPtrOutput) ToTopicRuleCloudwatchAlarmPtrOutput() TopicRuleCloudwatchAlarmPtrOutput

func (TopicRuleCloudwatchAlarmPtrOutput) ToTopicRuleCloudwatchAlarmPtrOutputWithContext added in v1.19.0

func (o TopicRuleCloudwatchAlarmPtrOutput) ToTopicRuleCloudwatchAlarmPtrOutputWithContext(ctx context.Context) TopicRuleCloudwatchAlarmPtrOutput

type TopicRuleCloudwatchMetric added in v1.19.0

type TopicRuleCloudwatchMetric struct {
	// The CloudWatch metric name.
	MetricName string `pulumi:"metricName"`
	// The CloudWatch metric namespace name.
	MetricNamespace string `pulumi:"metricNamespace"`
	// An optional Unix timestamp (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp).
	MetricTimestamp *string `pulumi:"metricTimestamp"`
	// The metric unit (supported units can be found here: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit)
	MetricUnit string `pulumi:"metricUnit"`
	// The CloudWatch metric value.
	MetricValue string `pulumi:"metricValue"`
	// The ARN of the IAM role that grants access.
	RoleArn string `pulumi:"roleArn"`
}

type TopicRuleCloudwatchMetricArgs added in v1.19.0

type TopicRuleCloudwatchMetricArgs struct {
	// The CloudWatch metric name.
	MetricName pulumi.StringInput `pulumi:"metricName"`
	// The CloudWatch metric namespace name.
	MetricNamespace pulumi.StringInput `pulumi:"metricNamespace"`
	// An optional Unix timestamp (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp).
	MetricTimestamp pulumi.StringPtrInput `pulumi:"metricTimestamp"`
	// The metric unit (supported units can be found here: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit)
	MetricUnit pulumi.StringInput `pulumi:"metricUnit"`
	// The CloudWatch metric value.
	MetricValue pulumi.StringInput `pulumi:"metricValue"`
	// The ARN of the IAM role that grants access.
	RoleArn pulumi.StringInput `pulumi:"roleArn"`
}

func (TopicRuleCloudwatchMetricArgs) ElementType added in v1.19.0

func (TopicRuleCloudwatchMetricArgs) ToTopicRuleCloudwatchMetricOutput added in v1.19.0

func (i TopicRuleCloudwatchMetricArgs) ToTopicRuleCloudwatchMetricOutput() TopicRuleCloudwatchMetricOutput

func (TopicRuleCloudwatchMetricArgs) ToTopicRuleCloudwatchMetricOutputWithContext added in v1.19.0

func (i TopicRuleCloudwatchMetricArgs) ToTopicRuleCloudwatchMetricOutputWithContext(ctx context.Context) TopicRuleCloudwatchMetricOutput

func (TopicRuleCloudwatchMetricArgs) ToTopicRuleCloudwatchMetricPtrOutput added in v1.19.0

func (i TopicRuleCloudwatchMetricArgs) ToTopicRuleCloudwatchMetricPtrOutput() TopicRuleCloudwatchMetricPtrOutput

func (TopicRuleCloudwatchMetricArgs) ToTopicRuleCloudwatchMetricPtrOutputWithContext added in v1.19.0

func (i TopicRuleCloudwatchMetricArgs) ToTopicRuleCloudwatchMetricPtrOutputWithContext(ctx context.Context) TopicRuleCloudwatchMetricPtrOutput

type TopicRuleCloudwatchMetricInput added in v1.19.0

type TopicRuleCloudwatchMetricInput interface {
	pulumi.Input

	ToTopicRuleCloudwatchMetricOutput() TopicRuleCloudwatchMetricOutput
	ToTopicRuleCloudwatchMetricOutputWithContext(context.Context) TopicRuleCloudwatchMetricOutput
}

type TopicRuleCloudwatchMetricOutput added in v1.19.0

type TopicRuleCloudwatchMetricOutput struct{ *pulumi.OutputState }

func (TopicRuleCloudwatchMetricOutput) ElementType added in v1.19.0

func (TopicRuleCloudwatchMetricOutput) MetricName added in v1.19.0

The CloudWatch metric name.

func (TopicRuleCloudwatchMetricOutput) MetricNamespace added in v1.19.0

The CloudWatch metric namespace name.

func (TopicRuleCloudwatchMetricOutput) MetricTimestamp added in v1.19.0

An optional Unix timestamp (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp).

func (TopicRuleCloudwatchMetricOutput) MetricUnit added in v1.19.0

The metric unit (supported units can be found here: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit)

func (TopicRuleCloudwatchMetricOutput) MetricValue added in v1.19.0

The CloudWatch metric value.

func (TopicRuleCloudwatchMetricOutput) RoleArn added in v1.19.0

The ARN of the IAM role that grants access.

func (TopicRuleCloudwatchMetricOutput) ToTopicRuleCloudwatchMetricOutput added in v1.19.0

func (o TopicRuleCloudwatchMetricOutput) ToTopicRuleCloudwatchMetricOutput() TopicRuleCloudwatchMetricOutput

func (TopicRuleCloudwatchMetricOutput) ToTopicRuleCloudwatchMetricOutputWithContext added in v1.19.0

func (o TopicRuleCloudwatchMetricOutput) ToTopicRuleCloudwatchMetricOutputWithContext(ctx context.Context) TopicRuleCloudwatchMetricOutput

func (TopicRuleCloudwatchMetricOutput) ToTopicRuleCloudwatchMetricPtrOutput added in v1.19.0

func (o TopicRuleCloudwatchMetricOutput) ToTopicRuleCloudwatchMetricPtrOutput() TopicRuleCloudwatchMetricPtrOutput

func (TopicRuleCloudwatchMetricOutput) ToTopicRuleCloudwatchMetricPtrOutputWithContext added in v1.19.0

func (o TopicRuleCloudwatchMetricOutput) ToTopicRuleCloudwatchMetricPtrOutputWithContext(ctx context.Context) TopicRuleCloudwatchMetricPtrOutput

type TopicRuleCloudwatchMetricPtrInput added in v1.19.0

type TopicRuleCloudwatchMetricPtrInput interface {
	pulumi.Input

	ToTopicRuleCloudwatchMetricPtrOutput() TopicRuleCloudwatchMetricPtrOutput
	ToTopicRuleCloudwatchMetricPtrOutputWithContext(context.Context) TopicRuleCloudwatchMetricPtrOutput
}

func TopicRuleCloudwatchMetricPtr added in v1.19.0

type TopicRuleCloudwatchMetricPtrOutput added in v1.19.0

type TopicRuleCloudwatchMetricPtrOutput struct{ *pulumi.OutputState }

func (TopicRuleCloudwatchMetricPtrOutput) Elem added in v1.19.0

func (TopicRuleCloudwatchMetricPtrOutput) ElementType added in v1.19.0

func (TopicRuleCloudwatchMetricPtrOutput) MetricName added in v1.19.0

The CloudWatch metric name.

func (TopicRuleCloudwatchMetricPtrOutput) MetricNamespace added in v1.19.0

The CloudWatch metric namespace name.

func (TopicRuleCloudwatchMetricPtrOutput) MetricTimestamp added in v1.19.0

An optional Unix timestamp (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp).

func (TopicRuleCloudwatchMetricPtrOutput) MetricUnit added in v1.19.0

The metric unit (supported units can be found here: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit)

func (TopicRuleCloudwatchMetricPtrOutput) MetricValue added in v1.19.0

The CloudWatch metric value.

func (TopicRuleCloudwatchMetricPtrOutput) RoleArn added in v1.19.0

The ARN of the IAM role that grants access.

func (TopicRuleCloudwatchMetricPtrOutput) ToTopicRuleCloudwatchMetricPtrOutput added in v1.19.0

func (o TopicRuleCloudwatchMetricPtrOutput) ToTopicRuleCloudwatchMetricPtrOutput() TopicRuleCloudwatchMetricPtrOutput

func (TopicRuleCloudwatchMetricPtrOutput) ToTopicRuleCloudwatchMetricPtrOutputWithContext added in v1.19.0

func (o TopicRuleCloudwatchMetricPtrOutput) ToTopicRuleCloudwatchMetricPtrOutputWithContext(ctx context.Context) TopicRuleCloudwatchMetricPtrOutput

type TopicRuleDynamodb added in v1.19.0

type TopicRuleDynamodb struct {
	// The hash key name.
	HashKeyField string `pulumi:"hashKeyField"`
	// The hash key type. Valid values are "STRING" or "NUMBER".
	HashKeyType *string `pulumi:"hashKeyType"`
	// The hash key value.
	HashKeyValue string `pulumi:"hashKeyValue"`
	// The action payload.
	PayloadField *string `pulumi:"payloadField"`
	// The range key name.
	RangeKeyField *string `pulumi:"rangeKeyField"`
	// The range key type. Valid values are "STRING" or "NUMBER".
	RangeKeyType *string `pulumi:"rangeKeyType"`
	// The range key value.
	RangeKeyValue *string `pulumi:"rangeKeyValue"`
	// The ARN of the IAM role that grants access.
	RoleArn string `pulumi:"roleArn"`
	// The name of the DynamoDB table.
	TableName string `pulumi:"tableName"`
}

type TopicRuleDynamodbArgs added in v1.19.0

type TopicRuleDynamodbArgs struct {
	// The hash key name.
	HashKeyField pulumi.StringInput `pulumi:"hashKeyField"`
	// The hash key type. Valid values are "STRING" or "NUMBER".
	HashKeyType pulumi.StringPtrInput `pulumi:"hashKeyType"`
	// The hash key value.
	HashKeyValue pulumi.StringInput `pulumi:"hashKeyValue"`
	// The action payload.
	PayloadField pulumi.StringPtrInput `pulumi:"payloadField"`
	// The range key name.
	RangeKeyField pulumi.StringPtrInput `pulumi:"rangeKeyField"`
	// The range key type. Valid values are "STRING" or "NUMBER".
	RangeKeyType pulumi.StringPtrInput `pulumi:"rangeKeyType"`
	// The range key value.
	RangeKeyValue pulumi.StringPtrInput `pulumi:"rangeKeyValue"`
	// The ARN of the IAM role that grants access.
	RoleArn pulumi.StringInput `pulumi:"roleArn"`
	// The name of the DynamoDB table.
	TableName pulumi.StringInput `pulumi:"tableName"`
}

func (TopicRuleDynamodbArgs) ElementType added in v1.19.0

func (TopicRuleDynamodbArgs) ElementType() reflect.Type

func (TopicRuleDynamodbArgs) ToTopicRuleDynamodbOutput added in v1.19.0

func (i TopicRuleDynamodbArgs) ToTopicRuleDynamodbOutput() TopicRuleDynamodbOutput

func (TopicRuleDynamodbArgs) ToTopicRuleDynamodbOutputWithContext added in v1.19.0

func (i TopicRuleDynamodbArgs) ToTopicRuleDynamodbOutputWithContext(ctx context.Context) TopicRuleDynamodbOutput

func (TopicRuleDynamodbArgs) ToTopicRuleDynamodbPtrOutput added in v1.19.0

func (i TopicRuleDynamodbArgs) ToTopicRuleDynamodbPtrOutput() TopicRuleDynamodbPtrOutput

func (TopicRuleDynamodbArgs) ToTopicRuleDynamodbPtrOutputWithContext added in v1.19.0

func (i TopicRuleDynamodbArgs) ToTopicRuleDynamodbPtrOutputWithContext(ctx context.Context) TopicRuleDynamodbPtrOutput

type TopicRuleDynamodbInput added in v1.19.0

type TopicRuleDynamodbInput interface {
	pulumi.Input

	ToTopicRuleDynamodbOutput() TopicRuleDynamodbOutput
	ToTopicRuleDynamodbOutputWithContext(context.Context) TopicRuleDynamodbOutput
}

type TopicRuleDynamodbOutput added in v1.19.0

type TopicRuleDynamodbOutput struct{ *pulumi.OutputState }

func (TopicRuleDynamodbOutput) ElementType added in v1.19.0

func (TopicRuleDynamodbOutput) ElementType() reflect.Type

func (TopicRuleDynamodbOutput) HashKeyField added in v1.19.0

func (o TopicRuleDynamodbOutput) HashKeyField() pulumi.StringOutput

The hash key name.

func (TopicRuleDynamodbOutput) HashKeyType added in v1.19.0

The hash key type. Valid values are "STRING" or "NUMBER".

func (TopicRuleDynamodbOutput) HashKeyValue added in v1.19.0

func (o TopicRuleDynamodbOutput) HashKeyValue() pulumi.StringOutput

The hash key value.

func (TopicRuleDynamodbOutput) PayloadField added in v1.19.0

The action payload.

func (TopicRuleDynamodbOutput) RangeKeyField added in v1.19.0

The range key name.

func (TopicRuleDynamodbOutput) RangeKeyType added in v1.19.0

The range key type. Valid values are "STRING" or "NUMBER".

func (TopicRuleDynamodbOutput) RangeKeyValue added in v1.19.0

The range key value.

func (TopicRuleDynamodbOutput) RoleArn added in v1.19.0

The ARN of the IAM role that grants access.

func (TopicRuleDynamodbOutput) TableName added in v1.19.0

The name of the DynamoDB table.

func (TopicRuleDynamodbOutput) ToTopicRuleDynamodbOutput added in v1.19.0

func (o TopicRuleDynamodbOutput) ToTopicRuleDynamodbOutput() TopicRuleDynamodbOutput

func (TopicRuleDynamodbOutput) ToTopicRuleDynamodbOutputWithContext added in v1.19.0

func (o TopicRuleDynamodbOutput) ToTopicRuleDynamodbOutputWithContext(ctx context.Context) TopicRuleDynamodbOutput

func (TopicRuleDynamodbOutput) ToTopicRuleDynamodbPtrOutput added in v1.19.0

func (o TopicRuleDynamodbOutput) ToTopicRuleDynamodbPtrOutput() TopicRuleDynamodbPtrOutput

func (TopicRuleDynamodbOutput) ToTopicRuleDynamodbPtrOutputWithContext added in v1.19.0

func (o TopicRuleDynamodbOutput) ToTopicRuleDynamodbPtrOutputWithContext(ctx context.Context) TopicRuleDynamodbPtrOutput

type TopicRuleDynamodbPtrInput added in v1.19.0

type TopicRuleDynamodbPtrInput interface {
	pulumi.Input

	ToTopicRuleDynamodbPtrOutput() TopicRuleDynamodbPtrOutput
	ToTopicRuleDynamodbPtrOutputWithContext(context.Context) TopicRuleDynamodbPtrOutput
}

func TopicRuleDynamodbPtr added in v1.19.0

func TopicRuleDynamodbPtr(v *TopicRuleDynamodbArgs) TopicRuleDynamodbPtrInput

type TopicRuleDynamodbPtrOutput added in v1.19.0

type TopicRuleDynamodbPtrOutput struct{ *pulumi.OutputState }

func (TopicRuleDynamodbPtrOutput) Elem added in v1.19.0

func (TopicRuleDynamodbPtrOutput) ElementType added in v1.19.0

func (TopicRuleDynamodbPtrOutput) ElementType() reflect.Type

func (TopicRuleDynamodbPtrOutput) HashKeyField added in v1.19.0

The hash key name.

func (TopicRuleDynamodbPtrOutput) HashKeyType added in v1.19.0

The hash key type. Valid values are "STRING" or "NUMBER".

func (TopicRuleDynamodbPtrOutput) HashKeyValue added in v1.19.0

The hash key value.

func (TopicRuleDynamodbPtrOutput) PayloadField added in v1.19.0

The action payload.

func (TopicRuleDynamodbPtrOutput) RangeKeyField added in v1.19.0

The range key name.

func (TopicRuleDynamodbPtrOutput) RangeKeyType added in v1.19.0

The range key type. Valid values are "STRING" or "NUMBER".

func (TopicRuleDynamodbPtrOutput) RangeKeyValue added in v1.19.0

The range key value.

func (TopicRuleDynamodbPtrOutput) RoleArn added in v1.19.0

The ARN of the IAM role that grants access.

func (TopicRuleDynamodbPtrOutput) TableName added in v1.19.0

The name of the DynamoDB table.

func (TopicRuleDynamodbPtrOutput) ToTopicRuleDynamodbPtrOutput added in v1.19.0

func (o TopicRuleDynamodbPtrOutput) ToTopicRuleDynamodbPtrOutput() TopicRuleDynamodbPtrOutput

func (TopicRuleDynamodbPtrOutput) ToTopicRuleDynamodbPtrOutputWithContext added in v1.19.0

func (o TopicRuleDynamodbPtrOutput) ToTopicRuleDynamodbPtrOutputWithContext(ctx context.Context) TopicRuleDynamodbPtrOutput

type TopicRuleElasticsearch added in v1.19.0

type TopicRuleElasticsearch struct {
	// The endpoint of your Elasticsearch domain.
	Endpoint string `pulumi:"endpoint"`
	// The unique identifier for the document you are storing.
	Id string `pulumi:"id"`
	// The Elasticsearch index where you want to store your data.
	Index string `pulumi:"index"`
	// The ARN of the IAM role that grants access.
	RoleArn string `pulumi:"roleArn"`
	// The type of document you are storing.
	Type string `pulumi:"type"`
}

type TopicRuleElasticsearchArgs added in v1.19.0

type TopicRuleElasticsearchArgs struct {
	// The endpoint of your Elasticsearch domain.
	Endpoint pulumi.StringInput `pulumi:"endpoint"`
	// The unique identifier for the document you are storing.
	Id pulumi.StringInput `pulumi:"id"`
	// The Elasticsearch index where you want to store your data.
	Index pulumi.StringInput `pulumi:"index"`
	// The ARN of the IAM role that grants access.
	RoleArn pulumi.StringInput `pulumi:"roleArn"`
	// The type of document you are storing.
	Type pulumi.StringInput `pulumi:"type"`
}

func (TopicRuleElasticsearchArgs) ElementType added in v1.19.0

func (TopicRuleElasticsearchArgs) ElementType() reflect.Type

func (TopicRuleElasticsearchArgs) ToTopicRuleElasticsearchOutput added in v1.19.0

func (i TopicRuleElasticsearchArgs) ToTopicRuleElasticsearchOutput() TopicRuleElasticsearchOutput

func (TopicRuleElasticsearchArgs) ToTopicRuleElasticsearchOutputWithContext added in v1.19.0

func (i TopicRuleElasticsearchArgs) ToTopicRuleElasticsearchOutputWithContext(ctx context.Context) TopicRuleElasticsearchOutput

func (TopicRuleElasticsearchArgs) ToTopicRuleElasticsearchPtrOutput added in v1.19.0

func (i TopicRuleElasticsearchArgs) ToTopicRuleElasticsearchPtrOutput() TopicRuleElasticsearchPtrOutput

func (TopicRuleElasticsearchArgs) ToTopicRuleElasticsearchPtrOutputWithContext added in v1.19.0

func (i TopicRuleElasticsearchArgs) ToTopicRuleElasticsearchPtrOutputWithContext(ctx context.Context) TopicRuleElasticsearchPtrOutput

type TopicRuleElasticsearchInput added in v1.19.0

type TopicRuleElasticsearchInput interface {
	pulumi.Input

	ToTopicRuleElasticsearchOutput() TopicRuleElasticsearchOutput
	ToTopicRuleElasticsearchOutputWithContext(context.Context) TopicRuleElasticsearchOutput
}

type TopicRuleElasticsearchOutput added in v1.19.0

type TopicRuleElasticsearchOutput struct{ *pulumi.OutputState }

func (TopicRuleElasticsearchOutput) ElementType added in v1.19.0

func (TopicRuleElasticsearchOutput) Endpoint added in v1.19.0

The endpoint of your Elasticsearch domain.

func (TopicRuleElasticsearchOutput) Id added in v1.19.0

The unique identifier for the document you are storing.

func (TopicRuleElasticsearchOutput) Index added in v1.19.0

The Elasticsearch index where you want to store your data.

func (TopicRuleElasticsearchOutput) RoleArn added in v1.19.0

The ARN of the IAM role that grants access.

func (TopicRuleElasticsearchOutput) ToTopicRuleElasticsearchOutput added in v1.19.0

func (o TopicRuleElasticsearchOutput) ToTopicRuleElasticsearchOutput() TopicRuleElasticsearchOutput

func (TopicRuleElasticsearchOutput) ToTopicRuleElasticsearchOutputWithContext added in v1.19.0

func (o TopicRuleElasticsearchOutput) ToTopicRuleElasticsearchOutputWithContext(ctx context.Context) TopicRuleElasticsearchOutput

func (TopicRuleElasticsearchOutput) ToTopicRuleElasticsearchPtrOutput added in v1.19.0

func (o TopicRuleElasticsearchOutput) ToTopicRuleElasticsearchPtrOutput() TopicRuleElasticsearchPtrOutput

func (TopicRuleElasticsearchOutput) ToTopicRuleElasticsearchPtrOutputWithContext added in v1.19.0

func (o TopicRuleElasticsearchOutput) ToTopicRuleElasticsearchPtrOutputWithContext(ctx context.Context) TopicRuleElasticsearchPtrOutput

func (TopicRuleElasticsearchOutput) Type added in v1.19.0

The type of document you are storing.

type TopicRuleElasticsearchPtrInput added in v1.19.0

type TopicRuleElasticsearchPtrInput interface {
	pulumi.Input

	ToTopicRuleElasticsearchPtrOutput() TopicRuleElasticsearchPtrOutput
	ToTopicRuleElasticsearchPtrOutputWithContext(context.Context) TopicRuleElasticsearchPtrOutput
}

func TopicRuleElasticsearchPtr added in v1.19.0

func TopicRuleElasticsearchPtr(v *TopicRuleElasticsearchArgs) TopicRuleElasticsearchPtrInput

type TopicRuleElasticsearchPtrOutput added in v1.19.0

type TopicRuleElasticsearchPtrOutput struct{ *pulumi.OutputState }

func (TopicRuleElasticsearchPtrOutput) Elem added in v1.19.0

func (TopicRuleElasticsearchPtrOutput) ElementType added in v1.19.0

func (TopicRuleElasticsearchPtrOutput) Endpoint added in v1.19.0

The endpoint of your Elasticsearch domain.

func (TopicRuleElasticsearchPtrOutput) Id added in v1.19.0

The unique identifier for the document you are storing.

func (TopicRuleElasticsearchPtrOutput) Index added in v1.19.0

The Elasticsearch index where you want to store your data.

func (TopicRuleElasticsearchPtrOutput) RoleArn added in v1.19.0

The ARN of the IAM role that grants access.

func (TopicRuleElasticsearchPtrOutput) ToTopicRuleElasticsearchPtrOutput added in v1.19.0

func (o TopicRuleElasticsearchPtrOutput) ToTopicRuleElasticsearchPtrOutput() TopicRuleElasticsearchPtrOutput

func (TopicRuleElasticsearchPtrOutput) ToTopicRuleElasticsearchPtrOutputWithContext added in v1.19.0

func (o TopicRuleElasticsearchPtrOutput) ToTopicRuleElasticsearchPtrOutputWithContext(ctx context.Context) TopicRuleElasticsearchPtrOutput

func (TopicRuleElasticsearchPtrOutput) Type added in v1.19.0

The type of document you are storing.

type TopicRuleFirehose added in v1.19.0

type TopicRuleFirehose struct {
	// The delivery stream name.
	DeliveryStreamName string `pulumi:"deliveryStreamName"`
	// The ARN of the IAM role that grants access.
	RoleArn string `pulumi:"roleArn"`
	// A character separator that is used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
	Separator *string `pulumi:"separator"`
}

type TopicRuleFirehoseArgs added in v1.19.0

type TopicRuleFirehoseArgs struct {
	// The delivery stream name.
	DeliveryStreamName pulumi.StringInput `pulumi:"deliveryStreamName"`
	// The ARN of the IAM role that grants access.
	RoleArn pulumi.StringInput `pulumi:"roleArn"`
	// A character separator that is used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
	Separator pulumi.StringPtrInput `pulumi:"separator"`
}

func (TopicRuleFirehoseArgs) ElementType added in v1.19.0

func (TopicRuleFirehoseArgs) ElementType() reflect.Type

func (TopicRuleFirehoseArgs) ToTopicRuleFirehoseOutput added in v1.19.0

func (i TopicRuleFirehoseArgs) ToTopicRuleFirehoseOutput() TopicRuleFirehoseOutput

func (TopicRuleFirehoseArgs) ToTopicRuleFirehoseOutputWithContext added in v1.19.0

func (i TopicRuleFirehoseArgs) ToTopicRuleFirehoseOutputWithContext(ctx context.Context) TopicRuleFirehoseOutput

func (TopicRuleFirehoseArgs) ToTopicRuleFirehosePtrOutput added in v1.19.0

func (i TopicRuleFirehoseArgs) ToTopicRuleFirehosePtrOutput() TopicRuleFirehosePtrOutput

func (TopicRuleFirehoseArgs) ToTopicRuleFirehosePtrOutputWithContext added in v1.19.0

func (i TopicRuleFirehoseArgs) ToTopicRuleFirehosePtrOutputWithContext(ctx context.Context) TopicRuleFirehosePtrOutput

type TopicRuleFirehoseInput added in v1.19.0

type TopicRuleFirehoseInput interface {
	pulumi.Input

	ToTopicRuleFirehoseOutput() TopicRuleFirehoseOutput
	ToTopicRuleFirehoseOutputWithContext(context.Context) TopicRuleFirehoseOutput
}

type TopicRuleFirehoseOutput added in v1.19.0

type TopicRuleFirehoseOutput struct{ *pulumi.OutputState }

func (TopicRuleFirehoseOutput) DeliveryStreamName added in v1.19.0

func (o TopicRuleFirehoseOutput) DeliveryStreamName() pulumi.StringOutput

The delivery stream name.

func (TopicRuleFirehoseOutput) ElementType added in v1.19.0

func (TopicRuleFirehoseOutput) ElementType() reflect.Type

func (TopicRuleFirehoseOutput) RoleArn added in v1.19.0

The ARN of the IAM role that grants access.

func (TopicRuleFirehoseOutput) Separator added in v1.19.0

A character separator that is used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).

func (TopicRuleFirehoseOutput) ToTopicRuleFirehoseOutput added in v1.19.0

func (o TopicRuleFirehoseOutput) ToTopicRuleFirehoseOutput() TopicRuleFirehoseOutput

func (TopicRuleFirehoseOutput) ToTopicRuleFirehoseOutputWithContext added in v1.19.0

func (o TopicRuleFirehoseOutput) ToTopicRuleFirehoseOutputWithContext(ctx context.Context) TopicRuleFirehoseOutput

func (TopicRuleFirehoseOutput) ToTopicRuleFirehosePtrOutput added in v1.19.0

func (o TopicRuleFirehoseOutput) ToTopicRuleFirehosePtrOutput() TopicRuleFirehosePtrOutput

func (TopicRuleFirehoseOutput) ToTopicRuleFirehosePtrOutputWithContext added in v1.19.0

func (o TopicRuleFirehoseOutput) ToTopicRuleFirehosePtrOutputWithContext(ctx context.Context) TopicRuleFirehosePtrOutput

type TopicRuleFirehosePtrInput added in v1.19.0

type TopicRuleFirehosePtrInput interface {
	pulumi.Input

	ToTopicRuleFirehosePtrOutput() TopicRuleFirehosePtrOutput
	ToTopicRuleFirehosePtrOutputWithContext(context.Context) TopicRuleFirehosePtrOutput
}

func TopicRuleFirehosePtr added in v1.19.0

func TopicRuleFirehosePtr(v *TopicRuleFirehoseArgs) TopicRuleFirehosePtrInput

type TopicRuleFirehosePtrOutput added in v1.19.0

type TopicRuleFirehosePtrOutput struct{ *pulumi.OutputState }

func (TopicRuleFirehosePtrOutput) DeliveryStreamName added in v1.19.0

func (o TopicRuleFirehosePtrOutput) DeliveryStreamName() pulumi.StringOutput

The delivery stream name.

func (TopicRuleFirehosePtrOutput) Elem added in v1.19.0

func (TopicRuleFirehosePtrOutput) ElementType added in v1.19.0

func (TopicRuleFirehosePtrOutput) ElementType() reflect.Type

func (TopicRuleFirehosePtrOutput) RoleArn added in v1.19.0

The ARN of the IAM role that grants access.

func (TopicRuleFirehosePtrOutput) Separator added in v1.19.0

A character separator that is used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).

func (TopicRuleFirehosePtrOutput) ToTopicRuleFirehosePtrOutput added in v1.19.0

func (o TopicRuleFirehosePtrOutput) ToTopicRuleFirehosePtrOutput() TopicRuleFirehosePtrOutput

func (TopicRuleFirehosePtrOutput) ToTopicRuleFirehosePtrOutputWithContext added in v1.19.0

func (o TopicRuleFirehosePtrOutput) ToTopicRuleFirehosePtrOutputWithContext(ctx context.Context) TopicRuleFirehosePtrOutput

type TopicRuleKinesis added in v1.19.0

type TopicRuleKinesis struct {
	// The partition key.
	PartitionKey *string `pulumi:"partitionKey"`
	// The ARN of the IAM role that grants access.
	RoleArn string `pulumi:"roleArn"`
	// The name of the Amazon Kinesis stream.
	StreamName string `pulumi:"streamName"`
}

type TopicRuleKinesisArgs added in v1.19.0

type TopicRuleKinesisArgs struct {
	// The partition key.
	PartitionKey pulumi.StringPtrInput `pulumi:"partitionKey"`
	// The ARN of the IAM role that grants access.
	RoleArn pulumi.StringInput `pulumi:"roleArn"`
	// The name of the Amazon Kinesis stream.
	StreamName pulumi.StringInput `pulumi:"streamName"`
}

func (TopicRuleKinesisArgs) ElementType added in v1.19.0

func (TopicRuleKinesisArgs) ElementType() reflect.Type

func (TopicRuleKinesisArgs) ToTopicRuleKinesisOutput added in v1.19.0

func (i TopicRuleKinesisArgs) ToTopicRuleKinesisOutput() TopicRuleKinesisOutput

func (TopicRuleKinesisArgs) ToTopicRuleKinesisOutputWithContext added in v1.19.0

func (i TopicRuleKinesisArgs) ToTopicRuleKinesisOutputWithContext(ctx context.Context) TopicRuleKinesisOutput

func (TopicRuleKinesisArgs) ToTopicRuleKinesisPtrOutput added in v1.19.0

func (i TopicRuleKinesisArgs) ToTopicRuleKinesisPtrOutput() TopicRuleKinesisPtrOutput

func (TopicRuleKinesisArgs) ToTopicRuleKinesisPtrOutputWithContext added in v1.19.0

func (i TopicRuleKinesisArgs) ToTopicRuleKinesisPtrOutputWithContext(ctx context.Context) TopicRuleKinesisPtrOutput

type TopicRuleKinesisInput added in v1.19.0

type TopicRuleKinesisInput interface {
	pulumi.Input

	ToTopicRuleKinesisOutput() TopicRuleKinesisOutput
	ToTopicRuleKinesisOutputWithContext(context.Context) TopicRuleKinesisOutput
}

type TopicRuleKinesisOutput added in v1.19.0

type TopicRuleKinesisOutput struct{ *pulumi.OutputState }

func (TopicRuleKinesisOutput) ElementType added in v1.19.0

func (TopicRuleKinesisOutput) ElementType() reflect.Type

func (TopicRuleKinesisOutput) PartitionKey added in v1.19.0

The partition key.

func (TopicRuleKinesisOutput) RoleArn added in v1.19.0

The ARN of the IAM role that grants access.

func (TopicRuleKinesisOutput) StreamName added in v1.19.0

The name of the Amazon Kinesis stream.

func (TopicRuleKinesisOutput) ToTopicRuleKinesisOutput added in v1.19.0

func (o TopicRuleKinesisOutput) ToTopicRuleKinesisOutput() TopicRuleKinesisOutput

func (TopicRuleKinesisOutput) ToTopicRuleKinesisOutputWithContext added in v1.19.0

func (o TopicRuleKinesisOutput) ToTopicRuleKinesisOutputWithContext(ctx context.Context) TopicRuleKinesisOutput

func (TopicRuleKinesisOutput) ToTopicRuleKinesisPtrOutput added in v1.19.0

func (o TopicRuleKinesisOutput) ToTopicRuleKinesisPtrOutput() TopicRuleKinesisPtrOutput

func (TopicRuleKinesisOutput) ToTopicRuleKinesisPtrOutputWithContext added in v1.19.0

func (o TopicRuleKinesisOutput) ToTopicRuleKinesisPtrOutputWithContext(ctx context.Context) TopicRuleKinesisPtrOutput

type TopicRuleKinesisPtrInput added in v1.19.0

type TopicRuleKinesisPtrInput interface {
	pulumi.Input

	ToTopicRuleKinesisPtrOutput() TopicRuleKinesisPtrOutput
	ToTopicRuleKinesisPtrOutputWithContext(context.Context) TopicRuleKinesisPtrOutput
}

func TopicRuleKinesisPtr added in v1.19.0

func TopicRuleKinesisPtr(v *TopicRuleKinesisArgs) TopicRuleKinesisPtrInput

type TopicRuleKinesisPtrOutput added in v1.19.0

type TopicRuleKinesisPtrOutput struct{ *pulumi.OutputState }

func (TopicRuleKinesisPtrOutput) Elem added in v1.19.0

func (TopicRuleKinesisPtrOutput) ElementType added in v1.19.0

func (TopicRuleKinesisPtrOutput) ElementType() reflect.Type

func (TopicRuleKinesisPtrOutput) PartitionKey added in v1.19.0

The partition key.

func (TopicRuleKinesisPtrOutput) RoleArn added in v1.19.0

The ARN of the IAM role that grants access.

func (TopicRuleKinesisPtrOutput) StreamName added in v1.19.0

The name of the Amazon Kinesis stream.

func (TopicRuleKinesisPtrOutput) ToTopicRuleKinesisPtrOutput added in v1.19.0

func (o TopicRuleKinesisPtrOutput) ToTopicRuleKinesisPtrOutput() TopicRuleKinesisPtrOutput

func (TopicRuleKinesisPtrOutput) ToTopicRuleKinesisPtrOutputWithContext added in v1.19.0

func (o TopicRuleKinesisPtrOutput) ToTopicRuleKinesisPtrOutputWithContext(ctx context.Context) TopicRuleKinesisPtrOutput

type TopicRuleLambda added in v1.19.0

type TopicRuleLambda struct {
	// The ARN of the Lambda function.
	FunctionArn string `pulumi:"functionArn"`
}

type TopicRuleLambdaArgs added in v1.19.0

type TopicRuleLambdaArgs struct {
	// The ARN of the Lambda function.
	FunctionArn pulumi.StringInput `pulumi:"functionArn"`
}

func (TopicRuleLambdaArgs) ElementType added in v1.19.0

func (TopicRuleLambdaArgs) ElementType() reflect.Type

func (TopicRuleLambdaArgs) ToTopicRuleLambdaOutput added in v1.19.0

func (i TopicRuleLambdaArgs) ToTopicRuleLambdaOutput() TopicRuleLambdaOutput

func (TopicRuleLambdaArgs) ToTopicRuleLambdaOutputWithContext added in v1.19.0

func (i TopicRuleLambdaArgs) ToTopicRuleLambdaOutputWithContext(ctx context.Context) TopicRuleLambdaOutput

func (TopicRuleLambdaArgs) ToTopicRuleLambdaPtrOutput added in v1.19.0

func (i TopicRuleLambdaArgs) ToTopicRuleLambdaPtrOutput() TopicRuleLambdaPtrOutput

func (TopicRuleLambdaArgs) ToTopicRuleLambdaPtrOutputWithContext added in v1.19.0

func (i TopicRuleLambdaArgs) ToTopicRuleLambdaPtrOutputWithContext(ctx context.Context) TopicRuleLambdaPtrOutput

type TopicRuleLambdaInput added in v1.19.0

type TopicRuleLambdaInput interface {
	pulumi.Input

	ToTopicRuleLambdaOutput() TopicRuleLambdaOutput
	ToTopicRuleLambdaOutputWithContext(context.Context) TopicRuleLambdaOutput
}

type TopicRuleLambdaOutput added in v1.19.0

type TopicRuleLambdaOutput struct{ *pulumi.OutputState }

func (TopicRuleLambdaOutput) ElementType added in v1.19.0

func (TopicRuleLambdaOutput) ElementType() reflect.Type

func (TopicRuleLambdaOutput) FunctionArn added in v1.19.0

func (o TopicRuleLambdaOutput) FunctionArn() pulumi.StringOutput

The ARN of the Lambda function.

func (TopicRuleLambdaOutput) ToTopicRuleLambdaOutput added in v1.19.0

func (o TopicRuleLambdaOutput) ToTopicRuleLambdaOutput() TopicRuleLambdaOutput

func (TopicRuleLambdaOutput) ToTopicRuleLambdaOutputWithContext added in v1.19.0

func (o TopicRuleLambdaOutput) ToTopicRuleLambdaOutputWithContext(ctx context.Context) TopicRuleLambdaOutput

func (TopicRuleLambdaOutput) ToTopicRuleLambdaPtrOutput added in v1.19.0

func (o TopicRuleLambdaOutput) ToTopicRuleLambdaPtrOutput() TopicRuleLambdaPtrOutput

func (TopicRuleLambdaOutput) ToTopicRuleLambdaPtrOutputWithContext added in v1.19.0

func (o TopicRuleLambdaOutput) ToTopicRuleLambdaPtrOutputWithContext(ctx context.Context) TopicRuleLambdaPtrOutput

type TopicRuleLambdaPtrInput added in v1.19.0

type TopicRuleLambdaPtrInput interface {
	pulumi.Input

	ToTopicRuleLambdaPtrOutput() TopicRuleLambdaPtrOutput
	ToTopicRuleLambdaPtrOutputWithContext(context.Context) TopicRuleLambdaPtrOutput
}

func TopicRuleLambdaPtr added in v1.19.0

func TopicRuleLambdaPtr(v *TopicRuleLambdaArgs) TopicRuleLambdaPtrInput

type TopicRuleLambdaPtrOutput added in v1.19.0

type TopicRuleLambdaPtrOutput struct{ *pulumi.OutputState }

func (TopicRuleLambdaPtrOutput) Elem added in v1.19.0

func (TopicRuleLambdaPtrOutput) ElementType added in v1.19.0

func (TopicRuleLambdaPtrOutput) ElementType() reflect.Type

func (TopicRuleLambdaPtrOutput) FunctionArn added in v1.19.0

The ARN of the Lambda function.

func (TopicRuleLambdaPtrOutput) ToTopicRuleLambdaPtrOutput added in v1.19.0

func (o TopicRuleLambdaPtrOutput) ToTopicRuleLambdaPtrOutput() TopicRuleLambdaPtrOutput

func (TopicRuleLambdaPtrOutput) ToTopicRuleLambdaPtrOutputWithContext added in v1.19.0

func (o TopicRuleLambdaPtrOutput) ToTopicRuleLambdaPtrOutputWithContext(ctx context.Context) TopicRuleLambdaPtrOutput

type TopicRuleRepublish added in v1.19.0

type TopicRuleRepublish struct {
	// The ARN of the IAM role that grants access.
	RoleArn string `pulumi:"roleArn"`
	// The name of the MQTT topic the message should be republished to.
	Topic string `pulumi:"topic"`
}

type TopicRuleRepublishArgs added in v1.19.0

type TopicRuleRepublishArgs struct {
	// The ARN of the IAM role that grants access.
	RoleArn pulumi.StringInput `pulumi:"roleArn"`
	// The name of the MQTT topic the message should be republished to.
	Topic pulumi.StringInput `pulumi:"topic"`
}

func (TopicRuleRepublishArgs) ElementType added in v1.19.0

func (TopicRuleRepublishArgs) ElementType() reflect.Type

func (TopicRuleRepublishArgs) ToTopicRuleRepublishOutput added in v1.19.0

func (i TopicRuleRepublishArgs) ToTopicRuleRepublishOutput() TopicRuleRepublishOutput

func (TopicRuleRepublishArgs) ToTopicRuleRepublishOutputWithContext added in v1.19.0

func (i TopicRuleRepublishArgs) ToTopicRuleRepublishOutputWithContext(ctx context.Context) TopicRuleRepublishOutput

func (TopicRuleRepublishArgs) ToTopicRuleRepublishPtrOutput added in v1.19.0

func (i TopicRuleRepublishArgs) ToTopicRuleRepublishPtrOutput() TopicRuleRepublishPtrOutput

func (TopicRuleRepublishArgs) ToTopicRuleRepublishPtrOutputWithContext added in v1.19.0

func (i TopicRuleRepublishArgs) ToTopicRuleRepublishPtrOutputWithContext(ctx context.Context) TopicRuleRepublishPtrOutput

type TopicRuleRepublishInput added in v1.19.0

type TopicRuleRepublishInput interface {
	pulumi.Input

	ToTopicRuleRepublishOutput() TopicRuleRepublishOutput
	ToTopicRuleRepublishOutputWithContext(context.Context) TopicRuleRepublishOutput
}

type TopicRuleRepublishOutput added in v1.19.0

type TopicRuleRepublishOutput struct{ *pulumi.OutputState }

func (TopicRuleRepublishOutput) ElementType added in v1.19.0

func (TopicRuleRepublishOutput) ElementType() reflect.Type

func (TopicRuleRepublishOutput) RoleArn added in v1.19.0

The ARN of the IAM role that grants access.

func (TopicRuleRepublishOutput) ToTopicRuleRepublishOutput added in v1.19.0

func (o TopicRuleRepublishOutput) ToTopicRuleRepublishOutput() TopicRuleRepublishOutput

func (TopicRuleRepublishOutput) ToTopicRuleRepublishOutputWithContext added in v1.19.0

func (o TopicRuleRepublishOutput) ToTopicRuleRepublishOutputWithContext(ctx context.Context) TopicRuleRepublishOutput

func (TopicRuleRepublishOutput) ToTopicRuleRepublishPtrOutput added in v1.19.0

func (o TopicRuleRepublishOutput) ToTopicRuleRepublishPtrOutput() TopicRuleRepublishPtrOutput

func (TopicRuleRepublishOutput) ToTopicRuleRepublishPtrOutputWithContext added in v1.19.0

func (o TopicRuleRepublishOutput) ToTopicRuleRepublishPtrOutputWithContext(ctx context.Context) TopicRuleRepublishPtrOutput

func (TopicRuleRepublishOutput) Topic added in v1.19.0

The name of the MQTT topic the message should be republished to.

type TopicRuleRepublishPtrInput added in v1.19.0

type TopicRuleRepublishPtrInput interface {
	pulumi.Input

	ToTopicRuleRepublishPtrOutput() TopicRuleRepublishPtrOutput
	ToTopicRuleRepublishPtrOutputWithContext(context.Context) TopicRuleRepublishPtrOutput
}

func TopicRuleRepublishPtr added in v1.19.0

func TopicRuleRepublishPtr(v *TopicRuleRepublishArgs) TopicRuleRepublishPtrInput

type TopicRuleRepublishPtrOutput added in v1.19.0

type TopicRuleRepublishPtrOutput struct{ *pulumi.OutputState }

func (TopicRuleRepublishPtrOutput) Elem added in v1.19.0

func (TopicRuleRepublishPtrOutput) ElementType added in v1.19.0

func (TopicRuleRepublishPtrOutput) RoleArn added in v1.19.0

The ARN of the IAM role that grants access.

func (TopicRuleRepublishPtrOutput) ToTopicRuleRepublishPtrOutput added in v1.19.0

func (o TopicRuleRepublishPtrOutput) ToTopicRuleRepublishPtrOutput() TopicRuleRepublishPtrOutput

func (TopicRuleRepublishPtrOutput) ToTopicRuleRepublishPtrOutputWithContext added in v1.19.0

func (o TopicRuleRepublishPtrOutput) ToTopicRuleRepublishPtrOutputWithContext(ctx context.Context) TopicRuleRepublishPtrOutput

func (TopicRuleRepublishPtrOutput) Topic added in v1.19.0

The name of the MQTT topic the message should be republished to.

type TopicRuleS3 added in v1.19.0

type TopicRuleS3 struct {
	// The Amazon S3 bucket name.
	BucketName string `pulumi:"bucketName"`
	// The object key.
	Key string `pulumi:"key"`
	// The ARN of the IAM role that grants access.
	RoleArn string `pulumi:"roleArn"`
}

type TopicRuleS3Args added in v1.19.0

type TopicRuleS3Args struct {
	// The Amazon S3 bucket name.
	BucketName pulumi.StringInput `pulumi:"bucketName"`
	// The object key.
	Key pulumi.StringInput `pulumi:"key"`
	// The ARN of the IAM role that grants access.
	RoleArn pulumi.StringInput `pulumi:"roleArn"`
}

func (TopicRuleS3Args) ElementType added in v1.19.0

func (TopicRuleS3Args) ElementType() reflect.Type

func (TopicRuleS3Args) ToTopicRuleS3Output added in v1.19.0

func (i TopicRuleS3Args) ToTopicRuleS3Output() TopicRuleS3Output

func (TopicRuleS3Args) ToTopicRuleS3OutputWithContext added in v1.19.0

func (i TopicRuleS3Args) ToTopicRuleS3OutputWithContext(ctx context.Context) TopicRuleS3Output

func (TopicRuleS3Args) ToTopicRuleS3PtrOutput added in v1.19.0

func (i TopicRuleS3Args) ToTopicRuleS3PtrOutput() TopicRuleS3PtrOutput

func (TopicRuleS3Args) ToTopicRuleS3PtrOutputWithContext added in v1.19.0

func (i TopicRuleS3Args) ToTopicRuleS3PtrOutputWithContext(ctx context.Context) TopicRuleS3PtrOutput

type TopicRuleS3Input added in v1.19.0

type TopicRuleS3Input interface {
	pulumi.Input

	ToTopicRuleS3Output() TopicRuleS3Output
	ToTopicRuleS3OutputWithContext(context.Context) TopicRuleS3Output
}

type TopicRuleS3Output added in v1.19.0

type TopicRuleS3Output struct{ *pulumi.OutputState }

func (TopicRuleS3Output) BucketName added in v1.19.0

func (o TopicRuleS3Output) BucketName() pulumi.StringOutput

The Amazon S3 bucket name.

func (TopicRuleS3Output) ElementType added in v1.19.0

func (TopicRuleS3Output) ElementType() reflect.Type

func (TopicRuleS3Output) Key added in v1.19.0

The object key.

func (TopicRuleS3Output) RoleArn added in v1.19.0

The ARN of the IAM role that grants access.

func (TopicRuleS3Output) ToTopicRuleS3Output added in v1.19.0

func (o TopicRuleS3Output) ToTopicRuleS3Output() TopicRuleS3Output

func (TopicRuleS3Output) ToTopicRuleS3OutputWithContext added in v1.19.0

func (o TopicRuleS3Output) ToTopicRuleS3OutputWithContext(ctx context.Context) TopicRuleS3Output

func (TopicRuleS3Output) ToTopicRuleS3PtrOutput added in v1.19.0

func (o TopicRuleS3Output) ToTopicRuleS3PtrOutput() TopicRuleS3PtrOutput

func (TopicRuleS3Output) ToTopicRuleS3PtrOutputWithContext added in v1.19.0

func (o TopicRuleS3Output) ToTopicRuleS3PtrOutputWithContext(ctx context.Context) TopicRuleS3PtrOutput

type TopicRuleS3PtrInput added in v1.19.0

type TopicRuleS3PtrInput interface {
	pulumi.Input

	ToTopicRuleS3PtrOutput() TopicRuleS3PtrOutput
	ToTopicRuleS3PtrOutputWithContext(context.Context) TopicRuleS3PtrOutput
}

func TopicRuleS3Ptr added in v1.19.0

func TopicRuleS3Ptr(v *TopicRuleS3Args) TopicRuleS3PtrInput

type TopicRuleS3PtrOutput added in v1.19.0

type TopicRuleS3PtrOutput struct{ *pulumi.OutputState }

func (TopicRuleS3PtrOutput) BucketName added in v1.19.0

func (o TopicRuleS3PtrOutput) BucketName() pulumi.StringOutput

The Amazon S3 bucket name.

func (TopicRuleS3PtrOutput) Elem added in v1.19.0

func (TopicRuleS3PtrOutput) ElementType added in v1.19.0

func (TopicRuleS3PtrOutput) ElementType() reflect.Type

func (TopicRuleS3PtrOutput) Key added in v1.19.0

The object key.

func (TopicRuleS3PtrOutput) RoleArn added in v1.19.0

The ARN of the IAM role that grants access.

func (TopicRuleS3PtrOutput) ToTopicRuleS3PtrOutput added in v1.19.0

func (o TopicRuleS3PtrOutput) ToTopicRuleS3PtrOutput() TopicRuleS3PtrOutput

func (TopicRuleS3PtrOutput) ToTopicRuleS3PtrOutputWithContext added in v1.19.0

func (o TopicRuleS3PtrOutput) ToTopicRuleS3PtrOutputWithContext(ctx context.Context) TopicRuleS3PtrOutput

type TopicRuleSns added in v1.19.0

type TopicRuleSns struct {
	// The message format of the message to publish. Accepted values are "JSON" and "RAW".
	MessageFormat *string `pulumi:"messageFormat"`
	// The ARN of the IAM role that grants access.
	RoleArn string `pulumi:"roleArn"`
	// The ARN of the SNS topic.
	TargetArn string `pulumi:"targetArn"`
}

type TopicRuleSnsArgs added in v1.19.0

type TopicRuleSnsArgs struct {
	// The message format of the message to publish. Accepted values are "JSON" and "RAW".
	MessageFormat pulumi.StringPtrInput `pulumi:"messageFormat"`
	// The ARN of the IAM role that grants access.
	RoleArn pulumi.StringInput `pulumi:"roleArn"`
	// The ARN of the SNS topic.
	TargetArn pulumi.StringInput `pulumi:"targetArn"`
}

func (TopicRuleSnsArgs) ElementType added in v1.19.0

func (TopicRuleSnsArgs) ElementType() reflect.Type

func (TopicRuleSnsArgs) ToTopicRuleSnsOutput added in v1.19.0

func (i TopicRuleSnsArgs) ToTopicRuleSnsOutput() TopicRuleSnsOutput

func (TopicRuleSnsArgs) ToTopicRuleSnsOutputWithContext added in v1.19.0

func (i TopicRuleSnsArgs) ToTopicRuleSnsOutputWithContext(ctx context.Context) TopicRuleSnsOutput

func (TopicRuleSnsArgs) ToTopicRuleSnsPtrOutput added in v1.19.0

func (i TopicRuleSnsArgs) ToTopicRuleSnsPtrOutput() TopicRuleSnsPtrOutput

func (TopicRuleSnsArgs) ToTopicRuleSnsPtrOutputWithContext added in v1.19.0

func (i TopicRuleSnsArgs) ToTopicRuleSnsPtrOutputWithContext(ctx context.Context) TopicRuleSnsPtrOutput

type TopicRuleSnsInput added in v1.19.0

type TopicRuleSnsInput interface {
	pulumi.Input

	ToTopicRuleSnsOutput() TopicRuleSnsOutput
	ToTopicRuleSnsOutputWithContext(context.Context) TopicRuleSnsOutput
}

type TopicRuleSnsOutput added in v1.19.0

type TopicRuleSnsOutput struct{ *pulumi.OutputState }

func (TopicRuleSnsOutput) ElementType added in v1.19.0

func (TopicRuleSnsOutput) ElementType() reflect.Type

func (TopicRuleSnsOutput) MessageFormat added in v1.19.0

func (o TopicRuleSnsOutput) MessageFormat() pulumi.StringPtrOutput

The message format of the message to publish. Accepted values are "JSON" and "RAW".

func (TopicRuleSnsOutput) RoleArn added in v1.19.0

The ARN of the IAM role that grants access.

func (TopicRuleSnsOutput) TargetArn added in v1.19.0

func (o TopicRuleSnsOutput) TargetArn() pulumi.StringOutput

The ARN of the SNS topic.

func (TopicRuleSnsOutput) ToTopicRuleSnsOutput added in v1.19.0

func (o TopicRuleSnsOutput) ToTopicRuleSnsOutput() TopicRuleSnsOutput

func (TopicRuleSnsOutput) ToTopicRuleSnsOutputWithContext added in v1.19.0

func (o TopicRuleSnsOutput) ToTopicRuleSnsOutputWithContext(ctx context.Context) TopicRuleSnsOutput

func (TopicRuleSnsOutput) ToTopicRuleSnsPtrOutput added in v1.19.0

func (o TopicRuleSnsOutput) ToTopicRuleSnsPtrOutput() TopicRuleSnsPtrOutput

func (TopicRuleSnsOutput) ToTopicRuleSnsPtrOutputWithContext added in v1.19.0

func (o TopicRuleSnsOutput) ToTopicRuleSnsPtrOutputWithContext(ctx context.Context) TopicRuleSnsPtrOutput

type TopicRuleSnsPtrInput added in v1.19.0

type TopicRuleSnsPtrInput interface {
	pulumi.Input

	ToTopicRuleSnsPtrOutput() TopicRuleSnsPtrOutput
	ToTopicRuleSnsPtrOutputWithContext(context.Context) TopicRuleSnsPtrOutput
}

func TopicRuleSnsPtr added in v1.19.0

func TopicRuleSnsPtr(v *TopicRuleSnsArgs) TopicRuleSnsPtrInput

type TopicRuleSnsPtrOutput added in v1.19.0

type TopicRuleSnsPtrOutput struct{ *pulumi.OutputState }

func (TopicRuleSnsPtrOutput) Elem added in v1.19.0

func (TopicRuleSnsPtrOutput) ElementType added in v1.19.0

func (TopicRuleSnsPtrOutput) ElementType() reflect.Type

func (TopicRuleSnsPtrOutput) MessageFormat added in v1.19.0

func (o TopicRuleSnsPtrOutput) MessageFormat() pulumi.StringPtrOutput

The message format of the message to publish. Accepted values are "JSON" and "RAW".

func (TopicRuleSnsPtrOutput) RoleArn added in v1.19.0

The ARN of the IAM role that grants access.

func (TopicRuleSnsPtrOutput) TargetArn added in v1.19.0

The ARN of the SNS topic.

func (TopicRuleSnsPtrOutput) ToTopicRuleSnsPtrOutput added in v1.19.0

func (o TopicRuleSnsPtrOutput) ToTopicRuleSnsPtrOutput() TopicRuleSnsPtrOutput

func (TopicRuleSnsPtrOutput) ToTopicRuleSnsPtrOutputWithContext added in v1.19.0

func (o TopicRuleSnsPtrOutput) ToTopicRuleSnsPtrOutputWithContext(ctx context.Context) TopicRuleSnsPtrOutput

type TopicRuleSqs added in v1.19.0

type TopicRuleSqs struct {
	// The URL of the Amazon SQS queue.
	QueueUrl string `pulumi:"queueUrl"`
	// The ARN of the IAM role that grants access.
	RoleArn string `pulumi:"roleArn"`
	// Specifies whether to use Base64 encoding.
	UseBase64 bool `pulumi:"useBase64"`
}

type TopicRuleSqsArgs added in v1.19.0

type TopicRuleSqsArgs struct {
	// The URL of the Amazon SQS queue.
	QueueUrl pulumi.StringInput `pulumi:"queueUrl"`
	// The ARN of the IAM role that grants access.
	RoleArn pulumi.StringInput `pulumi:"roleArn"`
	// Specifies whether to use Base64 encoding.
	UseBase64 pulumi.BoolInput `pulumi:"useBase64"`
}

func (TopicRuleSqsArgs) ElementType added in v1.19.0

func (TopicRuleSqsArgs) ElementType() reflect.Type

func (TopicRuleSqsArgs) ToTopicRuleSqsOutput added in v1.19.0

func (i TopicRuleSqsArgs) ToTopicRuleSqsOutput() TopicRuleSqsOutput

func (TopicRuleSqsArgs) ToTopicRuleSqsOutputWithContext added in v1.19.0

func (i TopicRuleSqsArgs) ToTopicRuleSqsOutputWithContext(ctx context.Context) TopicRuleSqsOutput

func (TopicRuleSqsArgs) ToTopicRuleSqsPtrOutput added in v1.19.0

func (i TopicRuleSqsArgs) ToTopicRuleSqsPtrOutput() TopicRuleSqsPtrOutput

func (TopicRuleSqsArgs) ToTopicRuleSqsPtrOutputWithContext added in v1.19.0

func (i TopicRuleSqsArgs) ToTopicRuleSqsPtrOutputWithContext(ctx context.Context) TopicRuleSqsPtrOutput

type TopicRuleSqsInput added in v1.19.0

type TopicRuleSqsInput interface {
	pulumi.Input

	ToTopicRuleSqsOutput() TopicRuleSqsOutput
	ToTopicRuleSqsOutputWithContext(context.Context) TopicRuleSqsOutput
}

type TopicRuleSqsOutput added in v1.19.0

type TopicRuleSqsOutput struct{ *pulumi.OutputState }

func (TopicRuleSqsOutput) ElementType added in v1.19.0

func (TopicRuleSqsOutput) ElementType() reflect.Type

func (TopicRuleSqsOutput) QueueUrl added in v1.19.0

func (o TopicRuleSqsOutput) QueueUrl() pulumi.StringOutput

The URL of the Amazon SQS queue.

func (TopicRuleSqsOutput) RoleArn added in v1.19.0

The ARN of the IAM role that grants access.

func (TopicRuleSqsOutput) ToTopicRuleSqsOutput added in v1.19.0

func (o TopicRuleSqsOutput) ToTopicRuleSqsOutput() TopicRuleSqsOutput

func (TopicRuleSqsOutput) ToTopicRuleSqsOutputWithContext added in v1.19.0

func (o TopicRuleSqsOutput) ToTopicRuleSqsOutputWithContext(ctx context.Context) TopicRuleSqsOutput

func (TopicRuleSqsOutput) ToTopicRuleSqsPtrOutput added in v1.19.0

func (o TopicRuleSqsOutput) ToTopicRuleSqsPtrOutput() TopicRuleSqsPtrOutput

func (TopicRuleSqsOutput) ToTopicRuleSqsPtrOutputWithContext added in v1.19.0

func (o TopicRuleSqsOutput) ToTopicRuleSqsPtrOutputWithContext(ctx context.Context) TopicRuleSqsPtrOutput

func (TopicRuleSqsOutput) UseBase64 added in v1.19.0

func (o TopicRuleSqsOutput) UseBase64() pulumi.BoolOutput

Specifies whether to use Base64 encoding.

type TopicRuleSqsPtrInput added in v1.19.0

type TopicRuleSqsPtrInput interface {
	pulumi.Input

	ToTopicRuleSqsPtrOutput() TopicRuleSqsPtrOutput
	ToTopicRuleSqsPtrOutputWithContext(context.Context) TopicRuleSqsPtrOutput
}

func TopicRuleSqsPtr added in v1.19.0

func TopicRuleSqsPtr(v *TopicRuleSqsArgs) TopicRuleSqsPtrInput

type TopicRuleSqsPtrOutput added in v1.19.0

type TopicRuleSqsPtrOutput struct{ *pulumi.OutputState }

func (TopicRuleSqsPtrOutput) Elem added in v1.19.0

func (TopicRuleSqsPtrOutput) ElementType added in v1.19.0

func (TopicRuleSqsPtrOutput) ElementType() reflect.Type

func (TopicRuleSqsPtrOutput) QueueUrl added in v1.19.0

The URL of the Amazon SQS queue.

func (TopicRuleSqsPtrOutput) RoleArn added in v1.19.0

The ARN of the IAM role that grants access.

func (TopicRuleSqsPtrOutput) ToTopicRuleSqsPtrOutput added in v1.19.0

func (o TopicRuleSqsPtrOutput) ToTopicRuleSqsPtrOutput() TopicRuleSqsPtrOutput

func (TopicRuleSqsPtrOutput) ToTopicRuleSqsPtrOutputWithContext added in v1.19.0

func (o TopicRuleSqsPtrOutput) ToTopicRuleSqsPtrOutputWithContext(ctx context.Context) TopicRuleSqsPtrOutput

func (TopicRuleSqsPtrOutput) UseBase64 added in v1.19.0

func (o TopicRuleSqsPtrOutput) UseBase64() pulumi.BoolOutput

Specifies whether to use Base64 encoding.

type TopicRuleState

type TopicRuleState struct {
	// The ARN of the topic rule
	Arn              pulumi.StringPtrInput
	CloudwatchAlarm  TopicRuleCloudwatchAlarmPtrInput
	CloudwatchMetric TopicRuleCloudwatchMetricPtrInput
	// The description of the rule.
	Description   pulumi.StringPtrInput
	Dynamodb      TopicRuleDynamodbPtrInput
	Elasticsearch TopicRuleElasticsearchPtrInput
	// Specifies whether the rule is enabled.
	Enabled  pulumi.BoolPtrInput
	Firehose TopicRuleFirehosePtrInput
	Kinesis  TopicRuleKinesisPtrInput
	Lambda   TopicRuleLambdaPtrInput
	// The name of the rule.
	Name      pulumi.StringPtrInput
	Republish TopicRuleRepublishPtrInput
	S3        TopicRuleS3PtrInput
	Sns       TopicRuleSnsPtrInput
	// The SQL statement used to query the topic. For more information, see AWS IoT SQL Reference (http://docs.aws.amazon.com/iot/latest/developerguide/iot-rules.html#aws-iot-sql-reference) in the AWS IoT Developer Guide.
	Sql pulumi.StringPtrInput
	// The version of the SQL rules engine to use when evaluating the rule.
	SqlVersion pulumi.StringPtrInput
	Sqs        TopicRuleSqsPtrInput
}

func (TopicRuleState) ElementType added in v1.19.0

func (TopicRuleState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL