/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ export type ExperimentTemplateId = string; /** * A description for the experiment template. */ export type ExperimentTemplateDescription = string; /** * The AWS resource type. The resource type must be supported for the specified action. */ export type ResourceType = string; export type ResourceArn = string; /** * The Amazon Resource Names (ARNs) of the target resources. */ export type ResourceArnList = ResourceArn[]; /** * The attribute path for the filter. */ export type ExperimentTemplateTargetFilterPath = string; export type ExperimentTemplateTargetFilterValue = string; /** * The attribute values for the filter. */ export type ExperimentTemplateTargetFilterValues = ExperimentTemplateTargetFilterValue[]; export type ExperimentTemplateTargetFilterList = ExperimentTemplateTargetFilter[]; /** * Scopes the identified resources to a specific number of the resources at random, or a percentage of the resources. */ export type ExperimentTemplateTargetSelectionMode = string; /** * The ID of the action. */ export type ActionId = string; /** * A description for the action. */ export type ExperimentTemplateActionItemDescription = string; /** * This interface was referenced by `undefined`'s JSON-Schema definition * via the `patternProperty` ".{1,64}". */ export type ExperimentTemplateActionItemParameter = string; /** * This interface was referenced by `undefined`'s JSON-Schema definition * via the `patternProperty` ".{1,64}". */ export type ExperimentTemplateActionItemTarget = string; export type ExperimentTemplateActionItemStartAfter = string; /** * The names of the actions that must be completed before the current action starts. */ export type ExperimentTemplateActionItemStartAfterList = ExperimentTemplateActionItemStartAfter[]; export type StopConditionSource = string; export type StopConditionValue = string; /** * One or more stop conditions. */ export type ExperimentTemplateStopConditionList = ExperimentTemplateStopCondition[]; /** * The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf. */ export type RoleArn = string; /** * Resource schema for AWS::FIS::ExperimentTemplate */ export interface AwsFisExperimenttemplate { Id?: ExperimentTemplateId; Description: ExperimentTemplateDescription; Targets: ExperimentTemplateTargetMap; Actions?: ExperimentTemplateActionMap; StopConditions: ExperimentTemplateStopConditionList; LogConfiguration?: ExperimentTemplateLogConfiguration; RoleArn: RoleArn; Tags: { /** * This interface was referenced by `undefined`'s JSON-Schema definition * via the `patternProperty` ".{1,128}". */ [k: string]: string; }; } /** * The targets for the experiment. */ export interface ExperimentTemplateTargetMap { [k: string]: ExperimentTemplateTarget; } /** * Specifies a target for an experiment. * * This interface was referenced by `ExperimentTemplateTargetMap`'s JSON-Schema definition * via the `patternProperty` ".{1,64}". */ export interface ExperimentTemplateTarget { ResourceType: ResourceType; ResourceArns?: ResourceArnList; ResourceTags?: { /** * This interface was referenced by `undefined`'s JSON-Schema definition * via the `patternProperty` ".{1,128}". */ [k: string]: string; }; Parameters?: { /** * This interface was referenced by `undefined`'s JSON-Schema definition * via the `patternProperty` ".{1,64}". */ [k: string]: string; }; Filters?: ExperimentTemplateTargetFilterList; SelectionMode: ExperimentTemplateTargetSelectionMode; } /** * Describes a filter used for the target resource input in an experiment template. */ export interface ExperimentTemplateTargetFilter { Path: ExperimentTemplateTargetFilterPath; Values: ExperimentTemplateTargetFilterValues; } /** * The actions for the experiment. */ export interface ExperimentTemplateActionMap { [k: string]: ExperimentTemplateAction; } /** * Specifies an action for the experiment template. * * This interface was referenced by `ExperimentTemplateActionMap`'s JSON-Schema definition * via the `patternProperty` "[\S]{1,64}". */ export interface ExperimentTemplateAction { ActionId: ActionId; Description?: ExperimentTemplateActionItemDescription; /** * The parameters for the action, if applicable. */ Parameters?: { [k: string]: ExperimentTemplateActionItemParameter; }; /** * One or more targets for the action. */ Targets?: { [k: string]: ExperimentTemplateActionItemTarget; }; StartAfter?: ExperimentTemplateActionItemStartAfterList; } export interface ExperimentTemplateStopCondition { Source: StopConditionSource; Value?: StopConditionValue; } export interface ExperimentTemplateLogConfiguration { CloudWatchLogsConfiguration?: { LogGroupArn: string; }; S3Configuration?: { BucketName: string; Prefix?: string; }; LogSchemaVersion: number; }