Class BucketCorArgs
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.Gcp.Storage.Inputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class BucketCorArgs : ResourceArgs
Constructors
View SourceBucketCorArgs()
Declaration
public BucketCorArgs()
Properties
View SourceMaxAgeSeconds
The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
Declaration
public Input<int> MaxAgeSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Methods
The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
Declaration
public InputList<string> Methods { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Origins
The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
Declaration
public InputList<string> Origins { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
ResponseHeaders
The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
Declaration
public InputList<string> ResponseHeaders { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |