Skip to content
v2.277.0

ErrorLogSettingsProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lex as lex } from 'aws-cdk-lib';
const errorLogSettingsProperty: lex.CfnBot.ErrorLogSettingsProperty = {
  enabled: false,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lex as lex

error_log_settings_property = lex.CfnBot.ErrorLogSettingsProperty(
    enabled=False
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lex.*;

ErrorLogSettingsProperty errorLogSettingsProperty = ErrorLogSettingsProperty.builder()
        .enabled(false)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;

var errorLogSettingsProperty = new ErrorLogSettingsProperty {
    Enabled = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

errorLogSettingsProperty := &ErrorLogSettingsProperty{
	Enabled: jsii.Boolean(false),
}

Properties ​

enabledboolean | IResolvableenabledtyping.Union[bool, IResolvable]enabledBooleanEnabledboolEnabledinterface{}required#