Interface CfnExperimentTemplateProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnExperimentTemplateProps.Jsii$Proxy
CfnExperimentTemplate.
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()))
.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()))
.experimentOptions(ExperimentTemplateExperimentOptionsProperty.builder()
.accountTargeting("accountTargeting")
.emptyTargetResolutionMode("emptyTargetResolutionMode")
.build())
.experimentReportConfiguration(ExperimentTemplateExperimentReportConfigurationProperty.builder()
.outputs(OutputsProperty.builder()
.experimentReportS3Configuration(ExperimentReportS3ConfigurationProperty.builder()
.bucketName("bucketName")
// the properties below are optional
.prefix("prefix")
.build())
.build())
// the properties below are optional
.dataSources(DataSourcesProperty.builder()
.cloudWatchDashboards(List.of(CloudWatchDashboardProperty.builder()
.dashboardIdentifier("dashboardIdentifier")
.build()))
.build())
.postExperimentDuration("postExperimentDuration")
.preExperimentDuration("preExperimentDuration")
.build())
.logConfiguration(ExperimentTemplateLogConfigurationProperty.builder()
.logSchemaVersion(123)
// the properties below are optional
.cloudWatchLogsConfiguration(cloudWatchLogsConfiguration)
.s3Configuration(s3Configuration)
.build())
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnExperimentTemplatePropsstatic final classAn implementation forCfnExperimentTemplateProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe actions for the experiment.The description for the experiment template.default ObjectThe experiment options for an experiment template.default ObjectDescribes the report configuration for the experiment template.default ObjectThe configuration for experiment logging.The Amazon Resource Name (ARN) of an IAM role.The stop conditions for the experiment.getTags()The tags for the experiment template.The targets for the experiment.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
The description for the experiment template.- See Also:
-
getRoleArn
The Amazon Resource Name (ARN) of an IAM role.- See Also:
-
getStopConditions
The stop conditions for the experiment.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnExperimentTemplate.ExperimentTemplateStopConditionProperty>- See Also:
-
getTargets
The targets for the experiment.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnExperimentTemplate.ExperimentTemplateTargetProperty>- See Also:
-
getActions
The actions for the experiment.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnExperimentTemplate.ExperimentTemplateActionProperty>- See Also:
-
getExperimentOptions
The experiment options for an experiment template.Returns union: either
IResolvableorCfnExperimentTemplate.ExperimentTemplateExperimentOptionsProperty- See Also:
-
getExperimentReportConfiguration
Describes the report configuration for the experiment template.Returns union: either
IResolvableorCfnExperimentTemplate.ExperimentTemplateExperimentReportConfigurationProperty- See Also:
-
getLogConfiguration
The configuration for experiment logging.Returns union: either
IResolvableorCfnExperimentTemplate.ExperimentTemplateLogConfigurationProperty- See Also:
-
getTags
The tags for the experiment template.- See Also:
-
builder
- Returns:
- a
CfnExperimentTemplateProps.BuilderofCfnExperimentTemplateProps
-