@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.382Z") @Stability(value=Stable) public interface CfnExperimentTemplateProps 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;
CfnExperimentTemplateProps cfnExperimentTemplateProps = CfnExperimentTemplateProps.builder()
.description("description")
.roleArn("roleArn")
.stopConditions(List.of(ExperimentTemplateStopConditionProperty.builder()
.source("source")
// the properties below are optional
.value("value")
.build()))
.tags(Map.of(
"tagsKey", "tags"))
.targets(Map.of(
"targetsKey", ExperimentTemplateTargetProperty.builder()
.resourceType("resourceType")
.selectionMode("selectionMode")
// the properties below are optional
.filters(List.of(ExperimentTemplateTargetFilterProperty.builder()
.path("path")
.values(List.of("values"))
.build()))
.parameters(Map.of(
"parametersKey", "parameters"))
.resourceArns(List.of("resourceArns"))
.resourceTags(Map.of(
"resourceTagsKey", "resourceTags"))
.build()))
// the properties below are optional
.actions(Map.of(
"actionsKey", ExperimentTemplateActionProperty.builder()
.actionId("actionId")
// the properties below are optional
.description("description")
.parameters(Map.of(
"parametersKey", "parameters"))
.startAfter(List.of("startAfter"))
.targets(Map.of(
"targetsKey", "targets"))
.build()))
.logConfiguration(ExperimentTemplateLogConfigurationProperty.builder()
.logSchemaVersion(123)
// the properties below are optional
.cloudWatchLogsConfiguration(cloudWatchLogsConfiguration)
.s3Configuration(s3Configuration)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnExperimentTemplateProps.Builder
A builder for
CfnExperimentTemplateProps |
static class |
CfnExperimentTemplateProps.Jsii$Proxy
An implementation for
CfnExperimentTemplateProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnExperimentTemplateProps.Builder |
builder() |
default Object |
getActions()
The actions for the experiment.
|
String |
getDescription()
A description for the experiment template.
|
default Object |
getLogConfiguration()
The configuration for experiment logging.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
|
Object |
getStopConditions()
The stop conditions.
|
Map<String,String> |
getTags()
The tags to apply to the experiment template.
|
Object |
getTargets()
The targets for the experiment.
|
@Stability(value=Stable) @NotNull String getDescription()
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @NotNull Object getStopConditions()
@Stability(value=Stable) @NotNull Map<String,String> getTags()
@Stability(value=Stable) @NotNull Object getTargets()
@Stability(value=Stable) @Nullable default Object getActions()
@Stability(value=Stable) @Nullable default Object getLogConfiguration()
@Stability(value=Stable) static CfnExperimentTemplateProps.Builder builder()
CfnExperimentTemplateProps.Builder of CfnExperimentTemplatePropsCopyright © 2022. All rights reserved.