interface SqsActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoT.Mixins.CfnTopicRulePropsMixin.SqsActionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiot/mixins#CfnTopicRulePropsMixin_SqsActionProperty |
Java | software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnTopicRulePropsMixin.SqsActionProperty |
Python | aws_cdk.mixins_preview.aws_iot.mixins.CfnTopicRulePropsMixin.SqsActionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iot » mixins » CfnTopicRulePropsMixin » 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 { mixins as iot_mixins } from '@aws-cdk/mixins-preview/aws-iot';
const sqsActionProperty: iot_mixins.CfnTopicRulePropsMixin.SqsActionProperty = {
queueUrl: 'queueUrl',
roleArn: 'roleArn',
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
(optional)
The URL of the Amazon SQS queue.
roleArn?
Type:
string
(optional)
The ARN of the IAM role that grants access.
useBase64?
Type:
boolean | IResolvable
(optional)
Specifies whether to use Base64 encoding.

.NET
Go
Java
Python
TypeScript