interface CloudWatchLogsActionProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoT.Actions.CloudWatchLogsActionProps |
Java | software.amazon.awscdk.services.iot.actions.CloudWatchLogsActionProps |
Python | aws_cdk.aws_iot_actions.CloudWatchLogsActionProps |
TypeScript (source) | @aws-cdk/aws-iot-actions 禄 CloudWatchLogsActionProps |
Configuration properties of an action for CloudWatch Logs.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iam from '@aws-cdk/aws-iam';
import * as iot_actions from '@aws-cdk/aws-iot-actions';
declare const role: iam.Role;
const cloudWatchLogsActionProps: iot_actions.CloudWatchLogsActionProps = {
role: role,
};
Properties
Name | Type | Description |
---|---|---|
role? | IRole | The IAM role that allows access to AWS service. |
role?
Type:
IRole
(optional, default: a new role will be created)
The IAM role that allows access to AWS service.