Class CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty
Specifies the configuration for experiment logging.
Inherited Members
Namespace: Amazon.CDK.AWS.FIS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty : CfnExperimentTemplate.IExperimentTemplateLogConfigurationProperty
Syntax (vb)
Public Class CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty Implements CfnExperimentTemplate.IExperimentTemplateLogConfigurationProperty
Remarks
For more information, see Experiment logging in the AWS Fault Injection Service User Guide .
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.FIS;
var cloudWatchLogsConfiguration;
var s3Configuration;
var experimentTemplateLogConfigurationProperty = new ExperimentTemplateLogConfigurationProperty {
LogSchemaVersion = 123,
// the properties below are optional
CloudWatchLogsConfiguration = cloudWatchLogsConfiguration,
S3Configuration = s3Configuration
};
Synopsis
Constructors
ExperimentTemplateLogConfigurationProperty() | Specifies the configuration for experiment logging. |
Properties
CloudWatchLogsConfiguration | The configuration for experiment logging to CloudWatch Logs . |
LogSchemaVersion | The schema version. |
S3Configuration | The configuration for experiment logging to Amazon S3 . |
Constructors
ExperimentTemplateLogConfigurationProperty()
Specifies the configuration for experiment logging.
public ExperimentTemplateLogConfigurationProperty()
Remarks
For more information, see Experiment logging in the AWS Fault Injection Service User Guide .
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.FIS;
var cloudWatchLogsConfiguration;
var s3Configuration;
var experimentTemplateLogConfigurationProperty = new ExperimentTemplateLogConfigurationProperty {
LogSchemaVersion = 123,
// the properties below are optional
CloudWatchLogsConfiguration = cloudWatchLogsConfiguration,
S3Configuration = s3Configuration
};
Properties
CloudWatchLogsConfiguration
The configuration for experiment logging to CloudWatch Logs .
public object? CloudWatchLogsConfiguration { get; set; }
Property Value
Remarks
LogSchemaVersion
The schema version.
public double LogSchemaVersion { get; set; }
Property Value
Remarks
S3Configuration
The configuration for experiment logging to Amazon S3 .
public object? S3Configuration { get; set; }