Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cors ¶
type Cors struct { // Specifies whether credentials are included in the CORS request. AllowCredentials bool `json:"AllowCredentials,omitempty"` // Represents a collection of allowed headers. AllowHeaders []string `json:"AllowHeaders,omitempty"` // Represents a collection of allowed HTTP methods. AllowMethods []string `json:"AllowMethods,omitempty"` // Represents a collection of allowed origins. AllowOrigins []string `json:"AllowOrigins,omitempty"` // Represents a collection of exposed headers. ExposeHeaders []string `json:"ExposeHeaders,omitempty"` MaxAge int `json:"MaxAge,omitempty"` }
Cors
func (*Cors) MarshalJSON ¶
func (*Cors) UnmarshalJSON ¶
type Resource ¶
type Resource struct { // Can be either AWS_IAM if the requests are authorized via IAM, or NONE if no authorization is configured on the Function URL. AuthType string `json:"AuthType"` Cors *Cors `json:"Cors,omitempty"` // The full Amazon Resource Name (ARN) of the function associated with the Function URL. FunctionArn string `json:"FunctionArn,omitempty"` // The generated url for this resource. FunctionUrl string `json:"FunctionUrl,omitempty"` // The invocation mode for the function?s URL. Set to BUFFERED if you want to buffer responses before returning them to the client. Set to RESPONSE_STREAM if you want to stream responses, allowing faster time to first byte and larger response payload sizes. If not set, defaults to BUFFERED. InvokeMode string `json:"InvokeMode,omitempty"` // The alias qualifier for the target function. If TargetFunctionArn is unqualified then Qualifier must be passed. Qualifier string `json:"Qualifier,omitempty"` // The Amazon Resource Name (ARN) of the function associated with the Function URL. TargetFunctionArn string `json:"TargetFunctionArn"` }
Resource Resource Type definition for AWS::Lambda::Url
func (*Resource) MarshalJSON ¶
func (*Resource) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.