TopicRule
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var mytopic = new Aws.Sns.Topic("mytopic", new Aws.Sns.TopicArgs
{
});
var myerrortopic = new Aws.Sns.Topic("myerrortopic", new Aws.Sns.TopicArgs
{
});
var role = new Aws.Iam.Role("role", new Aws.Iam.RoleArgs
{
AssumeRolePolicy = @"{
""Version"": ""2012-10-17"",
""Statement"": [
{
""Effect"": ""Allow"",
""Principal"": {
""Service"": ""iot.amazonaws.com""
},
""Action"": ""sts:AssumeRole""
}
]
}
",
});
var rule = new Aws.Iot.TopicRule("rule", new Aws.Iot.TopicRuleArgs
{
Description = "Example rule",
Enabled = true,
ErrorAction = new Aws.Iot.Inputs.TopicRuleErrorActionArgs
{
Sns = new Aws.Iot.Inputs.TopicRuleErrorActionSnsArgs
{
MessageFormat = "RAW",
RoleArn = role.Arn,
TargetArn = myerrortopic.Arn,
},
},
Sns = new Aws.Iot.Inputs.TopicRuleSnsArgs
{
MessageFormat = "RAW",
RoleArn = role.Arn,
TargetArn = mytopic.Arn,
},
Sql = "SELECT * FROM 'topic/test'",
SqlVersion = "2016-03-23",
});
var iamPolicyForLambda = new Aws.Iam.RolePolicy("iamPolicyForLambda", new Aws.Iam.RolePolicyArgs
{
Policy = mytopic.Arn.Apply(arn => @$"{{
""Version"": ""2012-10-17"",
""Statement"": [
{{
""Effect"": ""Allow"",
""Action"": [
""sns:Publish""
],
""Resource"": ""{arn}""
}}
]
}}
"),
Role = role.Id,
});
}
}
package main
import (
"fmt"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/iot"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/sns"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
mytopic, err := sns.NewTopic(ctx, "mytopic", nil)
if err != nil {
return err
}
myerrortopic, err := sns.NewTopic(ctx, "myerrortopic", nil)
if err != nil {
return err
}
role, err := iam.NewRole(ctx, "role", &iam.RoleArgs{
AssumeRolePolicy: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Effect\": \"Allow\",\n", " \"Principal\": {\n", " \"Service\": \"iot.amazonaws.com\"\n", " },\n", " \"Action\": \"sts:AssumeRole\"\n", " }\n", " ]\n", "}\n", "\n")),
})
if err != nil {
return err
}
_, err = iot.NewTopicRule(ctx, "rule", &iot.TopicRuleArgs{
Description: pulumi.String("Example rule"),
Enabled: pulumi.Bool(true),
ErrorAction: &iot.TopicRuleErrorActionArgs{
Sns: &iot.TopicRuleErrorActionSnsArgs{
MessageFormat: pulumi.String("RAW"),
RoleArn: role.Arn,
TargetArn: myerrortopic.Arn,
},
},
Sns: &iot.TopicRuleSnsArgs{
MessageFormat: pulumi.String("RAW"),
RoleArn: role.Arn,
TargetArn: mytopic.Arn,
},
Sql: pulumi.String("SELECT * FROM 'topic/test'"),
SqlVersion: pulumi.String("2016-03-23"),
})
if err != nil {
return err
}
_, err = iam.NewRolePolicy(ctx, "iamPolicyForLambda", &iam.RolePolicyArgs{
Policy: mytopic.Arn.ApplyT(func(arn string) (string, error) {
return fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Effect\": \"Allow\",\n", " \"Action\": [\n", " \"sns:Publish\"\n", " ],\n", " \"Resource\": \"", arn, "\"\n", " }\n", " ]\n", "}\n", "\n"), nil
}).(pulumi.StringOutput),
Role: role.ID(),
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
mytopic = aws.sns.Topic("mytopic")
myerrortopic = aws.sns.Topic("myerrortopic")
role = aws.iam.Role("role", assume_role_policy="""{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "iot.amazonaws.com"
},
"Action": "sts:AssumeRole"
}
]
}
""")
rule = aws.iot.TopicRule("rule",
description="Example rule",
enabled=True,
error_action={
"sns": {
"messageFormat": "RAW",
"role_arn": role.arn,
"target_arn": myerrortopic.arn,
},
},
sns={
"messageFormat": "RAW",
"role_arn": role.arn,
"target_arn": mytopic.arn,
},
sql="SELECT * FROM 'topic/test'",
sql_version="2016-03-23")
iam_policy_for_lambda = aws.iam.RolePolicy("iamPolicyForLambda",
policy=mytopic.arn.apply(lambda arn: f"""{{
"Version": "2012-10-17",
"Statement": [
{{
"Effect": "Allow",
"Action": [
"sns:Publish"
],
"Resource": "{arn}"
}}
]
}}
"""),
role=role.id)import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const mytopic = new aws.sns.Topic("mytopic", {});
const myerrortopic = new aws.sns.Topic("myerrortopic", {});
const role = new aws.iam.Role("role", {
assumeRolePolicy: `{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "iot.amazonaws.com"
},
"Action": "sts:AssumeRole"
}
]
}
`,
});
const rule = new aws.iot.TopicRule("rule", {
description: "Example rule",
enabled: true,
errorAction: {
sns: {
messageFormat: "RAW",
roleArn: role.arn,
targetArn: myerrortopic.arn,
},
},
sns: {
messageFormat: "RAW",
roleArn: role.arn,
targetArn: mytopic.arn,
},
sql: "SELECT * FROM 'topic/test'",
sqlVersion: "2016-03-23",
});
const iamPolicyForLambda = new aws.iam.RolePolicy("iam_policy_for_lambda", {
policy: pulumi.interpolate`{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"sns:Publish"
],
"Resource": "${mytopic.arn}"
}
]
}
`,
role: role.id,
});Create a TopicRule Resource
new TopicRule(name: string, args: TopicRuleArgs, opts?: CustomResourceOptions);def TopicRule(resource_name, opts=None, cloudwatch_alarm=None, cloudwatch_metric=None, description=None, dynamodb=None, dynamodbv2s=None, elasticsearch=None, enabled=None, error_action=None, firehose=None, iot_analytics=None, iot_events=None, kinesis=None, lambda_=None, name=None, republish=None, s3=None, sns=None, sql=None, sql_version=None, sqs=None, step_functions=None, tags=None, __props__=None);func NewTopicRule(ctx *Context, name string, args TopicRuleArgs, opts ...ResourceOption) (*TopicRule, error)public TopicRule(string name, TopicRuleArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args TopicRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TopicRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TopicRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
TopicRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The TopicRule resource accepts the following input properties:
- Enabled bool
Specifies whether the rule is enabled.
- Sql string
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
Version string The version of the SQL rules engine to use when evaluating the rule.
- Cloudwatch
Alarm TopicRule Cloudwatch Alarm Args - Cloudwatch
Metric TopicRule Cloudwatch Metric Args - Description string
The description of the rule.
- Dynamodb
Topic
Rule Dynamodb Args - Dynamodbv2s
List<Topic
Rule Dynamodbv2Args> - Elasticsearch
Topic
Rule Elasticsearch Args - Error
Action TopicRule Error Action Args Configuration block with error action to be associated with the rule. See the documentation for
cloudwatch_alarm,cloudwatch_metric,dynamodb,dynamodbv2,elasticsearch,firehose,iot_analytics,iot_events,kinesis,lambda,republish,s3,step_functions,sns,sqsconfiguration blocks for further configuration details.- Firehose
Topic
Rule Firehose Args - Iot
Analytics List<TopicRule Iot Analytic Args> - Iot
Events List<TopicRule Iot Event Args> - Kinesis
Topic
Rule Kinesis Args - Lambda
Topic
Rule Lambda Args - Name string
The name of the rule.
- Republish
Topic
Rule Republish Args - S3
Topic
Rule S3Args - Sns
Topic
Rule Sns Args - Sqs
Topic
Rule Sqs Args - Step
Functions List<TopicRule Step Function Args> - Dictionary<string, string>
Key-value map of resource tags
- Enabled bool
Specifies whether the rule is enabled.
- Sql string
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
Version string The version of the SQL rules engine to use when evaluating the rule.
- Cloudwatch
Alarm TopicRule Cloudwatch Alarm - Cloudwatch
Metric TopicRule Cloudwatch Metric - Description string
The description of the rule.
- Dynamodb
Topic
Rule Dynamodb - Dynamodbv2s
[]Topic
Rule Dynamodbv2 - Elasticsearch
Topic
Rule Elasticsearch - Error
Action TopicRule Error Action Configuration block with error action to be associated with the rule. See the documentation for
cloudwatch_alarm,cloudwatch_metric,dynamodb,dynamodbv2,elasticsearch,firehose,iot_analytics,iot_events,kinesis,lambda,republish,s3,step_functions,sns,sqsconfiguration blocks for further configuration details.- Firehose
Topic
Rule Firehose - Iot
Analytics []TopicRule Iot Analytic - Iot
Events []TopicRule Iot Event - Kinesis
Topic
Rule Kinesis - Lambda
Topic
Rule Lambda - Name string
The name of the rule.
- Republish
Topic
Rule Republish - S3
Topic
Rule S3 - Sns
Topic
Rule Sns - Sqs
Topic
Rule Sqs - Step
Functions []TopicRule Step Function - map[string]string
Key-value map of resource tags
- enabled boolean
Specifies whether the rule is enabled.
- sql string
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
Version string The version of the SQL rules engine to use when evaluating the rule.
- cloudwatch
Alarm TopicRule Cloudwatch Alarm - cloudwatch
Metric TopicRule Cloudwatch Metric - description string
The description of the rule.
- dynamodb
Topic
Rule Dynamodb - dynamodbv2s
Topic
Rule Dynamodbv2[] - elasticsearch
Topic
Rule Elasticsearch - error
Action TopicRule Error Action Configuration block with error action to be associated with the rule. See the documentation for
cloudwatch_alarm,cloudwatch_metric,dynamodb,dynamodbv2,elasticsearch,firehose,iot_analytics,iot_events,kinesis,lambda,republish,s3,step_functions,sns,sqsconfiguration blocks for further configuration details.- firehose
Topic
Rule Firehose - iot
Analytics TopicRule Iot Analytic[] - iot
Events TopicRule Iot Event[] - kinesis
Topic
Rule Kinesis - lambda
Topic
Rule Lambda - name string
The name of the rule.
- republish
Topic
Rule Republish - s3
Topic
Rule S3 - sns
Topic
Rule Sns - sqs
Topic
Rule Sqs - step
Functions TopicRule Step Function[] - {[key: string]: string}
Key-value map of resource tags
- enabled bool
Specifies whether the rule is enabled.
- sql str
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_
version str The version of the SQL rules engine to use when evaluating the rule.
- cloudwatch_
alarm Dict[TopicRule Cloudwatch Alarm] - cloudwatch_
metric Dict[TopicRule Cloudwatch Metric] - description str
The description of the rule.
- dynamodb
Dict[Topic
Rule Dynamodb] - dynamodbv2s
List[Topic
Rule Dynamodbv2] - elasticsearch
Dict[Topic
Rule Elasticsearch] - error_
action Dict[TopicRule Error Action] Configuration block with error action to be associated with the rule. See the documentation for
cloudwatch_alarm,cloudwatch_metric,dynamodb,dynamodbv2,elasticsearch,firehose,iot_analytics,iot_events,kinesis,lambda,republish,s3,step_functions,sns,sqsconfiguration blocks for further configuration details.- firehose
Dict[Topic
Rule Firehose] - iot_
analytics List[TopicRule Iot Analytic] - iot_
events List[TopicRule Iot Event] - kinesis
Dict[Topic
Rule Kinesis] - lambda_
Dict[Topic
Rule Lambda] - name str
The name of the rule.
- republish
Dict[Topic
Rule Republish] - s3
Dict[Topic
Rule S3] - sns
Dict[Topic
Rule Sns] - sqs
Dict[Topic
Rule Sqs] - step_
functions List[TopicRule Step Function] - Dict[str, str]
Key-value map of resource tags
Outputs
All input properties are implicitly available as output properties. Additionally, the TopicRule resource produces the following output properties:
Look up an Existing TopicRule Resource
Get an existing TopicRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TopicRuleState, opts?: CustomResourceOptions): TopicRulestatic get(resource_name, id, opts=None, arn=None, cloudwatch_alarm=None, cloudwatch_metric=None, description=None, dynamodb=None, dynamodbv2s=None, elasticsearch=None, enabled=None, error_action=None, firehose=None, iot_analytics=None, iot_events=None, kinesis=None, lambda_=None, name=None, republish=None, s3=None, sns=None, sql=None, sql_version=None, sqs=None, step_functions=None, tags=None, __props__=None);func GetTopicRule(ctx *Context, name string, id IDInput, state *TopicRuleState, opts ...ResourceOption) (*TopicRule, error)public static TopicRule Get(string name, Input<string> id, TopicRuleState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Arn string
The ARN of the topic rule
- Cloudwatch
Alarm TopicRule Cloudwatch Alarm Args - Cloudwatch
Metric TopicRule Cloudwatch Metric Args - Description string
The description of the rule.
- Dynamodb
Topic
Rule Dynamodb Args - Dynamodbv2s
List<Topic
Rule Dynamodbv2Args> - Elasticsearch
Topic
Rule Elasticsearch Args - Enabled bool
Specifies whether the rule is enabled.
- Error
Action TopicRule Error Action Args Configuration block with error action to be associated with the rule. See the documentation for
cloudwatch_alarm,cloudwatch_metric,dynamodb,dynamodbv2,elasticsearch,firehose,iot_analytics,iot_events,kinesis,lambda,republish,s3,step_functions,sns,sqsconfiguration blocks for further configuration details.- Firehose
Topic
Rule Firehose Args - Iot
Analytics List<TopicRule Iot Analytic Args> - Iot
Events List<TopicRule Iot Event Args> - Kinesis
Topic
Rule Kinesis Args - Lambda
Topic
Rule Lambda Args - Name string
The name of the rule.
- Republish
Topic
Rule Republish Args - S3
Topic
Rule S3Args - Sns
Topic
Rule Sns Args - Sql string
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
Version string The version of the SQL rules engine to use when evaluating the rule.
- Sqs
Topic
Rule Sqs Args - Step
Functions List<TopicRule Step Function Args> - Dictionary<string, string>
Key-value map of resource tags
- Arn string
The ARN of the topic rule
- Cloudwatch
Alarm TopicRule Cloudwatch Alarm - Cloudwatch
Metric TopicRule Cloudwatch Metric - Description string
The description of the rule.
- Dynamodb
Topic
Rule Dynamodb - Dynamodbv2s
[]Topic
Rule Dynamodbv2 - Elasticsearch
Topic
Rule Elasticsearch - Enabled bool
Specifies whether the rule is enabled.
- Error
Action TopicRule Error Action Configuration block with error action to be associated with the rule. See the documentation for
cloudwatch_alarm,cloudwatch_metric,dynamodb,dynamodbv2,elasticsearch,firehose,iot_analytics,iot_events,kinesis,lambda,republish,s3,step_functions,sns,sqsconfiguration blocks for further configuration details.- Firehose
Topic
Rule Firehose - Iot
Analytics []TopicRule Iot Analytic - Iot
Events []TopicRule Iot Event - Kinesis
Topic
Rule Kinesis - Lambda
Topic
Rule Lambda - Name string
The name of the rule.
- Republish
Topic
Rule Republish - S3
Topic
Rule S3 - Sns
Topic
Rule Sns - Sql string
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
Version string The version of the SQL rules engine to use when evaluating the rule.
- Sqs
Topic
Rule Sqs - Step
Functions []TopicRule Step Function - map[string]string
Key-value map of resource tags
- arn string
The ARN of the topic rule
- cloudwatch
Alarm TopicRule Cloudwatch Alarm - cloudwatch
Metric TopicRule Cloudwatch Metric - description string
The description of the rule.
- dynamodb
Topic
Rule Dynamodb - dynamodbv2s
Topic
Rule Dynamodbv2[] - elasticsearch
Topic
Rule Elasticsearch - enabled boolean
Specifies whether the rule is enabled.
- error
Action TopicRule Error Action Configuration block with error action to be associated with the rule. See the documentation for
cloudwatch_alarm,cloudwatch_metric,dynamodb,dynamodbv2,elasticsearch,firehose,iot_analytics,iot_events,kinesis,lambda,republish,s3,step_functions,sns,sqsconfiguration blocks for further configuration details.- firehose
Topic
Rule Firehose - iot
Analytics TopicRule Iot Analytic[] - iot
Events TopicRule Iot Event[] - kinesis
Topic
Rule Kinesis - lambda
Topic
Rule Lambda - name string
The name of the rule.
- republish
Topic
Rule Republish - s3
Topic
Rule S3 - sns
Topic
Rule Sns - sql string
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
Version string The version of the SQL rules engine to use when evaluating the rule.
- sqs
Topic
Rule Sqs - step
Functions TopicRule Step Function[] - {[key: string]: string}
Key-value map of resource tags
- arn str
The ARN of the topic rule
- cloudwatch_
alarm Dict[TopicRule Cloudwatch Alarm] - cloudwatch_
metric Dict[TopicRule Cloudwatch Metric] - description str
The description of the rule.
- dynamodb
Dict[Topic
Rule Dynamodb] - dynamodbv2s
List[Topic
Rule Dynamodbv2] - elasticsearch
Dict[Topic
Rule Elasticsearch] - enabled bool
Specifies whether the rule is enabled.
- error_
action Dict[TopicRule Error Action] Configuration block with error action to be associated with the rule. See the documentation for
cloudwatch_alarm,cloudwatch_metric,dynamodb,dynamodbv2,elasticsearch,firehose,iot_analytics,iot_events,kinesis,lambda,republish,s3,step_functions,sns,sqsconfiguration blocks for further configuration details.- firehose
Dict[Topic
Rule Firehose] - iot_
analytics List[TopicRule Iot Analytic] - iot_
events List[TopicRule Iot Event] - kinesis
Dict[Topic
Rule Kinesis] - lambda_
Dict[Topic
Rule Lambda] - name str
The name of the rule.
- republish
Dict[Topic
Rule Republish] - s3
Dict[Topic
Rule S3] - sns
Dict[Topic
Rule Sns] - sql str
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_
version str The version of the SQL rules engine to use when evaluating the rule.
- sqs
Dict[Topic
Rule Sqs] - step_
functions List[TopicRule Step Function] - Dict[str, str]
Key-value map of resource tags
Supporting Types
TopicRuleCloudwatchAlarm
- Alarm
Name string The CloudWatch alarm name.
- Role
Arn string The IAM role ARN that allows access to the CloudWatch alarm.
- State
Reason string The reason for the alarm change.
- State
Value string The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.
- Alarm
Name string The CloudWatch alarm name.
- Role
Arn string The IAM role ARN that allows access to the CloudWatch alarm.
- State
Reason string The reason for the alarm change.
- State
Value string The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.
- alarm
Name string The CloudWatch alarm name.
- role
Arn string The IAM role ARN that allows access to the CloudWatch alarm.
- state
Reason string The reason for the alarm change.
- state
Value string The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.
- alarm
Name str The CloudWatch alarm name.
- role_
arn str The IAM role ARN that allows access to the CloudWatch alarm.
- state
Reason str The reason for the alarm change.
- state
Value str The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.
TopicRuleCloudwatchMetric
- Metric
Name string The CloudWatch metric name.
- Metric
Namespace string The CloudWatch metric namespace name.
- Metric
Unit string The metric unit (supported units can be found here: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit)
- Metric
Value string The CloudWatch metric value.
- Role
Arn string The IAM role ARN that allows access to the CloudWatch metric.
- Metric
Timestamp string An optional Unix timestamp (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp).
- Metric
Name string The CloudWatch metric name.
- Metric
Namespace string The CloudWatch metric namespace name.
- Metric
Unit string The metric unit (supported units can be found here: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit)
- Metric
Value string The CloudWatch metric value.
- Role
Arn string The IAM role ARN that allows access to the CloudWatch metric.
- Metric
Timestamp string An optional Unix timestamp (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp).
- metric
Name string The CloudWatch metric name.
- metric
Namespace string The CloudWatch metric namespace name.
- metric
Unit string The metric unit (supported units can be found here: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit)
- metric
Value string The CloudWatch metric value.
- role
Arn string The IAM role ARN that allows access to the CloudWatch metric.
- metric
Timestamp string An optional Unix timestamp (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp).
- metric
Namespace str The CloudWatch metric namespace name.
- metric
Unit str The metric unit (supported units can be found here: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit)
- metric
Value str The CloudWatch metric value.
- metric_
name str The CloudWatch metric name.
- role_
arn str The IAM role ARN that allows access to the CloudWatch metric.
- metric
Timestamp str An optional Unix timestamp (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp).
TopicRuleDynamodb
- Hash
Key stringField The hash key name.
- Hash
Key stringValue The hash key value.
- Role
Arn string The ARN of the IAM role that grants access to the DynamoDB table.
- Table
Name string The name of the DynamoDB table.
- Hash
Key stringType The hash key type. Valid values are “STRING” or “NUMBER”.
- Operation string
The operation. Valid values are “INSERT”, “UPDATE”, or “DELETE”.
- Payload
Field string The action payload.
- Range
Key stringField The range key name.
- Range
Key stringType The range key type. Valid values are “STRING” or “NUMBER”.
- Range
Key stringValue The range key value.
- Hash
Key stringField The hash key name.
- Hash
Key stringValue The hash key value.
- Role
Arn string The ARN of the IAM role that grants access to the DynamoDB table.
- Table
Name string The name of the DynamoDB table.
- Hash
Key stringType The hash key type. Valid values are “STRING” or “NUMBER”.
- Operation string
The operation. Valid values are “INSERT”, “UPDATE”, or “DELETE”.
- Payload
Field string The action payload.
- Range
Key stringField The range key name.
- Range
Key stringType The range key type. Valid values are “STRING” or “NUMBER”.
- Range
Key stringValue The range key value.
- hash
Key stringField The hash key name.
- hash
Key stringValue The hash key value.
- role
Arn string The ARN of the IAM role that grants access to the DynamoDB table.
- table
Name string The name of the DynamoDB table.
- hash
Key stringType The hash key type. Valid values are “STRING” or “NUMBER”.
- operation string
The operation. Valid values are “INSERT”, “UPDATE”, or “DELETE”.
- payload
Field string The action payload.
- range
Key stringField The range key name.
- range
Key stringType The range key type. Valid values are “STRING” or “NUMBER”.
- range
Key stringValue The range key value.
- hash
Key strField The hash key name.
- hash
Key strValue The hash key value.
- role_
arn str The ARN of the IAM role that grants access to the DynamoDB table.
- table_
name str The name of the DynamoDB table.
- hash
Key strType The hash key type. Valid values are “STRING” or “NUMBER”.
- operation str
The operation. Valid values are “INSERT”, “UPDATE”, or “DELETE”.
- payload
Field str The action payload.
- range
Key strField The range key name.
- range
Key strType The range key type. Valid values are “STRING” or “NUMBER”.
- range
Key strValue The range key value.
TopicRuleDynamodbv2
- Role
Arn string The IAM role ARN that allows access to the CloudWatch alarm.
- Put
Item TopicRule Dynamodbv2Put Item Args Configuration block with DynamoDB Table to which the message will be written. Nested arguments below.
- Role
Arn string The IAM role ARN that allows access to the CloudWatch alarm.
- Put
Item TopicRule Dynamodbv2Put Item Configuration block with DynamoDB Table to which the message will be written. Nested arguments below.
- role
Arn string The IAM role ARN that allows access to the CloudWatch alarm.
- put
Item TopicRule Dynamodbv2Put Item Configuration block with DynamoDB Table to which the message will be written. Nested arguments below.
- role_
arn str The IAM role ARN that allows access to the CloudWatch alarm.
- put
Item Dict[TopicRule Dynamodbv2Put Item] Configuration block with DynamoDB Table to which the message will be written. Nested arguments below.
TopicRuleDynamodbv2PutItem
- table_
name str The name of the DynamoDB table.
TopicRuleElasticsearch
- Endpoint string
The endpoint of your Elasticsearch domain.
- Id string
The unique identifier for the document you are storing.
- Index string
The Elasticsearch index where you want to store your data.
- Role
Arn string The IAM role ARN that has access to Elasticsearch.
- Type string
The type of document you are storing.
- Endpoint string
The endpoint of your Elasticsearch domain.
- Id string
The unique identifier for the document you are storing.
- Index string
The Elasticsearch index where you want to store your data.
- Role
Arn string The IAM role ARN that has access to Elasticsearch.
- Type string
The type of document you are storing.
- endpoint string
The endpoint of your Elasticsearch domain.
- id string
The unique identifier for the document you are storing.
- index string
The Elasticsearch index where you want to store your data.
- role
Arn string The IAM role ARN that has access to Elasticsearch.
- type string
The type of document you are storing.
TopicRuleErrorAction
- Cloudwatch
Alarm TopicRule Error Action Cloudwatch Alarm Args - Cloudwatch
Metric TopicRule Error Action Cloudwatch Metric Args - Dynamodb
Topic
Rule Error Action Dynamodb Args - Dynamodbv2
Topic
Rule Error Action Dynamodbv2Args - Elasticsearch
Topic
Rule Error Action Elasticsearch Args - Firehose
Topic
Rule Error Action Firehose Args - Iot
Analytics TopicRule Error Action Iot Analytics Args - Iot
Events TopicRule Error Action Iot Events Args - Kinesis
Topic
Rule Error Action Kinesis Args - Lambda
Topic
Rule Error Action Lambda Args - Republish
Topic
Rule Error Action Republish Args - S3
Topic
Rule Error Action S3Args - Sns
Topic
Rule Error Action Sns Args - Sqs
Topic
Rule Error Action Sqs Args - Step
Functions TopicRule Error Action Step Functions Args
- Cloudwatch
Alarm TopicRule Error Action Cloudwatch Alarm - Cloudwatch
Metric TopicRule Error Action Cloudwatch Metric - Dynamodb
Topic
Rule Error Action Dynamodb - Dynamodbv2
Topic
Rule Error Action Dynamodbv2 - Elasticsearch
Topic
Rule Error Action Elasticsearch - Firehose
Topic
Rule Error Action Firehose - Iot
Analytics TopicRule Error Action Iot Analytics - Iot
Events TopicRule Error Action Iot Events - Kinesis
Topic
Rule Error Action Kinesis - Lambda
Topic
Rule Error Action Lambda - Republish
Topic
Rule Error Action Republish - S3
Topic
Rule Error Action S3 - Sns
Topic
Rule Error Action Sns - Sqs
Topic
Rule Error Action Sqs - Step
Functions TopicRule Error Action Step Functions
- cloudwatch
Alarm TopicRule Error Action Cloudwatch Alarm - cloudwatch
Metric TopicRule Error Action Cloudwatch Metric - dynamodb
Topic
Rule Error Action Dynamodb - dynamodbv2
Topic
Rule Error Action Dynamodbv2 - elasticsearch
Topic
Rule Error Action Elasticsearch - firehose
Topic
Rule Error Action Firehose - iot
Analytics TopicRule Error Action Iot Analytics - iot
Events TopicRule Error Action Iot Events - kinesis
Topic
Rule Error Action Kinesis - lambda
Topic
Rule Error Action Lambda - republish
Topic
Rule Error Action Republish - s3
Topic
Rule Error Action S3 - sns
Topic
Rule Error Action Sns - sqs
Topic
Rule Error Action Sqs - step
Functions TopicRule Error Action Step Functions
- cloudwatch_
alarm Dict[TopicRule Error Action Cloudwatch Alarm] - cloudwatch_
metric Dict[TopicRule Error Action Cloudwatch Metric] - dynamodb
Dict[Topic
Rule Error Action Dynamodb] - dynamodbv2
Dict[Topic
Rule Error Action Dynamodbv2] - elasticsearch
Dict[Topic
Rule Error Action Elasticsearch] - firehose
Dict[Topic
Rule Error Action Firehose] - iot_
analytics Dict[TopicRule Error Action Iot Analytics] - iot_
events Dict[TopicRule Error Action Iot Events] - kinesis
Dict[Topic
Rule Error Action Kinesis] - lambda
Dict[Topic
Rule Error Action Lambda] - republish
Dict[Topic
Rule Error Action Republish] - s3
Dict[Topic
Rule Error Action S3] - sns
Dict[Topic
Rule Error Action Sns] - sqs
Dict[Topic
Rule Error Action Sqs] - step_
functions Dict[TopicRule Error Action Step Functions]
TopicRuleErrorActionCloudwatchAlarm
- Alarm
Name string The CloudWatch alarm name.
- Role
Arn string The IAM role ARN that allows access to the CloudWatch alarm.
- State
Reason string The reason for the alarm change.
- State
Value string The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.
- Alarm
Name string The CloudWatch alarm name.
- Role
Arn string The IAM role ARN that allows access to the CloudWatch alarm.
- State
Reason string The reason for the alarm change.
- State
Value string The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.
- alarm
Name string The CloudWatch alarm name.
- role
Arn string The IAM role ARN that allows access to the CloudWatch alarm.
- state
Reason string The reason for the alarm change.
- state
Value string The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.
- alarm
Name str The CloudWatch alarm name.
- role_
arn str The IAM role ARN that allows access to the CloudWatch alarm.
- state
Reason str The reason for the alarm change.
- state
Value str The value of the alarm state. Acceptable values are: OK, ALARM, INSUFFICIENT_DATA.
TopicRuleErrorActionCloudwatchMetric
- Metric
Name string The CloudWatch metric name.
- Metric
Namespace string The CloudWatch metric namespace name.
- Metric
Unit string The metric unit (supported units can be found here: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit)
- Metric
Value string The CloudWatch metric value.
- Role
Arn string The IAM role ARN that allows access to the CloudWatch metric.
- Metric
Timestamp string An optional Unix timestamp (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp).
- Metric
Name string The CloudWatch metric name.
- Metric
Namespace string The CloudWatch metric namespace name.
- Metric
Unit string The metric unit (supported units can be found here: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit)
- Metric
Value string The CloudWatch metric value.
- Role
Arn string The IAM role ARN that allows access to the CloudWatch metric.
- Metric
Timestamp string An optional Unix timestamp (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp).
- metric
Name string The CloudWatch metric name.
- metric
Namespace string The CloudWatch metric namespace name.
- metric
Unit string The metric unit (supported units can be found here: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit)
- metric
Value string The CloudWatch metric value.
- role
Arn string The IAM role ARN that allows access to the CloudWatch metric.
- metric
Timestamp string An optional Unix timestamp (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp).
- metric
Namespace str The CloudWatch metric namespace name.
- metric
Unit str The metric unit (supported units can be found here: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#Unit)
- metric
Value str The CloudWatch metric value.
- metric_
name str The CloudWatch metric name.
- role_
arn str The IAM role ARN that allows access to the CloudWatch metric.
- metric
Timestamp str An optional Unix timestamp (http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/cloudwatch_concepts.html#about_timestamp).
TopicRuleErrorActionDynamodb
- Hash
Key stringField The hash key name.
- Hash
Key stringValue The hash key value.
- Role
Arn string The ARN of the IAM role that grants access to the DynamoDB table.
- Table
Name string The name of the DynamoDB table.
- Hash
Key stringType The hash key type. Valid values are “STRING” or “NUMBER”.
- Operation string
The operation. Valid values are “INSERT”, “UPDATE”, or “DELETE”.
- Payload
Field string The action payload.
- Range
Key stringField The range key name.
- Range
Key stringType The range key type. Valid values are “STRING” or “NUMBER”.
- Range
Key stringValue The range key value.
- Hash
Key stringField The hash key name.
- Hash
Key stringValue The hash key value.
- Role
Arn string The ARN of the IAM role that grants access to the DynamoDB table.
- Table
Name string The name of the DynamoDB table.
- Hash
Key stringType The hash key type. Valid values are “STRING” or “NUMBER”.
- Operation string
The operation. Valid values are “INSERT”, “UPDATE”, or “DELETE”.
- Payload
Field string The action payload.
- Range
Key stringField The range key name.
- Range
Key stringType The range key type. Valid values are “STRING” or “NUMBER”.
- Range
Key stringValue The range key value.
- hash
Key stringField The hash key name.
- hash
Key stringValue The hash key value.
- role
Arn string The ARN of the IAM role that grants access to the DynamoDB table.
- table
Name string The name of the DynamoDB table.
- hash
Key stringType The hash key type. Valid values are “STRING” or “NUMBER”.
- operation string
The operation. Valid values are “INSERT”, “UPDATE”, or “DELETE”.
- payload
Field string The action payload.
- range
Key stringField The range key name.
- range
Key stringType The range key type. Valid values are “STRING” or “NUMBER”.
- range
Key stringValue The range key value.
- hash
Key strField The hash key name.
- hash
Key strValue The hash key value.
- role_
arn str The ARN of the IAM role that grants access to the DynamoDB table.
- table_
name str The name of the DynamoDB table.
- hash
Key strType The hash key type. Valid values are “STRING” or “NUMBER”.
- operation str
The operation. Valid values are “INSERT”, “UPDATE”, or “DELETE”.
- payload
Field str The action payload.
- range
Key strField The range key name.
- range
Key strType The range key type. Valid values are “STRING” or “NUMBER”.
- range
Key strValue The range key value.
TopicRuleErrorActionDynamodbv2
- Role
Arn string The IAM role ARN that allows access to the CloudWatch alarm.
- Put
Item TopicRule Error Action Dynamodbv2Put Item Args Configuration block with DynamoDB Table to which the message will be written. Nested arguments below.
- Role
Arn string The IAM role ARN that allows access to the CloudWatch alarm.
- Put
Item TopicRule Error Action Dynamodbv2Put Item Configuration block with DynamoDB Table to which the message will be written. Nested arguments below.
- role
Arn string The IAM role ARN that allows access to the CloudWatch alarm.
- put
Item TopicRule Error Action Dynamodbv2Put Item Configuration block with DynamoDB Table to which the message will be written. Nested arguments below.
- role_
arn str The IAM role ARN that allows access to the CloudWatch alarm.
- put
Item Dict[TopicRule Error Action Dynamodbv2Put Item] Configuration block with DynamoDB Table to which the message will be written. Nested arguments below.
TopicRuleErrorActionDynamodbv2PutItem
- table_
name str The name of the DynamoDB table.
TopicRuleErrorActionElasticsearch
- Endpoint string
The endpoint of your Elasticsearch domain.
- Id string
The unique identifier for the document you are storing.
- Index string
The Elasticsearch index where you want to store your data.
- Role
Arn string The IAM role ARN that has access to Elasticsearch.
- Type string
The type of document you are storing.
- Endpoint string
The endpoint of your Elasticsearch domain.
- Id string
The unique identifier for the document you are storing.
- Index string
The Elasticsearch index where you want to store your data.
- Role
Arn string The IAM role ARN that has access to Elasticsearch.
- Type string
The type of document you are storing.
- endpoint string
The endpoint of your Elasticsearch domain.
- id string
The unique identifier for the document you are storing.
- index string
The Elasticsearch index where you want to store your data.
- role
Arn string The IAM role ARN that has access to Elasticsearch.
- type string
The type of document you are storing.
TopicRuleErrorActionFirehose
- Delivery
Stream stringName The delivery stream name.
- Role
Arn string The IAM role ARN that grants access to the Amazon Kinesis Firehose stream.
- Separator string
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).
- Delivery
Stream stringName The delivery stream name.
- Role
Arn string The IAM role ARN that grants access to the Amazon Kinesis Firehose stream.
- Separator string
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).
- delivery
Stream stringName The delivery stream name.
- role
Arn string The IAM role ARN that grants access to the Amazon Kinesis Firehose stream.
- separator string
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).
- delivery
Stream strName The delivery stream name.
- role_
arn str The IAM role ARN that grants access to the Amazon Kinesis Firehose stream.
- separator str
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).
TopicRuleErrorActionIotAnalytics
- Channel
Name string Name of AWS IOT Analytics channel.
- Role
Arn string The ARN of the IAM role that grants access.
- Channel
Name string Name of AWS IOT Analytics channel.
- Role
Arn string The ARN of the IAM role that grants access.
- channel
Name string Name of AWS IOT Analytics channel.
- role
Arn string The ARN of the IAM role that grants access.
- channel
Name str Name of AWS IOT Analytics channel.
- role_
arn str The ARN of the IAM role that grants access.
TopicRuleErrorActionIotEvents
TopicRuleErrorActionKinesis
- Role
Arn string The ARN of the IAM role that grants access to the Amazon Kinesis stream.
- Stream
Name string The name of the Amazon Kinesis stream.
- Partition
Key string The partition key.
- Role
Arn string The ARN of the IAM role that grants access to the Amazon Kinesis stream.
- Stream
Name string The name of the Amazon Kinesis stream.
- Partition
Key string The partition key.
- role
Arn string The ARN of the IAM role that grants access to the Amazon Kinesis stream.
- stream
Name string The name of the Amazon Kinesis stream.
- partition
Key string The partition key.
- role_
arn str The ARN of the IAM role that grants access to the Amazon Kinesis stream.
- stream
Name str The name of the Amazon Kinesis stream.
- partition
Key str The partition key.
TopicRuleErrorActionLambda
- Function
Arn string The ARN of the Lambda function.
- Function
Arn string The ARN of the Lambda function.
- function
Arn string The ARN of the Lambda function.
- function_
arn str The ARN of the Lambda function.
TopicRuleErrorActionRepublish
TopicRuleErrorActionS3
TopicRuleErrorActionSns
- role_
arn str The ARN of the IAM role that grants access.
- target_
arn str The ARN of the SNS topic.
- message
Format str The message format of the message to publish. Accepted values are “JSON” and “RAW”.
TopicRuleErrorActionSqs
TopicRuleErrorActionStepFunctions
- Role
Arn string The ARN of the IAM role that grants access to start execution of the state machine.
- State
Machine stringName The name of the Step Functions state machine whose execution will be started.
- Execution
Name stringPrefix The prefix used to generate, along with a UUID, the unique state machine execution name.
- Role
Arn string The ARN of the IAM role that grants access to start execution of the state machine.
- State
Machine stringName The name of the Step Functions state machine whose execution will be started.
- Execution
Name stringPrefix The prefix used to generate, along with a UUID, the unique state machine execution name.
- role
Arn string The ARN of the IAM role that grants access to start execution of the state machine.
- state
Machine stringName The name of the Step Functions state machine whose execution will be started.
- execution
Name stringPrefix The prefix used to generate, along with a UUID, the unique state machine execution name.
- role_
arn str The ARN of the IAM role that grants access to start execution of the state machine.
- state
Machine strName The name of the Step Functions state machine whose execution will be started.
- execution
Name strPrefix The prefix used to generate, along with a UUID, the unique state machine execution name.
TopicRuleFirehose
- Delivery
Stream stringName The delivery stream name.
- Role
Arn string The IAM role ARN that grants access to the Amazon Kinesis Firehose stream.
- Separator string
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).
- Delivery
Stream stringName The delivery stream name.
- Role
Arn string The IAM role ARN that grants access to the Amazon Kinesis Firehose stream.
- Separator string
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).
- delivery
Stream stringName The delivery stream name.
- role
Arn string The IAM role ARN that grants access to the Amazon Kinesis Firehose stream.
- separator string
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).
- delivery
Stream strName The delivery stream name.
- role_
arn str The IAM role ARN that grants access to the Amazon Kinesis Firehose stream.
- separator str
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).
TopicRuleIotAnalytic
- Channel
Name string Name of AWS IOT Analytics channel.
- Role
Arn string The ARN of the IAM role that grants access.
- Channel
Name string Name of AWS IOT Analytics channel.
- Role
Arn string The ARN of the IAM role that grants access.
- channel
Name string Name of AWS IOT Analytics channel.
- role
Arn string The ARN of the IAM role that grants access.
- channel
Name str Name of AWS IOT Analytics channel.
- role_
arn str The ARN of the IAM role that grants access.
TopicRuleIotEvent
TopicRuleKinesis
- Role
Arn string The ARN of the IAM role that grants access to the Amazon Kinesis stream.
- Stream
Name string The name of the Amazon Kinesis stream.
- Partition
Key string The partition key.
- Role
Arn string The ARN of the IAM role that grants access to the Amazon Kinesis stream.
- Stream
Name string The name of the Amazon Kinesis stream.
- Partition
Key string The partition key.
- role
Arn string The ARN of the IAM role that grants access to the Amazon Kinesis stream.
- stream
Name string The name of the Amazon Kinesis stream.
- partition
Key string The partition key.
- role_
arn str The ARN of the IAM role that grants access to the Amazon Kinesis stream.
- stream
Name str The name of the Amazon Kinesis stream.
- partition
Key str The partition key.
TopicRuleLambda
- Function
Arn string The ARN of the Lambda function.
- Function
Arn string The ARN of the Lambda function.
- function
Arn string The ARN of the Lambda function.
- function_
arn str The ARN of the Lambda function.
TopicRuleRepublish
TopicRuleS3
TopicRuleSns
- role_
arn str The ARN of the IAM role that grants access.
- target_
arn str The ARN of the SNS topic.
- message
Format str The message format of the message to publish. Accepted values are “JSON” and “RAW”.
TopicRuleSqs
TopicRuleStepFunction
- Role
Arn string The ARN of the IAM role that grants access to start execution of the state machine.
- State
Machine stringName The name of the Step Functions state machine whose execution will be started.
- Execution
Name stringPrefix The prefix used to generate, along with a UUID, the unique state machine execution name.
- Role
Arn string The ARN of the IAM role that grants access to start execution of the state machine.
- State
Machine stringName The name of the Step Functions state machine whose execution will be started.
- Execution
Name stringPrefix The prefix used to generate, along with a UUID, the unique state machine execution name.
- role
Arn string The ARN of the IAM role that grants access to start execution of the state machine.
- state
Machine stringName The name of the Step Functions state machine whose execution will be started.
- execution
Name stringPrefix The prefix used to generate, along with a UUID, the unique state machine execution name.
- role_
arn str The ARN of the IAM role that grants access to start execution of the state machine.
- state
Machine strName The name of the Step Functions state machine whose execution will be started.
- execution
Name strPrefix The prefix used to generate, along with a UUID, the unique state machine execution name.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.