Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi
alicloud.oss.getBuckets
Explore with Pulumi AI
This data source provides the OSS buckets of the current Alibaba Cloud user.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const ossBucketsDs = alicloud.oss.getBuckets({
nameRegex: "sample_oss_bucket",
});
export const firstOssBucketName = ossBucketsDs.then(ossBucketsDs => ossBucketsDs.buckets?.[0]?.name);
import pulumi
import pulumi_alicloud as alicloud
oss_buckets_ds = alicloud.oss.get_buckets(name_regex="sample_oss_bucket")
pulumi.export("firstOssBucketName", oss_buckets_ds.buckets[0].name)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oss"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ossBucketsDs, err := oss.GetBuckets(ctx, &oss.GetBucketsArgs{
NameRegex: pulumi.StringRef("sample_oss_bucket"),
}, nil)
if err != nil {
return err
}
ctx.Export("firstOssBucketName", ossBucketsDs.Buckets[0].Name)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var ossBucketsDs = AliCloud.Oss.GetBuckets.Invoke(new()
{
NameRegex = "sample_oss_bucket",
});
return new Dictionary<string, object?>
{
["firstOssBucketName"] = ossBucketsDs.Apply(getBucketsResult => getBucketsResult.Buckets[0]?.Name),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.oss.OssFunctions;
import com.pulumi.alicloud.oss.inputs.GetBucketsArgs;
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 ossBucketsDs = OssFunctions.getBuckets(GetBucketsArgs.builder()
.nameRegex("sample_oss_bucket")
.build());
ctx.export("firstOssBucketName", ossBucketsDs.applyValue(getBucketsResult -> getBucketsResult.buckets()[0].name()));
}
}
variables:
ossBucketsDs:
fn::invoke:
Function: alicloud:oss:getBuckets
Arguments:
nameRegex: sample_oss_bucket
outputs:
firstOssBucketName: ${ossBucketsDs.buckets[0].name}
Using getBuckets
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 getBuckets(args: GetBucketsArgs, opts?: InvokeOptions): Promise<GetBucketsResult>
function getBucketsOutput(args: GetBucketsOutputArgs, opts?: InvokeOptions): Output<GetBucketsResult>
def get_buckets(name_regex: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBucketsResult
def get_buckets_output(name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBucketsResult]
func GetBuckets(ctx *Context, args *GetBucketsArgs, opts ...InvokeOption) (*GetBucketsResult, error)
func GetBucketsOutput(ctx *Context, args *GetBucketsOutputArgs, opts ...InvokeOption) GetBucketsResultOutput
> Note: This function is named GetBuckets
in the Go SDK.
public static class GetBuckets
{
public static Task<GetBucketsResult> InvokeAsync(GetBucketsArgs args, InvokeOptions? opts = null)
public static Output<GetBucketsResult> Invoke(GetBucketsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBucketsResult> getBuckets(GetBucketsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:oss/getBuckets:getBuckets
arguments:
# arguments dictionary
The following arguments are supported:
- Name
Regex string - A regex string to filter results by bucket name.
- Output
File string - File name where to save data source results (after running
pulumi preview
).
- Name
Regex string - A regex string to filter results by bucket name.
- Output
File string - File name where to save data source results (after running
pulumi preview
).
- name
Regex String - A regex string to filter results by bucket name.
- output
File String - File name where to save data source results (after running
pulumi preview
).
- name
Regex string - A regex string to filter results by bucket name.
- output
File string - File name where to save data source results (after running
pulumi preview
).
- name_
regex str - A regex string to filter results by bucket name.
- output_
file str - File name where to save data source results (after running
pulumi preview
).
- name
Regex String - A regex string to filter results by bucket name.
- output
File String - File name where to save data source results (after running
pulumi preview
).
getBuckets Result
The following output properties are available:
- Buckets
List<Pulumi.
Ali Cloud. Oss. Outputs. Get Buckets Bucket> - A list of buckets. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Names List<string>
- A list of bucket names.
- Name
Regex string - Output
File string
- Buckets
[]Get
Buckets Bucket - A list of buckets. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Names []string
- A list of bucket names.
- Name
Regex string - Output
File string
- buckets
List<Get
Buckets Bucket> - A list of buckets. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- names List<String>
- A list of bucket names.
- name
Regex String - output
File String
- buckets
Get
Buckets Bucket[] - A list of buckets. Each element contains the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- names string[]
- A list of bucket names.
- name
Regex string - output
File string
- buckets
Sequence[Get
Buckets Bucket] - A list of buckets. Each element contains the following attributes:
- id str
- The provider-assigned unique ID for this managed resource.
- names Sequence[str]
- A list of bucket names.
- name_
regex str - output_
file str
- buckets List<Property Map>
- A list of buckets. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- names List<String>
- A list of bucket names.
- name
Regex String - output
File String
Supporting Types
GetBucketsBucket
- Acl string
- Bucket access control list. Possible values:
private
,public-read
andpublic-read-write
. - Cors
Rules List<Pulumi.Ali Cloud. Oss. Inputs. Get Buckets Bucket Cors Rule> - A list of CORS rule configurations. Each element contains the following attributes:
- Creation
Date string - Bucket creation date.
- Extranet
Endpoint string - Internet domain name for accessing the bucket from outside.
- Intranet
Endpoint string - Intranet domain name for accessing the bucket from an ECS instance in the same region.
- Lifecycle
Rules List<Pulumi.Ali Cloud. Oss. Inputs. Get Buckets Bucket Lifecycle Rule> - A list CORS of lifecycle configurations. When Lifecycle is enabled, OSS automatically deletes the objects or transitions the objects (to another storage class) corresponding the lifecycle rules on a regular basis. Each element contains the following attributes:
- Location string
- Region of the data center where the bucket is located.
- Logging
Pulumi.
Ali Cloud. Oss. Inputs. Get Buckets Bucket Logging - A list of one element containing configuration parameters used for storing access log information. It contains the following attributes:
- Name string
- Bucket name.
- Owner string
- Bucket owner.
- Redundancy
Type string - Redundancy type. Possible values:
LRS
, andZRS
. - Referer
Config Pulumi.Ali Cloud. Oss. Inputs. Get Buckets Bucket Referer Config - A list of one element containing referer configuration. It contains the following attributes:
- Server
Side Pulumi.Encryption Rule Ali Cloud. Oss. Inputs. Get Buckets Bucket Server Side Encryption Rule - A configuration of default encryption for a bucket. It contains the following attributes:
- Storage
Class string - Object storage type. Possible values:
Standard
,IA
,Archive
andColdArchive
. - Dictionary<string, object>
- A mapping of tags.
- Versioning
Pulumi.
Ali Cloud. Oss. Inputs. Get Buckets Bucket Versioning - If present , the versioning state has been set on the bucket. It contains the following attribute.
- Website
Pulumi.
Ali Cloud. Oss. Inputs. Get Buckets Bucket Website - A list of one element containing configuration parameters used when the bucket is used as a website. It contains the following attributes:
- Policy string
- Acl string
- Bucket access control list. Possible values:
private
,public-read
andpublic-read-write
. - Cors
Rules []GetBuckets Bucket Cors Rule - A list of CORS rule configurations. Each element contains the following attributes:
- Creation
Date string - Bucket creation date.
- Extranet
Endpoint string - Internet domain name for accessing the bucket from outside.
- Intranet
Endpoint string - Intranet domain name for accessing the bucket from an ECS instance in the same region.
- Lifecycle
Rules []GetBuckets Bucket Lifecycle Rule - A list CORS of lifecycle configurations. When Lifecycle is enabled, OSS automatically deletes the objects or transitions the objects (to another storage class) corresponding the lifecycle rules on a regular basis. Each element contains the following attributes:
- Location string
- Region of the data center where the bucket is located.
- Logging
Get
Buckets Bucket Logging - A list of one element containing configuration parameters used for storing access log information. It contains the following attributes:
- Name string
- Bucket name.
- Owner string
- Bucket owner.
- Redundancy
Type string - Redundancy type. Possible values:
LRS
, andZRS
. - Referer
Config GetBuckets Bucket Referer Config - A list of one element containing referer configuration. It contains the following attributes:
- Server
Side GetEncryption Rule Buckets Bucket Server Side Encryption Rule - A configuration of default encryption for a bucket. It contains the following attributes:
- Storage
Class string - Object storage type. Possible values:
Standard
,IA
,Archive
andColdArchive
. - map[string]interface{}
- A mapping of tags.
- Versioning
Get
Buckets Bucket Versioning - If present , the versioning state has been set on the bucket. It contains the following attribute.
- Website
Get
Buckets Bucket Website - A list of one element containing configuration parameters used when the bucket is used as a website. It contains the following attributes:
- Policy string
- acl String
- Bucket access control list. Possible values:
private
,public-read
andpublic-read-write
. - cors
Rules List<GetBuckets Bucket Cors Rule> - A list of CORS rule configurations. Each element contains the following attributes:
- creation
Date String - Bucket creation date.
- extranet
Endpoint String - Internet domain name for accessing the bucket from outside.
- intranet
Endpoint String - Intranet domain name for accessing the bucket from an ECS instance in the same region.
- lifecycle
Rules List<GetBuckets Bucket Lifecycle Rule> - A list CORS of lifecycle configurations. When Lifecycle is enabled, OSS automatically deletes the objects or transitions the objects (to another storage class) corresponding the lifecycle rules on a regular basis. Each element contains the following attributes:
- location String
- Region of the data center where the bucket is located.
- logging
Get
Buckets Bucket Logging - A list of one element containing configuration parameters used for storing access log information. It contains the following attributes:
- name String
- Bucket name.
- owner String
- Bucket owner.
- redundancy
Type String - Redundancy type. Possible values:
LRS
, andZRS
. - referer
Config GetBuckets Bucket Referer Config - A list of one element containing referer configuration. It contains the following attributes:
- server
Side GetEncryption Rule Buckets Bucket Server Side Encryption Rule - A configuration of default encryption for a bucket. It contains the following attributes:
- storage
Class String - Object storage type. Possible values:
Standard
,IA
,Archive
andColdArchive
. - Map<String,Object>
- A mapping of tags.
- versioning
Get
Buckets Bucket Versioning - If present , the versioning state has been set on the bucket. It contains the following attribute.
- website
Get
Buckets Bucket Website - A list of one element containing configuration parameters used when the bucket is used as a website. It contains the following attributes:
- policy String
- acl string
- Bucket access control list. Possible values:
private
,public-read
andpublic-read-write
. - cors
Rules GetBuckets Bucket Cors Rule[] - A list of CORS rule configurations. Each element contains the following attributes:
- creation
Date string - Bucket creation date.
- extranet
Endpoint string - Internet domain name for accessing the bucket from outside.
- intranet
Endpoint string - Intranet domain name for accessing the bucket from an ECS instance in the same region.
- lifecycle
Rules GetBuckets Bucket Lifecycle Rule[] - A list CORS of lifecycle configurations. When Lifecycle is enabled, OSS automatically deletes the objects or transitions the objects (to another storage class) corresponding the lifecycle rules on a regular basis. Each element contains the following attributes:
- location string
- Region of the data center where the bucket is located.
- logging
Get
Buckets Bucket Logging - A list of one element containing configuration parameters used for storing access log information. It contains the following attributes:
- name string
- Bucket name.
- owner string
- Bucket owner.
- redundancy
Type string - Redundancy type. Possible values:
LRS
, andZRS
. - referer
Config GetBuckets Bucket Referer Config - A list of one element containing referer configuration. It contains the following attributes:
- server
Side GetEncryption Rule Buckets Bucket Server Side Encryption Rule - A configuration of default encryption for a bucket. It contains the following attributes:
- storage
Class string - Object storage type. Possible values:
Standard
,IA
,Archive
andColdArchive
. - {[key: string]: any}
- A mapping of tags.
- versioning
Get
Buckets Bucket Versioning - If present , the versioning state has been set on the bucket. It contains the following attribute.
- website
Get
Buckets Bucket Website - A list of one element containing configuration parameters used when the bucket is used as a website. It contains the following attributes:
- policy string
- acl str
- Bucket access control list. Possible values:
private
,public-read
andpublic-read-write
. - cors_
rules Sequence[GetBuckets Bucket Cors Rule] - A list of CORS rule configurations. Each element contains the following attributes:
- creation_
date str - Bucket creation date.
- extranet_
endpoint str - Internet domain name for accessing the bucket from outside.
- intranet_
endpoint str - Intranet domain name for accessing the bucket from an ECS instance in the same region.
- lifecycle_
rules Sequence[GetBuckets Bucket Lifecycle Rule] - A list CORS of lifecycle configurations. When Lifecycle is enabled, OSS automatically deletes the objects or transitions the objects (to another storage class) corresponding the lifecycle rules on a regular basis. Each element contains the following attributes:
- location str
- Region of the data center where the bucket is located.
- logging
Get
Buckets Bucket Logging - A list of one element containing configuration parameters used for storing access log information. It contains the following attributes:
- name str
- Bucket name.
- owner str
- Bucket owner.
- redundancy_
type str - Redundancy type. Possible values:
LRS
, andZRS
. - referer_
config GetBuckets Bucket Referer Config - A list of one element containing referer configuration. It contains the following attributes:
- server_
side_ Getencryption_ rule Buckets Bucket Server Side Encryption Rule - A configuration of default encryption for a bucket. It contains the following attributes:
- storage_
class str - Object storage type. Possible values:
Standard
,IA
,Archive
andColdArchive
. - Mapping[str, Any]
- A mapping of tags.
- versioning
Get
Buckets Bucket Versioning - If present , the versioning state has been set on the bucket. It contains the following attribute.
- website
Get
Buckets Bucket Website - A list of one element containing configuration parameters used when the bucket is used as a website. It contains the following attributes:
- policy str
- acl String
- Bucket access control list. Possible values:
private
,public-read
andpublic-read-write
. - cors
Rules List<Property Map> - A list of CORS rule configurations. Each element contains the following attributes:
- creation
Date String - Bucket creation date.
- extranet
Endpoint String - Internet domain name for accessing the bucket from outside.
- intranet
Endpoint String - Intranet domain name for accessing the bucket from an ECS instance in the same region.
- lifecycle
Rules List<Property Map> - A list CORS of lifecycle configurations. When Lifecycle is enabled, OSS automatically deletes the objects or transitions the objects (to another storage class) corresponding the lifecycle rules on a regular basis. Each element contains the following attributes:
- location String
- Region of the data center where the bucket is located.
- logging Property Map
- A list of one element containing configuration parameters used for storing access log information. It contains the following attributes:
- name String
- Bucket name.
- owner String
- Bucket owner.
- redundancy
Type String - Redundancy type. Possible values:
LRS
, andZRS
. - referer
Config Property Map - A list of one element containing referer configuration. It contains the following attributes:
- server
Side Property MapEncryption Rule - A configuration of default encryption for a bucket. It contains the following attributes:
- storage
Class String - Object storage type. Possible values:
Standard
,IA
,Archive
andColdArchive
. - Map<Any>
- A mapping of tags.
- versioning Property Map
- If present , the versioning state has been set on the bucket. It contains the following attribute.
- website Property Map
- A list of one element containing configuration parameters used when the bucket is used as a website. It contains the following attributes:
- policy String
GetBucketsBucketCorsRule
- Allowed
Headers List<string> - Control whether the headers specified by Access-Control-Request-Headers in the OPTIONS prefetch command are allowed. Each header specified by Access-Control-Request-Headers must match a value in AllowedHeader. Each rule allows up to one wildcard “*” .
- Allowed
Methods List<string> - Specify the allowed methods for cross-domain requests. Possible values:
GET
,PUT
,DELETE
,POST
andHEAD
. - Allowed
Origins List<string> - The origins allowed for cross-domain requests. Multiple elements can be used to specify multiple allowed origins. Each rule allows up to one wildcard "*". If "*" is specified, cross-domain requests of all origins are allowed.
- Expose
Headers List<string> - Specify the response headers allowing users to access from an application (for example, a Javascript XMLHttpRequest object). The wildcard "*" is not allowed.
- Max
Age intSeconds - Specify the cache time for the returned result of a browser prefetch (OPTIONS) request to a specific resource.
- Allowed
Headers []string - Control whether the headers specified by Access-Control-Request-Headers in the OPTIONS prefetch command are allowed. Each header specified by Access-Control-Request-Headers must match a value in AllowedHeader. Each rule allows up to one wildcard “*” .
- Allowed
Methods []string - Specify the allowed methods for cross-domain requests. Possible values:
GET
,PUT
,DELETE
,POST
andHEAD
. - Allowed
Origins []string - The origins allowed for cross-domain requests. Multiple elements can be used to specify multiple allowed origins. Each rule allows up to one wildcard "*". If "*" is specified, cross-domain requests of all origins are allowed.
- Expose
Headers []string - Specify the response headers allowing users to access from an application (for example, a Javascript XMLHttpRequest object). The wildcard "*" is not allowed.
- Max
Age intSeconds - Specify the cache time for the returned result of a browser prefetch (OPTIONS) request to a specific resource.
- allowed
Headers List<String> - Control whether the headers specified by Access-Control-Request-Headers in the OPTIONS prefetch command are allowed. Each header specified by Access-Control-Request-Headers must match a value in AllowedHeader. Each rule allows up to one wildcard “*” .
- allowed
Methods List<String> - Specify the allowed methods for cross-domain requests. Possible values:
GET
,PUT
,DELETE
,POST
andHEAD
. - allowed
Origins List<String> - The origins allowed for cross-domain requests. Multiple elements can be used to specify multiple allowed origins. Each rule allows up to one wildcard "*". If "*" is specified, cross-domain requests of all origins are allowed.
- expose
Headers List<String> - Specify the response headers allowing users to access from an application (for example, a Javascript XMLHttpRequest object). The wildcard "*" is not allowed.
- max
Age IntegerSeconds - Specify the cache time for the returned result of a browser prefetch (OPTIONS) request to a specific resource.
- allowed
Headers string[] - Control whether the headers specified by Access-Control-Request-Headers in the OPTIONS prefetch command are allowed. Each header specified by Access-Control-Request-Headers must match a value in AllowedHeader. Each rule allows up to one wildcard “*” .
- allowed
Methods string[] - Specify the allowed methods for cross-domain requests. Possible values:
GET
,PUT
,DELETE
,POST
andHEAD
. - allowed
Origins string[] - The origins allowed for cross-domain requests. Multiple elements can be used to specify multiple allowed origins. Each rule allows up to one wildcard "*". If "*" is specified, cross-domain requests of all origins are allowed.
- expose
Headers string[] - Specify the response headers allowing users to access from an application (for example, a Javascript XMLHttpRequest object). The wildcard "*" is not allowed.
- max
Age numberSeconds - Specify the cache time for the returned result of a browser prefetch (OPTIONS) request to a specific resource.
- allowed_
headers Sequence[str] - Control whether the headers specified by Access-Control-Request-Headers in the OPTIONS prefetch command are allowed. Each header specified by Access-Control-Request-Headers must match a value in AllowedHeader. Each rule allows up to one wildcard “*” .
- allowed_
methods Sequence[str] - Specify the allowed methods for cross-domain requests. Possible values:
GET
,PUT
,DELETE
,POST
andHEAD
. - allowed_
origins Sequence[str] - The origins allowed for cross-domain requests. Multiple elements can be used to specify multiple allowed origins. Each rule allows up to one wildcard "*". If "*" is specified, cross-domain requests of all origins are allowed.
- expose_
headers Sequence[str] - Specify the response headers allowing users to access from an application (for example, a Javascript XMLHttpRequest object). The wildcard "*" is not allowed.
- max_
age_ intseconds - Specify the cache time for the returned result of a browser prefetch (OPTIONS) request to a specific resource.
- allowed
Headers List<String> - Control whether the headers specified by Access-Control-Request-Headers in the OPTIONS prefetch command are allowed. Each header specified by Access-Control-Request-Headers must match a value in AllowedHeader. Each rule allows up to one wildcard “*” .
- allowed
Methods List<String> - Specify the allowed methods for cross-domain requests. Possible values:
GET
,PUT
,DELETE
,POST
andHEAD
. - allowed
Origins List<String> - The origins allowed for cross-domain requests. Multiple elements can be used to specify multiple allowed origins. Each rule allows up to one wildcard "*". If "*" is specified, cross-domain requests of all origins are allowed.
- expose
Headers List<String> - Specify the response headers allowing users to access from an application (for example, a Javascript XMLHttpRequest object). The wildcard "*" is not allowed.
- max
Age NumberSeconds - Specify the cache time for the returned result of a browser prefetch (OPTIONS) request to a specific resource.
GetBucketsBucketLifecycleRule
- Enabled bool
- Indicate whether the rule is enabled or not.
- Expiration
Pulumi.
Ali Cloud. Oss. Inputs. Get Buckets Bucket Lifecycle Rule Expiration - A list of one element containing expiration attributes of an object. It contains the following attributes:
- Id string
- Unique ID of the rule.
- Prefix string
- Prefix applicable to a rule. Only those objects with a matching prefix can be affected by the rule.
- Enabled bool
- Indicate whether the rule is enabled or not.
- Expiration
Get
Buckets Bucket Lifecycle Rule Expiration - A list of one element containing expiration attributes of an object. It contains the following attributes:
- Id string
- Unique ID of the rule.
- Prefix string
- Prefix applicable to a rule. Only those objects with a matching prefix can be affected by the rule.
- enabled Boolean
- Indicate whether the rule is enabled or not.
- expiration
Get
Buckets Bucket Lifecycle Rule Expiration - A list of one element containing expiration attributes of an object. It contains the following attributes:
- id String
- Unique ID of the rule.
- prefix String
- Prefix applicable to a rule. Only those objects with a matching prefix can be affected by the rule.
- enabled boolean
- Indicate whether the rule is enabled or not.
- expiration
Get
Buckets Bucket Lifecycle Rule Expiration - A list of one element containing expiration attributes of an object. It contains the following attributes:
- id string
- Unique ID of the rule.
- prefix string
- Prefix applicable to a rule. Only those objects with a matching prefix can be affected by the rule.
- enabled bool
- Indicate whether the rule is enabled or not.
- expiration
Get
Buckets Bucket Lifecycle Rule Expiration - A list of one element containing expiration attributes of an object. It contains the following attributes:
- id str
- Unique ID of the rule.
- prefix str
- Prefix applicable to a rule. Only those objects with a matching prefix can be affected by the rule.
- enabled Boolean
- Indicate whether the rule is enabled or not.
- expiration Property Map
- A list of one element containing expiration attributes of an object. It contains the following attributes:
- id String
- Unique ID of the rule.
- prefix String
- Prefix applicable to a rule. Only those objects with a matching prefix can be affected by the rule.
GetBucketsBucketLifecycleRuleExpiration
GetBucketsBucketLogging
- Target
Bucket string - Bucket for storing access logs.
- Target
Prefix string - Prefix of the saved access log file paths.
- Target
Bucket string - Bucket for storing access logs.
- Target
Prefix string - Prefix of the saved access log file paths.
- target
Bucket String - Bucket for storing access logs.
- target
Prefix String - Prefix of the saved access log file paths.
- target
Bucket string - Bucket for storing access logs.
- target
Prefix string - Prefix of the saved access log file paths.
- target_
bucket str - Bucket for storing access logs.
- target_
prefix str - Prefix of the saved access log file paths.
- target
Bucket String - Bucket for storing access logs.
- target
Prefix String - Prefix of the saved access log file paths.
GetBucketsBucketRefererConfig
- Allow
Empty bool - Indicate whether the access request referer field can be empty.
- Referers List<string>
- Referer access whitelist.
- Allow
Empty bool - Indicate whether the access request referer field can be empty.
- Referers []string
- Referer access whitelist.
- allow
Empty Boolean - Indicate whether the access request referer field can be empty.
- referers List<String>
- Referer access whitelist.
- allow
Empty boolean - Indicate whether the access request referer field can be empty.
- referers string[]
- Referer access whitelist.
- allow_
empty bool - Indicate whether the access request referer field can be empty.
- referers Sequence[str]
- Referer access whitelist.
- allow
Empty Boolean - Indicate whether the access request referer field can be empty.
- referers List<String>
- Referer access whitelist.
GetBucketsBucketServerSideEncryptionRule
- Kms
Master stringKey Id - The alibaba cloud KMS master key ID used for the SSE-KMS encryption.
- Sse
Algorithm string - The server-side encryption algorithm to use.
- Kms
Master stringKey Id - The alibaba cloud KMS master key ID used for the SSE-KMS encryption.
- Sse
Algorithm string - The server-side encryption algorithm to use.
- kms
Master StringKey Id - The alibaba cloud KMS master key ID used for the SSE-KMS encryption.
- sse
Algorithm String - The server-side encryption algorithm to use.
- kms
Master stringKey Id - The alibaba cloud KMS master key ID used for the SSE-KMS encryption.
- sse
Algorithm string - The server-side encryption algorithm to use.
- kms_
master_ strkey_ id - The alibaba cloud KMS master key ID used for the SSE-KMS encryption.
- sse_
algorithm str - The server-side encryption algorithm to use.
- kms
Master StringKey Id - The alibaba cloud KMS master key ID used for the SSE-KMS encryption.
- sse
Algorithm String - The server-side encryption algorithm to use.
GetBucketsBucketVersioning
- Status string
- A bucket versioning state. Possible values:
Enabled
andSuspended
.
- Status string
- A bucket versioning state. Possible values:
Enabled
andSuspended
.
- status String
- A bucket versioning state. Possible values:
Enabled
andSuspended
.
- status string
- A bucket versioning state. Possible values:
Enabled
andSuspended
.
- status str
- A bucket versioning state. Possible values:
Enabled
andSuspended
.
- status String
- A bucket versioning state. Possible values:
Enabled
andSuspended
.
GetBucketsBucketWebsite
- Error
Document string - Key of the HTML document containing the error page.
- Index
Document string - Key of the HTML document containing the home page.
- Error
Document string - Key of the HTML document containing the error page.
- Index
Document string - Key of the HTML document containing the home page.
- error
Document String - Key of the HTML document containing the error page.
- index
Document String - Key of the HTML document containing the home page.
- error
Document string - Key of the HTML document containing the error page.
- index
Document string - Key of the HTML document containing the home page.
- error_
document str - Key of the HTML document containing the error page.
- index_
document str - Key of the HTML document containing the home page.
- error
Document String - Key of the HTML document containing the error page.
- index
Document String - Key of the HTML document containing the home page.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.