aws-cdk-lib.aws_iot.CfnTopicRule.SqsActionProperty

interface SqsActionProperty

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnTopicRule.SqsActionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnTopicRule_SqsActionProperty
Javasoftware.amazon.awscdk.services.iot.CfnTopicRule.SqsActionProperty
Pythonaws_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

NameTypeDescription
queueUrlstringThe URL of the Amazon SQS queue.
roleArnstringThe ARN of the IAM role that grants access.
useBase64?boolean | IResolvableSpecifies 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.