Show / Hide Table of Contents

Class BucketCorArgs

Inheritance
System.Object
InputArgs
ResourceArgs
BucketCorArgs
Inherited Members
ResourceArgs.Empty
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 Source

BucketCorArgs()

Declaration
public BucketCorArgs()

Properties

View Source

MaxAgeSeconds

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>
View Source

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>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.