public static interface CfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty
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 java.lang.Object |
getCloudWatchLogsConfiguration()
The configuration for experiment logging to Amazon CloudWatch Logs.
|
java.lang.Number |
getLogSchemaVersion()
The schema version.
|
default java.lang.Object |
getS3Configuration()
The configuration for experiment logging to Amazon S3.
|
java.lang.Number getLogSchemaVersion()
The supported value is 1.
default java.lang.Object getCloudWatchLogsConfiguration()
{"LogGroupArn": "aws:arn:logs: *region_name* : *account_id* :log-group: *log_group_name* "}
default java.lang.Object getS3Configuration()
bucketName
- The name of the destination bucket.prefix
- An optional bucket prefix.For example:
{"BucketName": " *my-s3-bucket* ", "Prefix": " *log-folder* "}