Class CfnTopicRule.CloudwatchLogsActionProperty
Describes an action that updates a CloudWatch log.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTopicRule.CloudwatchLogsActionProperty : CfnTopicRule.ICloudwatchLogsActionProperty
Syntax (vb)
Public Class CfnTopicRule.CloudwatchLogsActionProperty Implements CfnTopicRule.ICloudwatchLogsActionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var cloudwatchLogsActionProperty = new CloudwatchLogsActionProperty {
LogGroupName = "logGroupName",
RoleArn = "roleArn",
// the properties below are optional
BatchMode = false
};
Synopsis
Constructors
CloudwatchLogsActionProperty() | Describes an action that updates a CloudWatch log. |
Properties
BatchMode | Indicates whether batches of log records will be extracted and uploaded into CloudWatch. |
LogGroupName | The CloudWatch log name. |
RoleArn | The IAM role that allows access to the CloudWatch log. |
Constructors
CloudwatchLogsActionProperty()
Describes an action that updates a CloudWatch log.
public CloudwatchLogsActionProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var cloudwatchLogsActionProperty = new CloudwatchLogsActionProperty {
LogGroupName = "logGroupName",
RoleArn = "roleArn",
// the properties below are optional
BatchMode = false
};
Properties
BatchMode
Indicates whether batches of log records will be extracted and uploaded into CloudWatch.
public object? BatchMode { get; set; }
Property Value
Remarks
LogGroupName
The CloudWatch log name.
public string LogGroupName { get; set; }
Property Value
Remarks
RoleArn
The IAM role that allows access to the CloudWatch log.
public string RoleArn { get; set; }