BucketCorsConfigurationArgs

data class BucketCorsConfigurationArgs(val corsRules: Output<List<BucketCorsRuleArgs>>) : ConvertibleToJava<BucketCorsConfigurationArgs>

Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see Enabling Cross-Origin Resource Sharing in the Amazon S3 User Guide.

Constructors

Link copied to clipboard
constructor(corsRules: Output<List<BucketCorsRuleArgs>>)

Properties

Link copied to clipboard

A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.

Functions

Link copied to clipboard
open override fun toJava(): BucketCorsConfigurationArgs