Show / Hide Table of Contents

Class BucketCorsRuleArgs

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

Constructors

View Source

BucketCorsRuleArgs()

Declaration
public BucketCorsRuleArgs()

Properties

View Source

AllowedHeaders

Specifies which headers are allowed.

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

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

AllowedOrigins

Specifies which origins are allowed.

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

ExposeHeaders

Specifies expose header in the response.

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

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