import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Amazon OpenSearchServerless security config resource * * ## Example Usage * ### Example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws_native from "@pulumi/aws-native"; * * const testSecurityConfig = new aws_native.opensearchserverless.SecurityConfig("testSecurityConfig", { * name: "my-provider", * type: aws_native.opensearchserverless.SecurityConfigType.Saml, * description: "Serverless SAML configuration", * samlOptions: { * metadata: "Mfoobarurn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress", * userAttribute: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier", * groupAttribute: "ALLGroups", * sessionTimeout: 120, * }, * }); * * ``` * ### Example * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws_native from "@pulumi/aws-native"; * * const testSecurityConfig = new aws_native.opensearchserverless.SecurityConfig("testSecurityConfig", { * name: "my-provider", * type: aws_native.opensearchserverless.SecurityConfigType.Saml, * description: "Serverless SAML configuration", * samlOptions: { * metadata: "Mfoobarurn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress", * userAttribute: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier", * groupAttribute: "ALLGroups", * sessionTimeout: 120, * }, * }); * * ``` */ 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, 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 identifier of the security config */ readonly awsId: pulumi.Output; /** * Security config description */ readonly description: pulumi.Output; /** * Describes IAM federation options in the form of a key-value map. Contains configuration details about how OpenSearch Serverless integrates with external identity providers through federation. */ readonly iamFederationOptions: pulumi.Output; /** * Describes IAM Identity Center options in the form of a key-value map. */ readonly iamIdentityCenterOptions: pulumi.Output; /** * The friendly name of the security config */ readonly name: pulumi.Output; /** * SAML options for the security configuration in the form of a key-value map. */ readonly samlOptions: pulumi.Output; /** * The type of security configuration. Currently the only option is `saml` . */ readonly type: pulumi.Output; /** * 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); } /** * The set of arguments for constructing a SecurityConfig resource. */ export interface SecurityConfigArgs { /** * Security config description */ description?: pulumi.Input; /** * Describes IAM federation options in the form of a key-value map. Contains configuration details about how OpenSearch Serverless integrates with external identity providers through federation. */ iamFederationOptions?: pulumi.Input; /** * Describes IAM Identity Center options in the form of a key-value map. */ iamIdentityCenterOptions?: pulumi.Input; /** * The friendly name of the security config */ name?: pulumi.Input; /** * SAML options for the security configuration in the form of a key-value map. */ samlOptions?: pulumi.Input; /** * The type of security configuration. Currently the only option is `saml` . */ type?: pulumi.Input; }