@aws-cdk_aws-iotevents-alpha.ActionBindOptions

interface ActionBindOptions 🔹

LanguageType name
.NETAmazon.CDK.AWS.IoTEvents.Alpha.ActionBindOptions
Gogithub.com/aws/aws-cdk-go/awscdkioteventsalpha/v2#ActionBindOptions
Javasoftware.amazon.awscdk.services.iotevents.alpha.ActionBindOptions
Pythonaws_cdk.aws_iotevents_alpha.ActionBindOptions
TypeScript (source)@aws-cdk/aws-iotevents-alpha » ActionBindOptions

Options when binding a Action to a detector model.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iotevents_alpha from '@aws-cdk/aws-iotevents-alpha';
import { aws_iam as iam } from 'aws-cdk-lib';

declare const role: iam.Role;
const actionBindOptions: iotevents_alpha.ActionBindOptions = {
  role: role,
};

Properties

NameTypeDescription
role🔹IRoleThe IAM role assumed by IoT Events to perform the action.

role🔹

Type: IRole

The IAM role assumed by IoT Events to perform the action.