Class BucketLoggingV2State


  • public final class BucketLoggingV2State
    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.
      • 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.
      • targetBucket

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> targetBucket()
        Returns:
        Name of the bucket where you want Amazon S3 to store server access logs.
      • targetGrants

        public java.util.Optional<com.pulumi.core.Output<java.util.List<BucketLoggingV2TargetGrantArgs>>> targetGrants()
        Returns:
        Set of configuration blocks with information for granting permissions. See below.
      • targetPrefix

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> targetPrefix()
        Returns:
        Prefix for all log object keys.