Interface CfnTopicRule.ICloudwatchLogsActionProperty
Describes an action that updates a CloudWatch log.
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICloudwatchLogsActionProperty
Syntax (vb)
Public Interface 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
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. |
Properties
BatchMode
Indicates whether batches of log records will be extracted and uploaded into CloudWatch.
virtual object BatchMode { get; }
Property Value
System.Object
Remarks
LogGroupName
The CloudWatch log name.
string LogGroupName { get; }
Property Value
System.String
Remarks
RoleArn
The IAM role that allows access to the CloudWatch log.
string RoleArn { get; }
Property Value
System.String