Package com.pulumi.aws.lambda.outputs
Class GetFunctionUrlCor
- java.lang.Object
-
- com.pulumi.aws.lambda.outputs.GetFunctionUrlCor
-
public final class GetFunctionUrlCor extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetFunctionUrlCor.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleanallowCredentials()java.util.List<java.lang.String>allowHeaders()java.util.List<java.lang.String>allowMethods()java.util.List<java.lang.String>allowOrigins()static GetFunctionUrlCor.Builderbuilder()static GetFunctionUrlCor.Builderbuilder(GetFunctionUrlCor defaults)java.util.List<java.lang.String>exposeHeaders()java.lang.IntegermaxAge()
-
-
-
Method Detail
-
allowCredentials
public java.lang.Boolean allowCredentials()
- Returns:
- Whether credentials are included in the CORS request.
-
allowHeaders
public java.util.List<java.lang.String> allowHeaders()
- Returns:
- List of headers that are specified in the Access-Control-Request-Headers header.
-
allowMethods
public java.util.List<java.lang.String> allowMethods()
- Returns:
- List of HTTP methods that are allowed when calling the function URL.
-
allowOrigins
public java.util.List<java.lang.String> allowOrigins()
- Returns:
- List of origins that are allowed to make requests to the function URL.
-
exposeHeaders
public java.util.List<java.lang.String> exposeHeaders()
- Returns:
- List of headers in the response that you want to expose to the origin that called the function URL.
-
maxAge
public java.lang.Integer maxAge()
- Returns:
- Maximum amount of time, in seconds, that web browsers can cache results of a preflight request.
-
builder
public static GetFunctionUrlCor.Builder builder()
-
builder
public static GetFunctionUrlCor.Builder builder(GetFunctionUrlCor defaults)
-
-