Show / Hide Table of Contents

Class SpacesBucketCorsRuleGetArgs

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

Constructors

View Source

SpacesBucketCorsRuleGetArgs()

Declaration
public SpacesBucketCorsRuleGetArgs()

Properties

View Source

AllowedHeaders

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 InputList<string> AllowedHeaders { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

AllowedMethods

A list of HTTP methods (e.g. GET) which are allowed from the specified origin.

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

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 InputList<string> AllowedOrigins { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

MaxAgeSeconds

The time in seconds that browser can cache the response for a preflight request.

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