Class BucketCorsRule
Inheritance
System.Object
BucketCorsRule
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.S3.Outputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class BucketCorsRule
Fields
View SourceAllowedHeaders
Specifies which headers are allowed.
Declaration
public readonly ImmutableArray<string> AllowedHeaders
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
AllowedMethods
Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
Declaration
public readonly ImmutableArray<string> AllowedMethods
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
AllowedOrigins
Specifies which origins are allowed.
Declaration
public readonly ImmutableArray<string> AllowedOrigins
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
ExposeHeaders
Specifies expose header in the response.
Declaration
public readonly ImmutableArray<string> ExposeHeaders
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
MaxAgeSeconds
Specifies 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> |