Class CfnLoggingMixinProps
Properties for CfnLoggingPropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.IoT
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnLoggingMixinProps : ICfnLoggingMixinProps
Syntax (vb)
Public Class CfnLoggingMixinProps Implements ICfnLoggingMixinProps
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.CfnPropertyMixins.AWS.IoT;
var cfnLoggingMixinProps = new CfnLoggingMixinProps {
AccountId = "accountId",
DefaultLogLevel = "defaultLogLevel",
EventConfigurations = new [] { new EventConfigurationProperty {
EventType = "eventType",
LogDestination = "logDestination",
LogLevel = "logLevel"
} },
RoleArn = "roleArn"
};
Synopsis
Constructors
| CfnLoggingMixinProps() | Properties for CfnLoggingPropsMixin. |
Properties
| AccountId | The account ID. |
| DefaultLogLevel | The default log level. |
| EventConfigurations | Configurations for event-based logging that specifies which event types to log and their logging settings. |
| RoleArn | The role ARN used for the log. |
Constructors
CfnLoggingMixinProps()
Properties for CfnLoggingPropsMixin.
public CfnLoggingMixinProps()
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.CfnPropertyMixins.AWS.IoT;
var cfnLoggingMixinProps = new CfnLoggingMixinProps {
AccountId = "accountId",
DefaultLogLevel = "defaultLogLevel",
EventConfigurations = new [] { new EventConfigurationProperty {
EventType = "eventType",
LogDestination = "logDestination",
LogLevel = "logLevel"
} },
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
EventConfigurations
Configurations for event-based logging that specifies which event types to log and their logging settings.
public object? EventConfigurations { get; set; }
Property Value
Remarks
Overrides account-level logging for the specified event
Type union: either IResolvable or (either IResolvable or CfnLoggingPropsMixin.IEventConfigurationProperty)[]
RoleArn
The role ARN used for the log.
public object? RoleArn { get; set; }
Property Value
Remarks
Type union: either string or IRoleRef