Class GetBucketObjectPlainArgs


  • public final class GetBucketObjectPlainArgs
    extends com.pulumi.resources.InvokeArgs
    • Method Detail

      • bucket

        @Deprecated
        public java.lang.String bucket()
        Deprecated.
        bucket is deprecated. Use the aws.s3.BucketObjectv2 data source instead.
        Returns:
        Name of the bucket to read the object from. Alternatively, an [S3 access point](https://docs.aws.amazon.com/AmazonS3/latest/dev/using-access-points.html) ARN can be specified. Use the `aws.s3.BucketObjectv2` data source instead.
      • key

        public java.lang.String key()
        Returns:
        Full path to the object inside the bucket
      • range

        public java.util.Optional<java.lang.String> range()
        Returns:
        Range of bytes to read from the object, formatted as an [HTTP `Range` header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Range).
      • region

        public java.util.Optional<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.
      • tags

        public java.util.Optional<java.util.Map<java.lang.String,​java.lang.String>> tags()
        Returns:
        Map of tags assigned to the object.
      • versionId

        public java.util.Optional<java.lang.String> versionId()
        Returns:
        Specific version ID of the object returned (defaults to latest version)