import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a single configurable setting for an AWS Directory Service directory, such as enabling or disabling a TLS protocol version. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const exampleDirectory = new aws.directoryservice.Directory("example", { * vpcSettings: { * vpcId: exampleAwsVpc.id, * subnetIds: exampleAwsSubnet.map(__item => __item.id), * }, * name: "corp.example.com", * password: "SuperSecretPassw0rd", * type: "MicrosoftAD", * }); * const example = new aws.directoryservice.DirectorySetting("example", { * directoryId: exampleDirectory.id, * name: "TLS_1_0", * value: "Disable", * }); * ``` * * ## Import * * ### Identity Schema * * #### Required * * * `directoryId` (String) ID of the directory. * * `name` (String) Name of the directory setting. * * #### Optional * * * `accountId` (String) AWS Account where this resource is managed. * * `region` (String) Region where this resource is managed. * * Using `pulumi import`, import a directory setting using `directory_id,name`. For example: * * ```sh * $ pulumi import aws:directoryservice/directorySetting:DirectorySetting example d-1234567890,TLS_1_0 * ``` */ export declare class DirectorySetting extends pulumi.CustomResource { /** * Get an existing DirectorySetting 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, state?: DirectorySettingState, opts?: pulumi.CustomResourceOptions): DirectorySetting; /** * Check whether an existing DirectorySetting resource with the given ID exists. * * @param id The _unique_ provider ID of the resource to check. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static exists(id: pulumi.Input, state?: DirectorySettingState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of DirectorySetting. 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 DirectorySetting; /** * ID of the directory. */ readonly directoryId: pulumi.Output; /** * Name of the directory setting. For example, `TLS_1_0`. */ readonly name: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; readonly timeouts: pulumi.Output; /** * Type of the directory setting. */ readonly type: pulumi.Output; /** * Value of the directory setting. For example, `Disable` or `Enable`. * * The following arguments are optional: */ readonly value: pulumi.Output; /** * Create a DirectorySetting 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: DirectorySettingArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DirectorySetting resources. */ export interface DirectorySettingState { /** * ID of the directory. */ directoryId?: pulumi.Input; /** * Name of the directory setting. For example, `TLS_1_0`. */ name?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; timeouts?: pulumi.Input; /** * Type of the directory setting. */ type?: pulumi.Input; /** * Value of the directory setting. For example, `Disable` or `Enable`. * * The following arguments are optional: */ value?: pulumi.Input; } /** * The set of arguments for constructing a DirectorySetting resource. */ export interface DirectorySettingArgs { /** * ID of the directory. */ directoryId: pulumi.Input; /** * Name of the directory setting. For example, `TLS_1_0`. */ name?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; timeouts?: pulumi.Input; /** * Value of the directory setting. For example, `Disable` or `Enable`. * * The following arguments are optional: */ value: pulumi.Input; } //# sourceMappingURL=directorySetting.d.ts.map