import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Creates and manages an [AWS PrivateLink for Aiven services](https://aiven.io/docs/platform/howto/use-aws-privatelinks) in a VPC. If this resource is missing (for example, after a service power off), it's removed from the state and a new create plan is generated. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = new aiven.AwsPrivatelink("example", { * project: "my-project", * serviceName: "foo", * principals: ["arn:aws:iam::012345678901:root"], * supportedRegions: ["eu-west-1"], * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/awsPrivatelink:AwsPrivatelink example PROJECT/SERVICE_NAME * ``` */ export declare class AwsPrivatelink extends pulumi.CustomResource { /** * Get an existing AwsPrivatelink 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?: AwsPrivatelinkState, opts?: pulumi.CustomResourceOptions): AwsPrivatelink; /** * Returns true if the given object is an instance of AwsPrivatelink. 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 AwsPrivatelink; /** * AWS VPC endpoint service ID. */ readonly awsServiceId: pulumi.Output; /** * AWS VPC endpoint service name. */ readonly awsServiceName: pulumi.Output; /** * ARNs of principals allowed connecting to the service. */ readonly principals: pulumi.Output; /** * Project name. Changing this property forces recreation of the resource. */ readonly project: pulumi.Output; /** * Service name. Changing this property forces recreation of the resource. */ readonly serviceName: pulumi.Output; /** * Privatelink resource state. The possible values are `active`, `creating` and `deleting`. */ readonly state: pulumi.Output; /** * Allow new connections to the endpoint from these regions, in addition to the region the endpoint is in. */ readonly supportedRegions: pulumi.Output; readonly timeouts: pulumi.Output; /** * Create a AwsPrivatelink 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: AwsPrivatelinkArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AwsPrivatelink resources. */ export interface AwsPrivatelinkState { /** * AWS VPC endpoint service ID. */ awsServiceId?: pulumi.Input; /** * AWS VPC endpoint service name. */ awsServiceName?: pulumi.Input; /** * ARNs of principals allowed connecting to the service. */ principals?: pulumi.Input[] | undefined>; /** * Project name. Changing this property forces recreation of the resource. */ project?: pulumi.Input; /** * Service name. Changing this property forces recreation of the resource. */ serviceName?: pulumi.Input; /** * Privatelink resource state. The possible values are `active`, `creating` and `deleting`. */ state?: pulumi.Input; /** * Allow new connections to the endpoint from these regions, in addition to the region the endpoint is in. */ supportedRegions?: pulumi.Input[] | undefined>; timeouts?: pulumi.Input; } /** * The set of arguments for constructing a AwsPrivatelink resource. */ export interface AwsPrivatelinkArgs { /** * ARNs of principals allowed connecting to the service. */ principals: pulumi.Input[]>; /** * Project name. Changing this property forces recreation of the resource. */ project: pulumi.Input; /** * Service name. Changing this property forces recreation of the resource. */ serviceName: pulumi.Input; /** * Allow new connections to the endpoint from these regions, in addition to the region the endpoint is in. */ supportedRegions?: pulumi.Input[] | undefined>; timeouts?: pulumi.Input; } //# sourceMappingURL=awsPrivatelink.d.ts.map