ExperimentTemplateLogConfigurationProperty
Struct External
Specifies the configuration for experiment logging.
For more information, see Experiment logging in the AWS Fault Injection Service User Guide .
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_fis as fis } from 'aws-cdk-lib';
declare const cloudWatchLogsConfiguration: any;
declare const s3Configuration: any;
const experimentTemplateLogConfigurationProperty: fis.CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty = {
logSchemaVersion: 123,
// the properties below are optional
cloudWatchLogsConfiguration: cloudWatchLogsConfiguration,
s3Configuration: s3Configuration,
};
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_fis as fis
# cloud_watch_logs_configuration: Any
# s3_configuration: Any
experiment_template_log_configuration_property = fis.CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty(
log_schema_version=123,
# the properties below are optional
cloud_watch_logs_configuration=cloud_watch_logs_configuration,
s3_configuration=s3_configuration
)
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.fis.*;
Object cloudWatchLogsConfiguration;
Object s3Configuration;
ExperimentTemplateLogConfigurationProperty experimentTemplateLogConfigurationProperty = ExperimentTemplateLogConfigurationProperty.builder()
.logSchemaVersion(123)
// the properties below are optional
.cloudWatchLogsConfiguration(cloudWatchLogsConfiguration)
.s3Configuration(s3Configuration)
.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.FIS;
var cloudWatchLogsConfiguration;
var s3Configuration;
var experimentTemplateLogConfigurationProperty = new ExperimentTemplateLogConfigurationProperty {
LogSchemaVersion = 123,
// the properties below are optional
CloudWatchLogsConfiguration = cloudWatchLogsConfiguration,
S3Configuration = s3Configuration
};
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"
var cloudWatchLogsConfiguration interface{}
var s3Configuration interface{}
experimentTemplateLogConfigurationProperty := &ExperimentTemplateLogConfigurationProperty{
LogSchemaVersion: jsii.Number(123),
// the properties below are optional
CloudWatchLogsConfiguration: cloudWatchLogsConfiguration,
S3Configuration: s3Configuration,
}
Properties
cloudWatchLogsConfigurationoptionalanycloud_watch_logs_configurationoptionalAnycloudWatchLogsConfigurationoptionalObjectCloudWatchLogsConfigurationoptionalobjectCloudWatchLogsConfigurationoptionalinterface{} #The configuration for experiment logging to CloudWatch Logs .
logSchemaVersionnumberlog_schema_versionint | floatlogSchemaVersionNumberLogSchemaVersiondoubleLogSchemaVersion*float64 required #The schema version.
s3Configurationoptionalanys3_configurationoptionalAnys3ConfigurationoptionalObjectS3ConfigurationoptionalobjectS3Configurationoptionalinterface{} #The configuration for experiment logging to Amazon S3 .