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 security configs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.iam.getSecurityConfigs({
userName: "jonny",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.iam.get_security_configs(user_name="jonny")
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.GetSecurityConfigs(ctx, &iam.GetSecurityConfigsArgs{
UserName: "jonny",
}, 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.GetSecurityConfigs.Invoke(new()
{
UserName = "jonny",
});
});
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.GetSecurityConfigsArgs;
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.getSecurityConfigs(GetSecurityConfigsArgs.builder()
.userName("jonny")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:iam:getSecurityConfigs
Arguments:
userName: jonny
Using getSecurityConfigs
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 getSecurityConfigs(args: GetSecurityConfigsArgs, opts?: InvokeOptions): Promise<GetSecurityConfigsResult>
function getSecurityConfigsOutput(args: GetSecurityConfigsOutputArgs, opts?: InvokeOptions): Output<GetSecurityConfigsResult>def get_security_configs(output_file: Optional[str] = None,
user_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSecurityConfigsResult
def get_security_configs_output(output_file: Optional[pulumi.Input[str]] = None,
user_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSecurityConfigsResult]func GetSecurityConfigs(ctx *Context, args *GetSecurityConfigsArgs, opts ...InvokeOption) (*GetSecurityConfigsResult, error)
func GetSecurityConfigsOutput(ctx *Context, args *GetSecurityConfigsOutputArgs, opts ...InvokeOption) GetSecurityConfigsResultOutput> Note: This function is named GetSecurityConfigs in the Go SDK.
public static class GetSecurityConfigs
{
public static Task<GetSecurityConfigsResult> InvokeAsync(GetSecurityConfigsArgs args, InvokeOptions? opts = null)
public static Output<GetSecurityConfigsResult> Invoke(GetSecurityConfigsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSecurityConfigsResult> getSecurityConfigs(GetSecurityConfigsArgs args, InvokeOptions options)
public static Output<GetSecurityConfigsResult> getSecurityConfigs(GetSecurityConfigsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:iam/getSecurityConfigs:getSecurityConfigs
arguments:
# arguments dictionaryThe following arguments are supported:
- User
Name string - The user name.
- Output
File string - File name where to save data source results.
- User
Name string - The user name.
- Output
File string - File name where to save data source results.
- user
Name String - The user name.
- output
File String - File name where to save data source results.
- user
Name string - The user name.
- output
File string - File name where to save data source results.
- user_
name str - The user name.
- output_
file str - File name where to save data source results.
- user
Name String - The user name.
- output
File String - File name where to save data source results.
getSecurityConfigs Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Security
Configs List<GetSecurity Configs Security Config> - The collection of security configs.
- User
Name string - The user name.
- Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Security
Configs []GetSecurity Configs Security Config - The collection of security configs.
- User
Name string - The user name.
- Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- security
Configs List<GetSecurity Configs Security Config> - The collection of security configs.
- user
Name String - The user name.
- output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- security
Configs GetSecurity Configs Security Config[] - The collection of security configs.
- user
Name string - The user name.
- output
File string
- id str
- The provider-assigned unique ID for this managed resource.
- security_
configs Sequence[GetSecurity Configs Security Config] - The collection of security configs.
- user_
name str - The user name.
- output_
file str
- id String
- The provider-assigned unique ID for this managed resource.
- security
Configs List<Property Map> - The collection of security configs.
- user
Name String - The user name.
- output
File String
Supporting Types
GetSecurityConfigsSecurityConfig
- Safe
Auth intClose - The status of safe auth.
- Safe
Auth intExempt Duration - The exempt duration of safe auth.
- Safe
Auth stringType - The type of safe auth.
- User
Id int - The user id.
- User
Name string - The user name.
- Safe
Auth intClose - The status of safe auth.
- Safe
Auth intExempt Duration - The exempt duration of safe auth.
- Safe
Auth stringType - The type of safe auth.
- User
Id int - The user id.
- User
Name string - The user name.
- safe
Auth IntegerClose - The status of safe auth.
- safe
Auth IntegerExempt Duration - The exempt duration of safe auth.
- safe
Auth StringType - The type of safe auth.
- user
Id Integer - The user id.
- user
Name String - The user name.
- safe
Auth numberClose - The status of safe auth.
- safe
Auth numberExempt Duration - The exempt duration of safe auth.
- safe
Auth stringType - The type of safe auth.
- user
Id number - The user id.
- user
Name string - The user name.
- safe_
auth_ intclose - The status of safe auth.
- safe_
auth_ intexempt_ duration - The exempt duration of safe auth.
- safe_
auth_ strtype - The type of safe auth.
- user_
id int - The user id.
- user_
name str - The user name.
- safe
Auth NumberClose - The status of safe auth.
- safe
Auth NumberExempt Duration - The exempt duration of safe auth.
- safe
Auth StringType - The type of safe auth.
- user
Id Number - The user id.
- user
Name String - The user name.
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
