Class SpacesBucketCorsRuleGetArgs
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.DigitalOcean.Inputs
Assembly: Pulumi.DigitalOcean.dll
Syntax
public sealed class SpacesBucketCorsRuleGetArgs : ResourceArgs
Constructors
View SourceSpacesBucketCorsRuleGetArgs()
Declaration
public SpacesBucketCorsRuleGetArgs()
Properties
View SourceAllowedHeaders
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> |
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> |
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> |
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> |