![]() |
![]()
| ![]() |
![]()
NAMEPaws::FIS::CreateExperimentTemplate - Arguments for method CreateExperimentTemplate on Paws::FIS DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESREQUIRED Actions => Paws::FIS::CreateExperimentTemplateActionInputMapThe actions for the experiment. REQUIRED ClientToken => StrUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. REQUIRED Description => StrA description for the experiment template. Can contain up to 64 letters (A-Z and a-z). REQUIRED RoleArn => StrThe 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::TagMapThe tags to apply to the experiment template. Targets => Paws::FIS::CreateExperimentTemplateTargetInputMapThe targets for the experiment. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateExperimentTemplate in Paws::FIS BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|