Class CfnLoggingProps
Properties for defining a CfnLogging
.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLoggingProps : ICfnLoggingProps
Syntax (vb)
Public Class CfnLoggingProps 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 for defining a |
Properties
AccountId | The account ID. |
DefaultLogLevel | The default log level. |
RoleArn | The role ARN used for the log. |
Constructors
CfnLoggingProps()
Properties for defining a CfnLogging
.
public CfnLoggingProps()
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"
};
Properties
AccountId
The account ID.
public string AccountId { get; set; }
Property Value
Remarks
DefaultLogLevel
The default log level.
public string DefaultLogLevel { get; set; }
Property Value
Remarks
Valid Values: DEBUG | INFO | ERROR | WARN | DISABLED
RoleArn
The role ARN used for the log.
public string RoleArn { get; set; }