Viewing docs for volcenginecc v0.0.39
published on Monday, Jun 1, 2026 by Volcengine
published on Monday, Jun 1, 2026 by Volcengine
Viewing docs for volcenginecc v0.0.39
published on Monday, Jun 1, 2026 by Volcengine
published on Monday, Jun 1, 2026 by Volcengine
Data Source schema for Volcengine::TOS::BucketCors
Using getBucketCors
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 getBucketCors(args: GetBucketCorsArgs, opts?: InvokeOptions): Promise<GetBucketCorsResult>
function getBucketCorsOutput(args: GetBucketCorsOutputArgs, opts?: InvokeOptions): Output<GetBucketCorsResult>def get_bucket_cors(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBucketCorsResult
def get_bucket_cors_output(id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBucketCorsResult]func LookupBucketCors(ctx *Context, args *LookupBucketCorsArgs, opts ...InvokeOption) (*LookupBucketCorsResult, error)
func LookupBucketCorsOutput(ctx *Context, args *LookupBucketCorsOutputArgs, opts ...InvokeOption) LookupBucketCorsResultOutput> Note: This function is named LookupBucketCors in the Go SDK.
public static class GetBucketCors
{
public static Task<GetBucketCorsResult> InvokeAsync(GetBucketCorsArgs args, InvokeOptions? opts = null)
public static Output<GetBucketCorsResult> Invoke(GetBucketCorsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBucketCorsResult> getBucketCors(GetBucketCorsArgs args, InvokeOptions options)
public static Output<GetBucketCorsResult> getBucketCors(GetBucketCorsArgs args, InvokeOptions options)
fn::invoke:
function: volcenginecc:tos/getBucketCors:getBucketCors
arguments:
# arguments dictionarydata "volcenginecc_tos_getbucketcors" "name" {
# arguments
}The following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getBucketCors Result
The following output properties are available:
- Bucket
Name string - Bucket name.
- Cors
Rules List<Volcengine.Get Bucket Cors Cors Rule> - CORS rule information.
- Id string
- Uniquely identifies the resource.
- Bucket
Name string - Bucket name.
- Cors
Rules []GetBucket Cors Cors Rule - CORS rule information.
- Id string
- Uniquely identifies the resource.
- bucket_
name string - Bucket name.
- cors_
rules list(object) - CORS rule information.
- id string
- Uniquely identifies the resource.
- bucket
Name String - Bucket name.
- cors
Rules List<GetBucket Cors Cors Rule> - CORS rule information.
- id String
- Uniquely identifies the resource.
- bucket
Name string - Bucket name.
- cors
Rules GetBucket Cors Cors Rule[] - CORS rule information.
- id string
- Uniquely identifies the resource.
- bucket_
name str - Bucket name.
- cors_
rules Sequence[GetBucket Cors Cors Rule] - CORS rule information.
- id str
- Uniquely identifies the resource.
- bucket
Name String - Bucket name.
- cors
Rules List<Property Map> - CORS rule information.
- id String
- Uniquely identifies the resource.
Supporting Types
GetBucketCorsCorsRule
- Allowed
Headers List<string> - Specify the response headers allowed for cross-origin requests.
- Allowed
Methods List<string> - Specify the allowed methods for cross-origin requests.
- Allowed
Origins List<string> - Specify the allowed origins for cross-origin requests.
- Expose
Headers List<string> - Specify additional headers to include in the CORS response to provide extra information to the client.
- Max
Age intSeconds - Specify the cache duration for OPTIONS request responses on the client side, in seconds. Default is 3600.
- Response
Vary bool - Whether to return the Vary: Origin header
- Allowed
Headers []string - Specify the response headers allowed for cross-origin requests.
- Allowed
Methods []string - Specify the allowed methods for cross-origin requests.
- Allowed
Origins []string - Specify the allowed origins for cross-origin requests.
- Expose
Headers []string - Specify additional headers to include in the CORS response to provide extra information to the client.
- Max
Age intSeconds - Specify the cache duration for OPTIONS request responses on the client side, in seconds. Default is 3600.
- Response
Vary bool - Whether to return the Vary: Origin header
- allowed_
headers list(string) - Specify the response headers allowed for cross-origin requests.
- allowed_
methods list(string) - Specify the allowed methods for cross-origin requests.
- allowed_
origins list(string) - Specify the allowed origins for cross-origin requests.
- expose_
headers list(string) - Specify additional headers to include in the CORS response to provide extra information to the client.
- max_
age_ numberseconds - Specify the cache duration for OPTIONS request responses on the client side, in seconds. Default is 3600.
- response_
vary bool - Whether to return the Vary: Origin header
- allowed
Headers List<String> - Specify the response headers allowed for cross-origin requests.
- allowed
Methods List<String> - Specify the allowed methods for cross-origin requests.
- allowed
Origins List<String> - Specify the allowed origins for cross-origin requests.
- expose
Headers List<String> - Specify additional headers to include in the CORS response to provide extra information to the client.
- max
Age IntegerSeconds - Specify the cache duration for OPTIONS request responses on the client side, in seconds. Default is 3600.
- response
Vary Boolean - Whether to return the Vary: Origin header
- allowed
Headers string[] - Specify the response headers allowed for cross-origin requests.
- allowed
Methods string[] - Specify the allowed methods for cross-origin requests.
- allowed
Origins string[] - Specify the allowed origins for cross-origin requests.
- expose
Headers string[] - Specify additional headers to include in the CORS response to provide extra information to the client.
- max
Age numberSeconds - Specify the cache duration for OPTIONS request responses on the client side, in seconds. Default is 3600.
- response
Vary boolean - Whether to return the Vary: Origin header
- allowed_
headers Sequence[str] - Specify the response headers allowed for cross-origin requests.
- allowed_
methods Sequence[str] - Specify the allowed methods for cross-origin requests.
- allowed_
origins Sequence[str] - Specify the allowed origins for cross-origin requests.
- expose_
headers Sequence[str] - Specify additional headers to include in the CORS response to provide extra information to the client.
- max_
age_ intseconds - Specify the cache duration for OPTIONS request responses on the client side, in seconds. Default is 3600.
- response_
vary bool - Whether to return the Vary: Origin header
- allowed
Headers List<String> - Specify the response headers allowed for cross-origin requests.
- allowed
Methods List<String> - Specify the allowed methods for cross-origin requests.
- allowed
Origins List<String> - Specify the allowed origins for cross-origin requests.
- expose
Headers List<String> - Specify additional headers to include in the CORS response to provide extra information to the client.
- max
Age NumberSeconds - Specify the cache duration for OPTIONS request responses on the client side, in seconds. Default is 3600.
- response
Vary Boolean - Whether to return the Vary: Origin header
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
Viewing docs for volcenginecc v0.0.39
published on Monday, Jun 1, 2026 by Volcengine
published on Monday, Jun 1, 2026 by Volcengine