Interface CfnExperimentTemplateProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnExperimentTemplateProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-11T18:01:16.352Z")
@Stability(Stable)
public interface CfnExperimentTemplateProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
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()) .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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnExperimentTemplateProps
static final class
An implementation forCfnExperimentTemplateProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The actions for the experiment.The description for the experiment template.default Object
The experiment options for an experiment template.default Object
The 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.- See Also:
-
getTargets
The targets for the experiment.- See Also:
-
getActions
The actions for the experiment.- See Also:
-
getExperimentOptions
The experiment options for an experiment template.- See Also:
-
getLogConfiguration
The configuration for experiment logging.- See Also:
-
getTags
The tags for the experiment template.- See Also:
-
builder
- Returns:
- a
CfnExperimentTemplateProps.Builder
ofCfnExperimentTemplateProps
-