Class ApiCorsConfiguration
Inheritance
System.Object
ApiCorsConfiguration
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.ApiGatewayV2.Outputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class ApiCorsConfiguration
Fields
View SourceAllowCredentials
Whether credentials are included in the CORS request.
Declaration
public readonly bool? AllowCredentials
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
AllowHeaders
The set of allowed HTTP headers.
Declaration
public readonly ImmutableArray<string> AllowHeaders
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
AllowMethods
The set of allowed HTTP methods.
Declaration
public readonly ImmutableArray<string> AllowMethods
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
AllowOrigins
The set of allowed origins.
Declaration
public readonly ImmutableArray<string> AllowOrigins
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
ExposeHeaders
The set of exposed HTTP headers.
Declaration
public readonly ImmutableArray<string> ExposeHeaders
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
MaxAge
The number of seconds that the browser should cache preflight request results.
Declaration
public readonly int? MaxAge
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |