Harness v0.4.4 published on Tuesday, Nov 12, 2024 by Pulumi
harness.autostopping.getAwsAlb
Explore with Pulumi AI
Data source for AWS Autostopping proxy
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.autostopping.AutostoppingFunctions;
import com.pulumi.harness.autostopping.inputs.GetAwsAlbArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = AutostoppingFunctions.getAwsAlb(GetAwsAlbArgs.builder()
.identifier("identifier")
.build());
}
}
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,
host_name: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
route53_hosted_zone_id: 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,
host_name: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
route53_hosted_zone_id: 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: harness:autostopping/getAwsAlb:getAwsAlb
arguments:
# arguments dictionary
The following arguments are supported:
- Cloud
Connector stringId - Id of the cloud connector
- Delete
Cloud boolResources On Destroy - Host
Name string - Hostname for the proxy
- Name string
- Name of the proxy
- Region string
- Region in which cloud resources are hosted
- Vpc string
- VPC in which cloud resources are hosted
- Alb
Arn string - Arn of AWS ALB to be imported. Required only for importing existing ALB
- Certificate
Id string - Route53Hosted
Zone stringId - Route 53 hosted zone id
- Security
Groups List<string> - Security Group to define the security rules that determine the inbound and outbound traffic
- Cloud
Connector stringId - Id of the cloud connector
- Delete
Cloud boolResources On Destroy - Host
Name string - Hostname for the proxy
- Name string
- Name of the proxy
- Region string
- Region in which cloud resources are hosted
- Vpc string
- VPC in which cloud resources are hosted
- Alb
Arn string - Arn of AWS ALB to be imported. Required only for importing existing ALB
- Certificate
Id string - Route53Hosted
Zone stringId - Route 53 hosted zone id
- Security
Groups []string - Security Group to define the security rules that determine the inbound and outbound traffic
- cloud
Connector StringId - Id of the cloud connector
- delete
Cloud BooleanResources On Destroy - host
Name String - Hostname for the proxy
- name String
- Name of the proxy
- region String
- Region in which cloud resources are hosted
- vpc String
- VPC in which cloud resources are hosted
- alb
Arn String - Arn of AWS ALB to be imported. Required only for importing existing ALB
- certificate
Id String - route53Hosted
Zone StringId - Route 53 hosted zone id
- security
Groups List<String> - Security Group to define the security rules that determine the inbound and outbound traffic
- cloud
Connector stringId - Id of the cloud connector
- delete
Cloud booleanResources On Destroy - host
Name string - Hostname for the proxy
- name string
- Name of the proxy
- region string
- Region in which cloud resources are hosted
- vpc string
- VPC in which cloud resources are hosted
- alb
Arn string - Arn of AWS ALB to be imported. Required only for importing existing ALB
- certificate
Id string - route53Hosted
Zone stringId - Route 53 hosted zone id
- security
Groups string[] - Security Group to define the security rules that determine the inbound and outbound traffic
- cloud_
connector_ strid - Id of the cloud connector
- delete_
cloud_ boolresources_ on_ destroy - host_
name str - Hostname for the proxy
- 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 - route53_
hosted_ strzone_ id - Route 53 hosted zone id
- security_
groups Sequence[str] - Security Group to define the security rules that determine the inbound and outbound traffic
- cloud
Connector StringId - Id of the cloud connector
- delete
Cloud BooleanResources On Destroy - host
Name String - Hostname for the proxy
- name String
- Name of the proxy
- region String
- Region in which cloud resources are hosted
- vpc String
- VPC in which cloud resources are hosted
- alb
Arn String - Arn of AWS ALB to be imported. Required only for importing existing ALB
- certificate
Id String - route53Hosted
Zone StringId - Route 53 hosted zone id
- security
Groups List<String> - Security Group to define the security rules that determine the inbound and outbound traffic
getAwsAlb Result
The following output properties are available:
- Cloud
Connector stringId - Id of the cloud connector
- Delete
Cloud boolResources On Destroy - Host
Name string - Hostname for the proxy
- 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
- Alb
Arn string - Arn of AWS ALB to be imported. Required only for importing existing ALB
- Certificate
Id string - Route53Hosted
Zone stringId - Route 53 hosted zone id
- Security
Groups List<string> - Security Group to define the security rules that determine the inbound and outbound traffic
- Cloud
Connector stringId - Id of the cloud connector
- Delete
Cloud boolResources On Destroy - Host
Name string - Hostname for the proxy
- 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
- Alb
Arn string - Arn of AWS ALB to be imported. Required only for importing existing ALB
- Certificate
Id string - Route53Hosted
Zone stringId - Route 53 hosted zone id
- Security
Groups []string - Security Group to define the security rules that determine the inbound and outbound traffic
- cloud
Connector StringId - Id of the cloud connector
- delete
Cloud BooleanResources On Destroy - host
Name String - Hostname for the proxy
- 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
- alb
Arn String - Arn of AWS ALB to be imported. Required only for importing existing ALB
- certificate
Id String - route53Hosted
Zone StringId - Route 53 hosted zone id
- security
Groups List<String> - Security Group to define the security rules that determine the inbound and outbound traffic
- cloud
Connector stringId - Id of the cloud connector
- delete
Cloud booleanResources On Destroy - host
Name string - Hostname for the proxy
- 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
- alb
Arn string - Arn of AWS ALB to be imported. Required only for importing existing ALB
- certificate
Id string - route53Hosted
Zone stringId - Route 53 hosted zone id
- security
Groups string[] - Security Group to define the security rules that determine the inbound and outbound traffic
- cloud_
connector_ strid - Id of the cloud connector
- delete_
cloud_ boolresources_ on_ destroy - host_
name str - Hostname for the proxy
- 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 - route53_
hosted_ strzone_ id - Route 53 hosted zone id
- security_
groups Sequence[str] - Security Group to define the security rules that determine the inbound and outbound traffic
- cloud
Connector StringId - Id of the cloud connector
- delete
Cloud BooleanResources On Destroy - host
Name String - Hostname for the proxy
- 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
- alb
Arn String - Arn of AWS ALB to be imported. Required only for importing existing ALB
- certificate
Id String - route53Hosted
Zone StringId - Route 53 hosted zone id
- security
Groups 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.