![]() |
![]()
| ![]() |
![]()
NAMEPaws::Synthetics::CanaryCodeInput USAGEThis class represents one of two things: Arguments in a call to a service Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object. As an example, if Att1 is expected to be a Paws::Synthetics::CanaryCodeInput object: $service_obj->Method(Att1 => { Handler => $value, ..., ZipFile => $value }); Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::Synthetics::CanaryCodeInput object: $result = $service_obj->Method(...); $result->Att1->Handler DESCRIPTIONUse this structure to input your script code for the canary. This structure contains the Lambda handler with the location where the canary should start running the script. If the script is stored in an S3 bucket, the bucket name, key, and version are also included. If the script was passed into the canary directly, the script code is contained in the value of "Zipfile". ATTRIBUTESREQUIRED Handler => StrThe entry point to use for the source code when running the canary. This value must end with the string ".handler". S3Bucket => StrIf your canary script is located in S3, specify the full bucket name here. The bucket must already exist. Specify the full bucket name, including "s3://" as the start of the bucket name. S3Key => StrThe S3 key of your script. For more information, see Working with Amazon S3 Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingObjects.html). S3Version => StrThe S3 version ID of your script. ZipFile => StrIf you input your canary script directly into the canary instead of referring to an S3 location, the value of this parameter is the .zip file that contains the script. It can be up to 5 MB. SEE ALSOThis class forms part of Paws, describing an object used in Paws::Synthetics 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>
|