Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Use this data source to query detailed information of iam caller identities
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.iam.getCallerIdentities({});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.iam.get_caller_identities()
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/iam"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iam.GetCallerIdentities(ctx, nil, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Iam.GetCallerIdentities.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.iam.IamFunctions;
import com.pulumi.volcengine.iam.inputs.GetCallerIdentitiesArgs;
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 default = IamFunctions.getCallerIdentities();
}
}
variables:
default:
fn::invoke:
Function: volcengine:iam:getCallerIdentities
Arguments: {}
Using getCallerIdentities
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 getCallerIdentities(args: GetCallerIdentitiesArgs, opts?: InvokeOptions): Promise<GetCallerIdentitiesResult>
function getCallerIdentitiesOutput(args: GetCallerIdentitiesOutputArgs, opts?: InvokeOptions): Output<GetCallerIdentitiesResult>def get_caller_identities(output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCallerIdentitiesResult
def get_caller_identities_output(output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCallerIdentitiesResult]func GetCallerIdentities(ctx *Context, args *GetCallerIdentitiesArgs, opts ...InvokeOption) (*GetCallerIdentitiesResult, error)
func GetCallerIdentitiesOutput(ctx *Context, args *GetCallerIdentitiesOutputArgs, opts ...InvokeOption) GetCallerIdentitiesResultOutput> Note: This function is named GetCallerIdentities in the Go SDK.
public static class GetCallerIdentities
{
public static Task<GetCallerIdentitiesResult> InvokeAsync(GetCallerIdentitiesArgs args, InvokeOptions? opts = null)
public static Output<GetCallerIdentitiesResult> Invoke(GetCallerIdentitiesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCallerIdentitiesResult> getCallerIdentities(GetCallerIdentitiesArgs args, InvokeOptions options)
public static Output<GetCallerIdentitiesResult> getCallerIdentities(GetCallerIdentitiesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:iam/getCallerIdentities:getCallerIdentities
arguments:
# arguments dictionaryThe following arguments are supported:
- Output
File string - File name where to save data source results.
- Output
File string - File name where to save data source results.
- output
File String - File name where to save data source results.
- output
File string - File name where to save data source results.
- output_
file str - File name where to save data source results.
- output
File String - File name where to save data source results.
getCallerIdentities Result
The following output properties are available:
- Caller
Identities List<GetCaller Identities Caller Identity> - The collection of caller identities.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Output
File string
- Caller
Identities []GetCaller Identities Caller Identity - The collection of caller identities.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Output
File string
- caller
Identities List<GetCaller Identities Caller Identity> - The collection of caller identities.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- output
File String
- caller
Identities GetCaller Identities Caller Identity[] - The collection of caller identities.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- output
File string
- caller_
identities Sequence[GetCaller Identities Caller Identity] - The collection of caller identities.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of query.
- output_
file str
- caller
Identities List<Property Map> - The collection of caller identities.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- output
File String
Supporting Types
GetCallerIdentitiesCallerIdentity
- Account
Id string - The account id.
- Identity
Id string - The identity id.
- Identity
Type string - The identity type.
- Trn string
- The trn.
- Account
Id string - The account id.
- Identity
Id string - The identity id.
- Identity
Type string - The identity type.
- Trn string
- The trn.
- account
Id String - The account id.
- identity
Id String - The identity id.
- identity
Type String - The identity type.
- trn String
- The trn.
- account
Id string - The account id.
- identity
Id string - The identity id.
- identity
Type string - The identity type.
- trn string
- The trn.
- account_
id str - The account id.
- identity_
id str - The identity id.
- identity_
type str - The identity type.
- trn str
- The trn.
- account
Id String - The account id.
- identity
Id String - The identity id.
- identity
Type String - The identity type.
- trn String
- The trn.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
