Class SpacesBucketCorsRule
Inheritance
System.Object
SpacesBucketCorsRule
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.DigitalOcean.Outputs
Assembly: Pulumi.DigitalOcean.dll
Syntax
public sealed class SpacesBucketCorsRule
Fields
View SourceAllowedHeaders
A list of headers that will be included in the CORS preflight request's Access-Control-Request-Headers. A header may contain one wildcard (e.g. x-amz-*).
Declaration
public readonly ImmutableArray<string> AllowedHeaders
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
AllowedMethods
A list of HTTP methods (e.g. GET) which are allowed from the specified origin.
Declaration
public readonly ImmutableArray<string> AllowedMethods
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
AllowedOrigins
A list of hosts from which requests using the specified methods are allowed. A host may contain one wildcard (e.g. http://*.example.com).
Declaration
public readonly ImmutableArray<string> AllowedOrigins
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
MaxAgeSeconds
The time in seconds that browser can cache the response for a preflight request.
Declaration
public readonly int? MaxAgeSeconds
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |