The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::FIS::CreateExperimentTemplate - Arguments for method CreateExperimentTemplate on Paws::FIS

DESCRIPTION

This class represents the parameters used for calling the method CreateExperimentTemplate on the AWS Fault Injection Simulator service. Use the attributes of this class as arguments to method CreateExperimentTemplate.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateExperimentTemplate.

SYNOPSIS

my $fis = Paws->service('FIS');
my $CreateExperimentTemplateResponse = $fis->CreateExperimentTemplate(
  Actions => {
    'MyExperimentTemplateActionName' => {
      ActionId    => 'MyActionId',                  # max: 128
      Description =>
        'MyExperimentTemplateActionDescription',    # max: 512; OPTIONAL
      Parameters => {
        'MyExperimentTemplateActionParameterName' =>
          'MyExperimentTemplateActionParameter'
        ,    # key: max: 64, value: max: 1024
      },    # OPTIONAL
      StartAfter => [
        'MyExperimentTemplateActionStartAfter', ...    # max: 64
      ],    # OPTIONAL
      Targets => {
        'MyExperimentTemplateActionTargetName' =>
          'MyExperimentTemplateTargetName',   # key: max: 64, value: max: 64
      },    # OPTIONAL
    },    # key: max: 64
  },
  ClientToken    => 'MyClientToken',
  Description    => 'MyExperimentTemplateDescription',
  RoleArn        => 'MyRoleArn',
  StopConditions => [
    {
      Source => 'MyStopConditionSource',    # max: 64
      Value  => 'MyStopConditionValue',     # min: 20, max: 2048; OPTIONAL
    },
    ...
  ],
  Tags => {
    'MyTagKey' => 'MyTagValue',             # key: max: 128, value: max: 256
  },    # OPTIONAL
  Targets => {
    'MyExperimentTemplateTargetName' => {
      ResourceType  => 'MyResourceType',                           # max: 64
      SelectionMode => 'MyExperimentTemplateTargetSelectionMode',  # max: 64
      Filters       => [
        {
          Path   => 'MyExperimentTemplateTargetFilterPath',    # max: 256
          Values => [
            'MyExperimentTemplateTargetFilterValue', ...       # max: 128
          ],

        },
        ...
      ],    # OPTIONAL
      ResourceArns => [
        'MyResourceArn', ...    # min: 20, max: 2048
      ],    # max: 5; OPTIONAL
      ResourceTags => {
        'MyTagKey' => 'MyTagValue',    # key: max: 128, value: max: 256
      },    # max: 50
    },    # key: max: 64
  },    # OPTIONAL
);

# Results:
my $ExperimentTemplate =
  $CreateExperimentTemplateResponse->ExperimentTemplate;

# Returns a L<Paws::FIS::CreateExperimentTemplateResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/fis/CreateExperimentTemplate

ATTRIBUTES

REQUIRED Actions => Paws::FIS::CreateExperimentTemplateActionInputMap

The actions for the experiment.

REQUIRED ClientToken => Str

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

REQUIRED Description => Str

A description for the experiment template. Can contain up to 64 letters (A-Z and a-z).

REQUIRED RoleArn => Str

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

REQUIRED StopConditions => ArrayRef[Paws::FIS::CreateExperimentTemplateStopConditionInput]

The stop conditions.

Tags => Paws::FIS::TagMap

The tags to apply to the experiment template.

Targets => Paws::FIS::CreateExperimentTemplateTargetInputMap

The targets for the experiment.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateExperimentTemplate in Paws::FIS

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues