interface SqsActionProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.IoT.CfnTopicRule.SqsActionProperty | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnTopicRule_SqsActionProperty | 
|  Java | software.amazon.awscdk.services.iot.CfnTopicRule.SqsActionProperty | 
|  Python | aws_cdk.aws_iot.CfnTopicRule.SqsActionProperty | 
|  TypeScript | aws-cdk-lib»aws_iot»CfnTopicRule»SqsActionProperty | 
Describes an action to publish data to an Amazon SQS queue.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const sqsActionProperty: iot.CfnTopicRule.SqsActionProperty = {
  queueUrl: 'queueUrl',
  roleArn: 'roleArn',
  // the properties below are optional
  useBase64: false,
};
Properties
| Name | Type | Description | 
|---|---|---|
| queue | string | The URL of the Amazon SQS queue. | 
| role | string | The ARN of the IAM role that grants access. | 
| use | boolean | IResolvable | Specifies whether to use Base64 encoding. | 
queueUrl
Type:
string
The URL of the Amazon SQS queue.
roleArn
Type:
string
The ARN of the IAM role that grants access.
useBase64?
Type:
boolean | IResolvable
(optional)
Specifies whether to use Base64 encoding.
