import * as pulumi from "@pulumi/pulumi"; /** * Resource for creating an AWS application load balancer * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const test = new harness.autostopping.AwsAlb("test", { * name: "name", * cloudConnectorId: "cloud_connector_id", * hostName: "host_name", * region: "region", * vpc: "vpc", * securityGroups: [ * "sg1", * "sg2", * ], * deleteCloudResourcesOnDestroy: true, * }); * const harnessAlb = new harness.autostopping.AwsAlb("harness_alb", { * name: "harness_alb", * cloudConnectorId: "cloud_connector_id", * hostName: "host.name", * albArn: "arn:aws:elasticloadbalancing:region:aws_account_id:loadbalancer/app/harness_alb/id", * region: "region", * vpc: "vpc", * securityGroups: ["sg-0"], * deleteCloudResourcesOnDestroy: false, * }); * ``` */ export declare class AwsAlb extends pulumi.CustomResource { /** * Get an existing AwsAlb 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?: AwsAlbState, opts?: pulumi.CustomResourceOptions): AwsAlb; /** * Returns true if the given object is an instance of AwsAlb. 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 AwsAlb; /** * Arn of AWS ALB to be imported. Required only for importing existing ALB */ readonly albArn: pulumi.Output; readonly certificateId: pulumi.Output; /** * Id of the cloud connector */ readonly cloudConnectorId: pulumi.Output; /** * Governs how the loadabalancer entity will be deleted on Terraform destroy. When set to true, the associated ALB will be deleted permanently from AWS account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, leaving the cloud resources intact. */ readonly deleteCloudResourcesOnDestroy: pulumi.Output; /** * Unique identifier of the resource */ readonly identifier: pulumi.Output; /** * Name of the proxy */ readonly name: pulumi.Output; /** * Region in which cloud resources are hosted */ readonly region: pulumi.Output; /** * Security Group to define the security rules that determine the inbound and outbound traffic */ readonly securityGroups: pulumi.Output; /** * VPC in which cloud resources are hosted */ readonly vpc: pulumi.Output; /** * Create a AwsAlb 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: AwsAlbArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AwsAlb resources. */ export interface AwsAlbState { /** * Arn of AWS ALB to be imported. Required only for importing existing ALB */ albArn?: pulumi.Input; certificateId?: pulumi.Input; /** * Id of the cloud connector */ cloudConnectorId?: pulumi.Input; /** * Governs how the loadabalancer entity will be deleted on Terraform destroy. When set to true, the associated ALB will be deleted permanently from AWS account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, leaving the cloud resources intact. */ deleteCloudResourcesOnDestroy?: pulumi.Input; /** * Unique identifier of the resource */ identifier?: pulumi.Input; /** * Name of the proxy */ name?: pulumi.Input; /** * Region in which cloud resources are hosted */ region?: pulumi.Input; /** * Security Group to define the security rules that determine the inbound and outbound traffic */ securityGroups?: pulumi.Input[] | undefined>; /** * VPC in which cloud resources are hosted */ vpc?: pulumi.Input; } /** * The set of arguments for constructing a AwsAlb resource. */ export interface AwsAlbArgs { /** * Arn of AWS ALB to be imported. Required only for importing existing ALB */ albArn?: pulumi.Input; certificateId?: pulumi.Input; /** * Id of the cloud connector */ cloudConnectorId: pulumi.Input; /** * Governs how the loadabalancer entity will be deleted on Terraform destroy. When set to true, the associated ALB will be deleted permanently from AWS account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, leaving the cloud resources intact. */ deleteCloudResourcesOnDestroy: pulumi.Input; /** * Name of the proxy */ name?: pulumi.Input; /** * Region in which cloud resources are hosted */ region: pulumi.Input; /** * Security Group to define the security rules that determine the inbound and outbound traffic */ securityGroups?: pulumi.Input[] | undefined>; /** * VPC in which cloud resources are hosted */ vpc: pulumi.Input; } //# sourceMappingURL=awsAlb.d.ts.map