AllowedMethods

public struct AllowedMethods : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Undocumented

    Declaration

    Swift

    public let cachedMethods: CachedMethods?
  • A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.

    Declaration

    Swift

    public let items: [Method]
  • The number of HTTP methods that you want CloudFront to forward to your origin. Valid values are 2 (for GET and HEAD requests), 3 (for GET, HEAD, and OPTIONS requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE requests).

    Declaration

    Swift

    public let quantity: Int
  • Undocumented

    Declaration

    Swift

    public init(cachedMethods: CachedMethods? = nil, items: [Method], quantity: Int)