@Stability(value=Stable)
public static interface CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.Builder
|
static class |
CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.Jsii$Proxy
An implementation for
CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.Builder |
builder() |
default Object |
getCloudWatchLogsConfiguration()
The configuration for experiment logging to Amazon CloudWatch Logs.
|
Number |
getLogSchemaVersion()
The schema version.
|
default Object |
getS3Configuration()
The configuration for experiment logging to Amazon S3.
|
@Stability(value=Stable) @NotNull Number getLogSchemaVersion()
The supported value is 1.
@Stability(value=Stable) @Nullable default Object getCloudWatchLogsConfiguration()
{"LogGroupArn": "aws:arn:logs: *region_name* : *account_id* :log-group: *log_group_name* "}
@Stability(value=Stable) @Nullable default Object getS3Configuration()
bucketName - The name of the destination bucket.prefix - An optional bucket prefix.For example:
{"BucketName": " *my-s3-bucket* ", "Prefix": " *log-folder* "}
@Stability(value=Stable) static CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.