Class CfnLoggingProps
Properties for defining a CfnLogging
.
Inheritance
System.Object
CfnLoggingProps
Implements
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLoggingProps : Object, ICfnLoggingProps
Syntax (vb)
Public Class CfnLoggingProps
Inherits Object
Implements ICfnLoggingProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-logging.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 cfnLoggingProps = new CfnLoggingProps {
AccountId = "accountId",
DefaultLogLevel = "defaultLogLevel",
RoleArn = "roleArn"
};
Synopsis
Constructors
CfnLoggingProps() |
Properties
AccountId | The account ID. |
DefaultLogLevel | The default log level. |
RoleArn | The role ARN used for the log. |
Constructors
CfnLoggingProps()
public CfnLoggingProps()
Properties
AccountId
The account ID.
public string AccountId { get; set; }
Property Value
System.String
Remarks
DefaultLogLevel
The default log level.
public string DefaultLogLevel { get; set; }
Property Value
System.String
Remarks
Valid Values: DEBUG | INFO | ERROR | WARN | DISABLED
RoleArn
The role ARN used for the log.
public string RoleArn { get; set; }
Property Value
System.String