Class GetObjectArgs


  • public final class GetObjectArgs
    extends com.pulumi.resources.InvokeArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  GetObjectArgs.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.pulumi.core.Output<java.lang.String> bucket()  
      static GetObjectArgs.Builder builder()  
      static GetObjectArgs.Builder builder​(GetObjectArgs defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> checksumMode()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> downloadBody()  
      com.pulumi.core.Output<java.lang.String> key()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> range()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> versionId()  
      • Methods inherited from class com.pulumi.resources.InvokeArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • bucket

        public com.pulumi.core.Output<java.lang.String> bucket()
        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
      • checksumMode

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> checksumMode()
        Returns:
        To retrieve the object's checksum, this argument must be `ENABLED`. If you enable `checksumMode` and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `ENABLED`
      • downloadBody

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> downloadBody()
        Returns:
        Set to `true` to always download object data to `bodyBase64` attribute. If unset and conditions described above are met, `body` will be available but `bodyBase64` will not be. If set to `false`, the body is not downloaded and neither `body` nor `bodyBase64` is available, which may improve performance.
      • key

        public com.pulumi.core.Output<java.lang.String> key()
        Returns:
        Full path to the object inside the bucket
      • range

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> range()
        Returns:
        Byte range of the object to retrieve, in the format expected by the [HTTP `Range` header](https://www.rfc-editor.org/rfc/rfc9110.html#name-range).
      • 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.
      • tags

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

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