GetFunctionUrlCor class

Constructors

GetFunctionUrlCor({required Input<bool> allowCredentials, required Input<List<String>> allowHeaders, required Input<List<String>> allowMethods, required Input<List<String>> allowOrigins, required Input<List<String>> exposeHeaders, required Input<int> maxAge})
Creates a new GetFunctionUrlCor. allowCredentials Whether credentials are included in the CORS request. allowHeaders List of headers that are specified in the Access-Control-Request-Headers header. allowMethods List of HTTP methods that are allowed when calling the function URL. allowOrigins List of origins that are allowed to make requests to the function URL. exposeHeaders List of headers in the response that you want to expose to the origin that called the function URL. maxAge Maximum amount of time, in seconds, that web browsers can cache results of a preflight request.
const
GetFunctionUrlCor.fromMap(Map<String, dynamic> map)
factory

Properties

allowCredentials → Input<bool>
Whether credentials are included in the CORS request.
final
allowHeaders → Input<List<String>>
List of headers that are specified in the Access-Control-Request-Headers header.
final
allowMethods → Input<List<String>>
List of HTTP methods that are allowed when calling the function URL.
final
allowOrigins → Input<List<String>>
List of origins that are allowed to make requests to the function URL.
final
exposeHeaders → Input<List<String>>
List of headers in the response that you want to expose to the origin that called the function URL.
final
hashCode int
The hash code for this object.
no setterinherited
maxAge → Input<int>
Maximum amount of time, in seconds, that web browsers can cache results of a preflight request.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited