Show / Hide Table of Contents

Class RegionUrlMapPathMatcherPathRuleRouteActionCorsPolicyArgs

Inheritance
System.Object
InputArgs
ResourceArgs
RegionUrlMapPathMatcherPathRuleRouteActionCorsPolicyArgs
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.Compute.Inputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class RegionUrlMapPathMatcherPathRuleRouteActionCorsPolicyArgs : ResourceArgs

Constructors

View Source

RegionUrlMapPathMatcherPathRuleRouteActionCorsPolicyArgs()

Declaration
public RegionUrlMapPathMatcherPathRuleRouteActionCorsPolicyArgs()

Properties

View Source

AllowCredentials

In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access- Control-Allow-Credentials header. Defaults to false.

Declaration
public Input<bool> AllowCredentials { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

AllowHeaders

Specifies the content for the Access-Control-Allow-Headers header.

Declaration
public InputList<string> AllowHeaders { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

AllowMethods

Specifies the content for the Access-Control-Allow-Methods header.

Declaration
public InputList<string> AllowMethods { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

AllowOriginRegexes

Specifies the regualar expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either allow_origins or allow_origin_regex.

Declaration
public InputList<string> AllowOriginRegexes { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

AllowOrigins

Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either allow_origins or allow_origin_regex.

Declaration
public InputList<string> AllowOrigins { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

Disabled

If true, specifies the CORS policy is disabled.

Declaration
public Input<bool> Disabled { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

ExposeHeaders

Specifies the content for the Access-Control-Expose-Headers header.

Declaration
public InputList<string> ExposeHeaders { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

MaxAge

Specifies how long the results of a preflight request can be cached. This translates to the content for the Access-Control-Max-Age header.

Declaration
public Input<int> MaxAge { get; set; }
Property Value
Type Description
Input<System.Int32>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.