aws-cdk-lib.aws_fis.CfnExperimentTemplateProps

interface CfnExperimentTemplateProps

LanguageType name
.NETAmazon.CDK.AWS.FIS.CfnExperimentTemplateProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsfis#CfnExperimentTemplateProps
Javasoftware.amazon.awscdk.services.fis.CfnExperimentTemplateProps
Pythonaws_cdk.aws_fis.CfnExperimentTemplateProps
TypeScript aws-cdk-lib » aws_fis » CfnExperimentTemplateProps

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 { aws_fis as fis } from 'aws-cdk-lib';

declare const cloudWatchLogsConfiguration: any;
declare const s3Configuration: any;
const cfnExperimentTemplateProps: fis.CfnExperimentTemplateProps = {
  description: 'description',
  roleArn: 'roleArn',
  stopConditions: [{
    source: 'source',

    // the properties below are optional
    value: 'value',
  }],
  tags: {
    tagsKey: 'tags',
  },
  targets: {
    targetsKey: {
      resourceType: 'resourceType',
      selectionMode: 'selectionMode',

      // the properties below are optional
      filters: [{
        path: 'path',
        values: ['values'],
      }],
      parameters: {
        parametersKey: 'parameters',
      },
      resourceArns: ['resourceArns'],
      resourceTags: {
        resourceTagsKey: 'resourceTags',
      },
    },
  },

  // the properties below are optional
  actions: {
    actionsKey: {
      actionId: 'actionId',

      // the properties below are optional
      description: 'description',
      parameters: {
        parametersKey: 'parameters',
      },
      startAfter: ['startAfter'],
      targets: {
        targetsKey: 'targets',
      },
    },
  },
  logConfiguration: {
    logSchemaVersion: 123,

    // the properties below are optional
    cloudWatchLogsConfiguration: cloudWatchLogsConfiguration,
    s3Configuration: s3Configuration,
  },
};

Properties

NameTypeDescription
descriptionstringA description for the experiment template.
roleArnstringThe Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
stopConditionsIResolvable | IResolvable | ExperimentTemplateStopConditionProperty[]The stop conditions.
tags{ [string]: string }The tags to apply to the experiment template.
targetsIResolvable | { [string]: IResolvable | ExperimentTemplateTargetProperty }The targets for the experiment.
actions?IResolvable | { [string]: IResolvable | ExperimentTemplateActionProperty }The actions for the experiment.
logConfiguration?IResolvable | ExperimentTemplateLogConfigurationPropertyThe configuration for experiment logging.

description

Type: string

A description for the experiment template.


roleArn

Type: string

The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.


stopConditions

Type: IResolvable | IResolvable | ExperimentTemplateStopConditionProperty[]

The stop conditions.


tags

Type: { [string]: string }

The tags to apply to the experiment template.


targets

Type: IResolvable | { [string]: IResolvable | ExperimentTemplateTargetProperty }

The targets for the experiment.


actions?

Type: IResolvable | { [string]: IResolvable | ExperimentTemplateActionProperty } (optional)

The actions for the experiment.


logConfiguration?

Type: IResolvable | ExperimentTemplateLogConfigurationProperty (optional)

The configuration for experiment logging.