Interface CfnExperimentTemplateProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnExperimentTemplateProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:56.753Z")
@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())) .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();
-
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.A description for the experiment template.default Object
The configuration for experiment logging.The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.The stop conditions.getTags()
The tags to apply to the experiment template.The targets for the experiment.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
A description for the experiment template. -
getRoleArn
The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf. -
getStopConditions
The stop conditions. -
getTags
The tags to apply to the experiment template. -
getTargets
The targets for the experiment. -
getActions
The actions for the experiment. -
getLogConfiguration
The configuration for experiment logging. -
builder
- Returns:
- a
CfnExperimentTemplateProps.Builder
ofCfnExperimentTemplateProps
-