Scaleway

Community
Package contributed by a community member
v0.3.0 published on Tuesday, Jun 7, 2022 by Lee Briggs

getObjectBucket

Using getObjectBucket

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 getObjectBucket(args: GetObjectBucketArgs, opts?: InvokeOptions): Promise<GetObjectBucketResult>
function getObjectBucketOutput(args: GetObjectBucketOutputArgs, opts?: InvokeOptions): Output<GetObjectBucketResult>
def get_object_bucket(name: Optional[str] = None,
                      region: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetObjectBucketResult
def get_object_bucket_output(name: Optional[pulumi.Input[str]] = None,
                      region: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetObjectBucketResult]
func LookupObjectBucket(ctx *Context, args *LookupObjectBucketArgs, opts ...InvokeOption) (*LookupObjectBucketResult, error)
func LookupObjectBucketOutput(ctx *Context, args *LookupObjectBucketOutputArgs, opts ...InvokeOption) LookupObjectBucketResultOutput

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

public static class GetObjectBucket 
{
    public static Task<GetObjectBucketResult> InvokeAsync(GetObjectBucketArgs args, InvokeOptions? opts = null)
    public static Output<GetObjectBucketResult> Invoke(GetObjectBucketInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetObjectBucketResult> getObjectBucket(GetObjectBucketArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: scaleway:index/getObjectBucket:getObjectBucket
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Name string
Region string
Name string
Region string
name String
region String
name string
region string
name str
region str
name String
region String

getObjectBucket Result

The following output properties are available:

Acl string
CorsRules List<GetObjectBucketCorsRule>
Endpoint string
ForceDestroy bool
Id string

The provider-assigned unique ID for this managed resource.

LifecycleRules List<GetObjectBucketLifecycleRule>
Tags Dictionary<string, string>
Versionings List<GetObjectBucketVersioning>
Name string
Region string
Acl string
CorsRules []GetObjectBucketCorsRule
Endpoint string
ForceDestroy bool
Id string

The provider-assigned unique ID for this managed resource.

LifecycleRules []GetObjectBucketLifecycleRule
Tags map[string]string
Versionings []GetObjectBucketVersioning
Name string
Region string
acl String
corsRules List<GetObjectBucketCorsRule>
endpoint String
forceDestroy Boolean
id String

The provider-assigned unique ID for this managed resource.

lifecycleRules List<GetObjectBucketLifecycleRule>
tags Map<String,String>
versionings List<GetObjectBucketVersioning>
name String
region String
acl string
corsRules GetObjectBucketCorsRule[]
endpoint string
forceDestroy boolean
id string

The provider-assigned unique ID for this managed resource.

lifecycleRules GetObjectBucketLifecycleRule[]
tags {[key: string]: string}
versionings GetObjectBucketVersioning[]
name string
region string
acl String
corsRules List<Property Map>
endpoint String
forceDestroy Boolean
id String

The provider-assigned unique ID for this managed resource.

lifecycleRules List<Property Map>
tags Map<String>
versionings List<Property Map>
name String
region String

Supporting Types

GetObjectBucketCorsRule

AllowedHeaders List<string>
AllowedMethods List<string>
AllowedOrigins List<string>
ExposeHeaders List<string>
MaxAgeSeconds int
allowedHeaders List<String>
allowedMethods List<String>
allowedOrigins List<String>
exposeHeaders List<String>
maxAgeSeconds Integer
allowed_headers Sequence[str]
allowed_methods Sequence[str]
allowed_origins Sequence[str]
expose_headers Sequence[str]
max_age_seconds int
allowedHeaders List<String>
allowedMethods List<String>
allowedOrigins List<String>
exposeHeaders List<String>
maxAgeSeconds Number

GetObjectBucketLifecycleRule

GetObjectBucketLifecycleRuleExpiration

Days int
Days int
days Integer
days number
days int
days Number

GetObjectBucketLifecycleRuleTransition

Days int
StorageClass string
Days int
StorageClass string
days Integer
storageClass String
days number
storageClass string
days Number
storageClass String

GetObjectBucketVersioning

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

Package Details

Repository
https://github.com/jaxxstorm/pulumi-scaleway
License
Apache-2.0
Notes

This Pulumi package is based on the scaleway Terraform Provider.