Show / Hide Table of Contents

Class CfnTopicRule.CloudwatchLogsActionProperty

Describes an action that updates a CloudWatch log.

Inheritance
object
CfnTopicRule.CloudwatchLogsActionProperty
Implements
CfnTopicRule.ICloudwatchLogsActionProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchlogsaction.html

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchlogsaction.html

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchlogsaction.html#cfn-iot-topicrule-cloudwatchlogsaction-batchmode

LogGroupName

The CloudWatch log name.

public string LogGroupName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchlogsaction.html#cfn-iot-topicrule-cloudwatchlogsaction-loggroupname

RoleArn

The IAM role that allows access to the CloudWatch log.

public string RoleArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-cloudwatchlogsaction.html#cfn-iot-topicrule-cloudwatchlogsaction-rolearn

Implements

CfnTopicRule.ICloudwatchLogsActionProperty
Back to top Generated by DocFX