1. Packages
  2. Harness Provider
  3. API Docs
  4. autostopping
  5. getAwsAlb
Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
harness logo
Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi

    Data source for AWS Autostopping proxy

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    variables:
      test:
        fn::invoke:
          function: harness:autostopping:getAwsAlb
          arguments:
            identifier: identifier
    

    Using getAwsAlb

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAwsAlb(args: GetAwsAlbArgs, opts?: InvokeOptions): Promise<GetAwsAlbResult>
    function getAwsAlbOutput(args: GetAwsAlbOutputArgs, opts?: InvokeOptions): Output<GetAwsAlbResult>
    def get_aws_alb(alb_arn: Optional[str] = None,
                    certificate_id: Optional[str] = None,
                    cloud_connector_id: Optional[str] = None,
                    delete_cloud_resources_on_destroy: Optional[bool] = None,
                    name: Optional[str] = None,
                    region: Optional[str] = None,
                    security_groups: Optional[Sequence[str]] = None,
                    vpc: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetAwsAlbResult
    def get_aws_alb_output(alb_arn: Optional[pulumi.Input[str]] = None,
                    certificate_id: Optional[pulumi.Input[str]] = None,
                    cloud_connector_id: Optional[pulumi.Input[str]] = None,
                    delete_cloud_resources_on_destroy: Optional[pulumi.Input[bool]] = None,
                    name: Optional[pulumi.Input[str]] = None,
                    region: Optional[pulumi.Input[str]] = None,
                    security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                    vpc: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetAwsAlbResult]
    func LookupAwsAlb(ctx *Context, args *LookupAwsAlbArgs, opts ...InvokeOption) (*LookupAwsAlbResult, error)
    func LookupAwsAlbOutput(ctx *Context, args *LookupAwsAlbOutputArgs, opts ...InvokeOption) LookupAwsAlbResultOutput

    > Note: This function is named LookupAwsAlb in the Go SDK.

    public static class GetAwsAlb 
    {
        public static Task<GetAwsAlbResult> InvokeAsync(GetAwsAlbArgs args, InvokeOptions? opts = null)
        public static Output<GetAwsAlbResult> Invoke(GetAwsAlbInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAwsAlbResult> getAwsAlb(GetAwsAlbArgs args, InvokeOptions options)
    public static Output<GetAwsAlbResult> getAwsAlb(GetAwsAlbArgs args, InvokeOptions options)
    
    fn::invoke:
      function: harness:autostopping/getAwsAlb:getAwsAlb
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CloudConnectorId string
    Id of the cloud connector
    DeleteCloudResourcesOnDestroy bool
    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.
    Name string
    Name of the proxy
    Region string
    Region in which cloud resources are hosted
    Vpc string
    VPC in which cloud resources are hosted
    AlbArn string
    Arn of AWS ALB to be imported. Required only for importing existing ALB
    CertificateId string
    SecurityGroups List<string>
    Security Group to define the security rules that determine the inbound and outbound traffic
    CloudConnectorId string
    Id of the cloud connector
    DeleteCloudResourcesOnDestroy bool
    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.
    Name string
    Name of the proxy
    Region string
    Region in which cloud resources are hosted
    Vpc string
    VPC in which cloud resources are hosted
    AlbArn string
    Arn of AWS ALB to be imported. Required only for importing existing ALB
    CertificateId string
    SecurityGroups []string
    Security Group to define the security rules that determine the inbound and outbound traffic
    cloudConnectorId String
    Id of the cloud connector
    deleteCloudResourcesOnDestroy Boolean
    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.
    name String
    Name of the proxy
    region String
    Region in which cloud resources are hosted
    vpc String
    VPC in which cloud resources are hosted
    albArn String
    Arn of AWS ALB to be imported. Required only for importing existing ALB
    certificateId String
    securityGroups List<String>
    Security Group to define the security rules that determine the inbound and outbound traffic
    cloudConnectorId string
    Id of the cloud connector
    deleteCloudResourcesOnDestroy boolean
    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.
    name string
    Name of the proxy
    region string
    Region in which cloud resources are hosted
    vpc string
    VPC in which cloud resources are hosted
    albArn string
    Arn of AWS ALB to be imported. Required only for importing existing ALB
    certificateId string
    securityGroups string[]
    Security Group to define the security rules that determine the inbound and outbound traffic
    cloud_connector_id str
    Id of the cloud connector
    delete_cloud_resources_on_destroy bool
    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.
    name str
    Name of the proxy
    region str
    Region in which cloud resources are hosted
    vpc str
    VPC in which cloud resources are hosted
    alb_arn str
    Arn of AWS ALB to be imported. Required only for importing existing ALB
    certificate_id str
    security_groups Sequence[str]
    Security Group to define the security rules that determine the inbound and outbound traffic
    cloudConnectorId String
    Id of the cloud connector
    deleteCloudResourcesOnDestroy Boolean
    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.
    name String
    Name of the proxy
    region String
    Region in which cloud resources are hosted
    vpc String
    VPC in which cloud resources are hosted
    albArn String
    Arn of AWS ALB to be imported. Required only for importing existing ALB
    certificateId String
    securityGroups List<String>
    Security Group to define the security rules that determine the inbound and outbound traffic

    getAwsAlb Result

    The following output properties are available:

    CloudConnectorId string
    Id of the cloud connector
    DeleteCloudResourcesOnDestroy bool
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Unique identifier of the resource
    Name string
    Name of the proxy
    Region string
    Region in which cloud resources are hosted
    Vpc string
    VPC in which cloud resources are hosted
    AlbArn string
    Arn of AWS ALB to be imported. Required only for importing existing ALB
    CertificateId string
    SecurityGroups List<string>
    Security Group to define the security rules that determine the inbound and outbound traffic
    CloudConnectorId string
    Id of the cloud connector
    DeleteCloudResourcesOnDestroy bool
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Unique identifier of the resource
    Name string
    Name of the proxy
    Region string
    Region in which cloud resources are hosted
    Vpc string
    VPC in which cloud resources are hosted
    AlbArn string
    Arn of AWS ALB to be imported. Required only for importing existing ALB
    CertificateId string
    SecurityGroups []string
    Security Group to define the security rules that determine the inbound and outbound traffic
    cloudConnectorId String
    Id of the cloud connector
    deleteCloudResourcesOnDestroy Boolean
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Unique identifier of the resource
    name String
    Name of the proxy
    region String
    Region in which cloud resources are hosted
    vpc String
    VPC in which cloud resources are hosted
    albArn String
    Arn of AWS ALB to be imported. Required only for importing existing ALB
    certificateId String
    securityGroups List<String>
    Security Group to define the security rules that determine the inbound and outbound traffic
    cloudConnectorId string
    Id of the cloud connector
    deleteCloudResourcesOnDestroy boolean
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    identifier string
    Unique identifier of the resource
    name string
    Name of the proxy
    region string
    Region in which cloud resources are hosted
    vpc string
    VPC in which cloud resources are hosted
    albArn string
    Arn of AWS ALB to be imported. Required only for importing existing ALB
    certificateId string
    securityGroups string[]
    Security Group to define the security rules that determine the inbound and outbound traffic
    cloud_connector_id str
    Id of the cloud connector
    delete_cloud_resources_on_destroy bool
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    identifier str
    Unique identifier of the resource
    name str
    Name of the proxy
    region str
    Region in which cloud resources are hosted
    vpc str
    VPC in which cloud resources are hosted
    alb_arn str
    Arn of AWS ALB to be imported. Required only for importing existing ALB
    certificate_id str
    security_groups Sequence[str]
    Security Group to define the security rules that determine the inbound and outbound traffic
    cloudConnectorId String
    Id of the cloud connector
    deleteCloudResourcesOnDestroy Boolean
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Unique identifier of the resource
    name String
    Name of the proxy
    region String
    Region in which cloud resources are hosted
    vpc String
    VPC in which cloud resources are hosted
    albArn String
    Arn of AWS ALB to be imported. Required only for importing existing ALB
    certificateId String
    securityGroups List<String>
    Security Group to define the security rules that determine the inbound and outbound traffic

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Viewing docs for Harness v0.11.7
    published on Friday, Mar 20, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.