UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

108 lines (107 loc) 3.72 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource to manage iam security config * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@volcengine/pulumi"; * * const foo = new volcengine.iam.SecurityConfig("foo", { * safeAuthExemptDuration: 11, * safeAuthType: "email", * userName: "jonny", * }); * ``` * * ## Import * * Iam SecurityConfig key don't support import */ export declare class SecurityConfig extends pulumi.CustomResource { /** * Get an existing SecurityConfig resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecurityConfigState, opts?: pulumi.CustomResourceOptions): SecurityConfig; /** * Returns true if the given object is an instance of SecurityConfig. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is SecurityConfig; /** * The status of safe auth, Ensure the setting scope is for a single sub-account only. */ readonly safeAuthClose: pulumi.Output<number>; /** * The exempt duration of safe auth, Ensure the setting scope is for a single sub-account only. */ readonly safeAuthExemptDuration: pulumi.Output<number | undefined>; /** * The type of safe auth, Ensure the setting scope is for a single sub-account only. */ readonly safeAuthType: pulumi.Output<string>; /** * The user id. */ readonly userId: pulumi.Output<number>; /** * The user name. */ readonly userName: pulumi.Output<string>; /** * Create a SecurityConfig resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: SecurityConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SecurityConfig resources. */ export interface SecurityConfigState { /** * The status of safe auth, Ensure the setting scope is for a single sub-account only. */ safeAuthClose?: pulumi.Input<number>; /** * The exempt duration of safe auth, Ensure the setting scope is for a single sub-account only. */ safeAuthExemptDuration?: pulumi.Input<number>; /** * The type of safe auth, Ensure the setting scope is for a single sub-account only. */ safeAuthType?: pulumi.Input<string>; /** * The user id. */ userId?: pulumi.Input<number>; /** * The user name. */ userName?: pulumi.Input<string>; } /** * The set of arguments for constructing a SecurityConfig resource. */ export interface SecurityConfigArgs { /** * The exempt duration of safe auth, Ensure the setting scope is for a single sub-account only. */ safeAuthExemptDuration?: pulumi.Input<number>; /** * The type of safe auth, Ensure the setting scope is for a single sub-account only. */ safeAuthType: pulumi.Input<string>; /** * The user name. */ userName: pulumi.Input<string>; }