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