Class BucketCorsConfigurationState


  • public final class BucketCorsConfigurationState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • bucket

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> bucket()
        Returns:
        Name of the bucket.
      • corsRules

        public java.util.Optional<com.pulumi.core.Output<java.util.List<BucketCorsConfigurationCorsRuleArgs>>> corsRules()
        Returns:
        Set of origins and methods (cross-origin access that you want to allow). See below. You can configure up to 100 rules.
      • expectedBucketOwner

        @Deprecated
        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> expectedBucketOwner()
        Deprecated.
        expected_bucket_owner is deprecated. It will be removed in a future verion of the provider.
        Returns:
        Account ID of the expected bucket owner.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.