Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Deprecated: volcengine.iam.CallerIdentities has been deprecated in favor of volcengine.iam.getCallerIdentities
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 CallerIdentities
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 callerIdentities(args: CallerIdentitiesArgs, opts?: InvokeOptions): Promise<CallerIdentitiesResult>
function callerIdentitiesOutput(args: CallerIdentitiesOutputArgs, opts?: InvokeOptions): Output<CallerIdentitiesResult>def caller_identities(output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> CallerIdentitiesResult
def caller_identities_output(output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[CallerIdentitiesResult]func CallerIdentities(ctx *Context, args *CallerIdentitiesArgs, opts ...InvokeOption) (*CallerIdentitiesResult, error)
func CallerIdentitiesOutput(ctx *Context, args *CallerIdentitiesOutputArgs, opts ...InvokeOption) CallerIdentitiesResultOutputpublic static class CallerIdentities
{
public static Task<CallerIdentitiesResult> InvokeAsync(CallerIdentitiesArgs args, InvokeOptions? opts = null)
public static Output<CallerIdentitiesResult> Invoke(CallerIdentitiesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<CallerIdentitiesResult> callerIdentities(CallerIdentitiesArgs args, InvokeOptions options)
public static Output<CallerIdentitiesResult> callerIdentities(CallerIdentitiesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:iam:CallerIdentities
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.
CallerIdentities Result
The following output properties are available:
- Caller
Identities List<CallerIdentities 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 []CallerIdentities 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<CallerIdentities 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 CallerIdentities 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[CallerIdentities 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
CallerIdentitiesCallerIdentity
- 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.
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
