1. Packages
  2. Nexus Provider
  3. API Docs
  4. getBlobstoreS3
nexus 2.5.0 published on Monday, Apr 14, 2025 by datadrivers

nexus.getBlobstoreS3

Explore with Pulumi AI

nexus logo
nexus 2.5.0 published on Monday, Apr 14, 2025 by datadrivers

    Use this data source to get details of an existing Nexus S3 blobstore.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as nexus from "@pulumi/nexus";
    
    const aws = nexus.getBlobstoreS3({
        name: "blobstore-s3",
    });
    
    import pulumi
    import pulumi_nexus as nexus
    
    aws = nexus.get_blobstore_s3(name="blobstore-s3")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/nexus/v2/nexus"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := nexus.LookupBlobstoreS3(ctx, &nexus.LookupBlobstoreS3Args{
    			Name: "blobstore-s3",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nexus = Pulumi.Nexus;
    
    return await Deployment.RunAsync(() => 
    {
        var aws = Nexus.GetBlobstoreS3.Invoke(new()
        {
            Name = "blobstore-s3",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nexus.NexusFunctions;
    import com.pulumi.nexus.inputs.GetBlobstoreS3Args;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var aws = NexusFunctions.getBlobstoreS3(GetBlobstoreS3Args.builder()
                .name("blobstore-s3")
                .build());
    
        }
    }
    
    variables:
      aws:
        fn::invoke:
          function: nexus:getBlobstoreS3
          arguments:
            name: blobstore-s3
    

    Using getBlobstoreS3

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getBlobstoreS3(args: GetBlobstoreS3Args, opts?: InvokeOptions): Promise<GetBlobstoreS3Result>
    function getBlobstoreS3Output(args: GetBlobstoreS3OutputArgs, opts?: InvokeOptions): Output<GetBlobstoreS3Result>
    def get_blobstore_s3(name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetBlobstoreS3Result
    def get_blobstore_s3_output(name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetBlobstoreS3Result]
    func LookupBlobstoreS3(ctx *Context, args *LookupBlobstoreS3Args, opts ...InvokeOption) (*LookupBlobstoreS3Result, error)
    func LookupBlobstoreS3Output(ctx *Context, args *LookupBlobstoreS3OutputArgs, opts ...InvokeOption) LookupBlobstoreS3ResultOutput

    > Note: This function is named LookupBlobstoreS3 in the Go SDK.

    public static class GetBlobstoreS3 
    {
        public static Task<GetBlobstoreS3Result> InvokeAsync(GetBlobstoreS3Args args, InvokeOptions? opts = null)
        public static Output<GetBlobstoreS3Result> Invoke(GetBlobstoreS3InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBlobstoreS3Result> getBlobstoreS3(GetBlobstoreS3Args args, InvokeOptions options)
    public static Output<GetBlobstoreS3Result> getBlobstoreS3(GetBlobstoreS3Args args, InvokeOptions options)
    
    fn::invoke:
      function: nexus:index/getBlobstoreS3:getBlobstoreS3
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Blobstore name
    Name string
    Blobstore name
    name String
    Blobstore name
    name string
    Blobstore name
    name str
    Blobstore name
    name String
    Blobstore name

    getBlobstoreS3 Result

    The following output properties are available:

    BlobCount double
    Count of blobs
    BucketConfigurations List<GetBlobstoreS3BucketConfiguration>
    The S3 bucket configuration.
    Id string
    Used to identify data source at nexus
    Name string
    Blobstore name
    SoftQuotas List<GetBlobstoreS3SoftQuota>
    Soft quota of the blobstore
    TotalSizeInBytes double
    The total size of the blobstore in Bytes
    BlobCount float64
    Count of blobs
    BucketConfigurations []GetBlobstoreS3BucketConfiguration
    The S3 bucket configuration.
    Id string
    Used to identify data source at nexus
    Name string
    Blobstore name
    SoftQuotas []GetBlobstoreS3SoftQuota
    Soft quota of the blobstore
    TotalSizeInBytes float64
    The total size of the blobstore in Bytes
    blobCount Double
    Count of blobs
    bucketConfigurations List<GetBlobstoreS3BucketConfiguration>
    The S3 bucket configuration.
    id String
    Used to identify data source at nexus
    name String
    Blobstore name
    softQuotas List<GetBlobstoreS3SoftQuota>
    Soft quota of the blobstore
    totalSizeInBytes Double
    The total size of the blobstore in Bytes
    blobCount number
    Count of blobs
    bucketConfigurations GetBlobstoreS3BucketConfiguration[]
    The S3 bucket configuration.
    id string
    Used to identify data source at nexus
    name string
    Blobstore name
    softQuotas GetBlobstoreS3SoftQuota[]
    Soft quota of the blobstore
    totalSizeInBytes number
    The total size of the blobstore in Bytes
    blob_count float
    Count of blobs
    bucket_configurations Sequence[GetBlobstoreS3BucketConfiguration]
    The S3 bucket configuration.
    id str
    Used to identify data source at nexus
    name str
    Blobstore name
    soft_quotas Sequence[GetBlobstoreS3SoftQuota]
    Soft quota of the blobstore
    total_size_in_bytes float
    The total size of the blobstore in Bytes
    blobCount Number
    Count of blobs
    bucketConfigurations List<Property Map>
    The S3 bucket configuration.
    id String
    Used to identify data source at nexus
    name String
    Blobstore name
    softQuotas List<Property Map>
    Soft quota of the blobstore
    totalSizeInBytes Number
    The total size of the blobstore in Bytes

    Supporting Types

    GetBlobstoreS3BucketConfiguration

    GetBlobstoreS3BucketConfigurationAdvancedBucketConnection

    endpoint String
    forcePathStyle Boolean
    signerType String
    endpoint string
    forcePathStyle boolean
    signerType string
    endpoint String
    forcePathStyle Boolean
    signerType String

    GetBlobstoreS3BucketConfigurationBucket

    Expiration double
    Name string
    Prefix string
    Region string
    Expiration float64
    Name string
    Prefix string
    Region string
    expiration Double
    name String
    prefix String
    region String
    expiration number
    name string
    prefix string
    region string
    expiration float
    name str
    prefix str
    region str
    expiration Number
    name String
    prefix String
    region String

    GetBlobstoreS3BucketConfigurationBucketSecurity

    AccessKeyId string
    Role string
    SecretAccessKey string
    SessionToken string
    AccessKeyId string
    Role string
    SecretAccessKey string
    SessionToken string
    accessKeyId String
    role String
    secretAccessKey String
    sessionToken String
    accessKeyId string
    role string
    secretAccessKey string
    sessionToken string
    accessKeyId String
    role String
    secretAccessKey String
    sessionToken String

    GetBlobstoreS3BucketConfigurationEncryption

    GetBlobstoreS3SoftQuota

    Limit double
    Type string
    Limit float64
    Type string
    limit Double
    type String
    limit number
    type string
    limit float
    type str
    limit Number
    type String

    Package Details

    Repository
    nexus datadrivers/terraform-provider-nexus
    License
    Notes
    This Pulumi package is based on the nexus Terraform Provider.
    nexus logo
    nexus 2.5.0 published on Monday, Apr 14, 2025 by datadrivers