import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an AWS Config connector that specifies the connection between a third-party cloud service provider and AWS Config. * * A connector is a prerequisite for recording third-party (multi-cloud) resource configurations. For example, it provides the `arn` referenced by the `azure` provider block of `aws.securityhub.ConnectorV2` to enable Microsoft Azure coverage in Security Hub. * * > **NOTE:** Creating this resource also creates the `AWSServiceRoleForConfigThirdParty` service-linked role in your account if it does not already exist. * * > **NOTE:** Connectors cannot be updated in place. Changing the `azure` configuration forces a new resource to be created. * * Before creating a connector, you must configure the corresponding application and federated credentials in your Azure environment. See the [Security Hub Azure integration prerequisites](https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-v2-azure-prereqs.html) for details. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.cfg.Connector("example", {connectorConfiguration: { * azure: { * clientIdentifier: "00000000-0000-0000-0000-000000000000", * tenantIdentifier: "11111111-1111-1111-1111-111111111111", * }, * }}); * ``` * * ## Import * * ### Identity Schema * * #### Required * * * `arn` (String) ARN of the connector. * * Using `pulumi import`, import Config connectors using the `arn`. For example: * * ```sh * $ pulumi import aws:cfg/connector:Connector example arn:aws:config:us-east-1:123456789012:connector/00000000-0000-0000-0000-000000000000 * ``` */ export declare class Connector extends pulumi.CustomResource { /** * Get an existing Connector 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?: ConnectorState, opts?: pulumi.CustomResourceOptions): Connector; /** * Check whether an existing Connector 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?: ConnectorState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of Connector. 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 Connector; /** * ARN of the connector. */ readonly arn: pulumi.Output; /** * Provider-specific configuration for connecting to the third-party cloud service provider. See `connectorConfiguration` Block below. * * The following arguments are optional: */ readonly connectorConfiguration: pulumi.Output; /** * Name of the connector. */ 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; /** * Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; /** * Create a Connector 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: ConnectorArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Connector resources. */ export interface ConnectorState { /** * ARN of the connector. */ arn?: pulumi.Input; /** * Provider-specific configuration for connecting to the third-party cloud service provider. See `connectorConfiguration` Block below. * * The following arguments are optional: */ connectorConfiguration?: pulumi.Input; /** * Name of the connector. */ 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; /** * Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } /** * The set of arguments for constructing a Connector resource. */ export interface ConnectorArgs { /** * Provider-specific configuration for connecting to the third-party cloud service provider. See `connectorConfiguration` Block below. * * The following arguments are optional: */ connectorConfiguration: 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; /** * Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=connector.d.ts.map