Class BucketCorsRuleArgs
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.Aws.S3.Inputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class BucketCorsRuleArgs : ResourceArgs
Constructors
View SourceBucketCorsRuleArgs()
Declaration
public BucketCorsRuleArgs()
Properties
View SourceAllowedHeaders
Specifies which headers are allowed.
Declaration
public InputList<string> AllowedHeaders { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
AllowedMethods
Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.
Declaration
public InputList<string> AllowedMethods { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
AllowedOrigins
Specifies which origins are allowed.
Declaration
public InputList<string> AllowedOrigins { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
ExposeHeaders
Specifies expose header in the response.
Declaration
public InputList<string> ExposeHeaders { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
MaxAgeSeconds
Specifies 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> |