CanaryCodeInput

public struct CanaryCodeInput : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The entry point to use for the source code when running the canary. This value must end with the string .handler.

    Declaration

    Swift

    public let handler: String
  • If 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.

    Declaration

    Swift

    public let s3Bucket: String?
  • The S3 key of your script. For more information, see Working with Amazon S3 Objects.

    Declaration

    Swift

    public let s3Key: String?
  • The S3 version ID of your script.

    Declaration

    Swift

    public let s3Version: String?
  • If 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.

    Declaration

    Swift

    public let zipFile: Data?
  • Undocumented

    Declaration

    Swift

    public init(handler: String, s3Bucket: String? = nil, s3Key: String? = nil, s3Version: String? = nil, zipFile: Data? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws