1. Packages
  2. Harness
  3. API Docs
  4. autostopping
  5. getAwsProxy
Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi

harness.autostopping.getAwsProxy

Explore with Pulumi AI

harness logo
Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi

    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.GetAwsProxyArgs;
    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.getAwsProxy(GetAwsProxyArgs.builder()
                .identifier("identifier")
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          Function: harness:autostopping:getAwsProxy
          Arguments:
            identifier: identifier
    

    Using getAwsProxy

    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 getAwsProxy(args: GetAwsProxyArgs, opts?: InvokeOptions): Promise<GetAwsProxyResult>
    function getAwsProxyOutput(args: GetAwsProxyOutputArgs, opts?: InvokeOptions): Output<GetAwsProxyResult>
    def get_aws_proxy(allocate_static_ip: Optional[bool] = None,
                      api_key: Optional[str] = None,
                      certificates: Optional[GetAwsProxyCertificates] = None,
                      cloud_connector_id: Optional[str] = None,
                      delete_cloud_resources_on_destroy: Optional[bool] = None,
                      host_name: Optional[str] = None,
                      keypair: Optional[str] = None,
                      machine_type: 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) -> GetAwsProxyResult
    def get_aws_proxy_output(allocate_static_ip: Optional[pulumi.Input[bool]] = None,
                      api_key: Optional[pulumi.Input[str]] = None,
                      certificates: Optional[pulumi.Input[GetAwsProxyCertificatesArgs]] = 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,
                      keypair: Optional[pulumi.Input[str]] = None,
                      machine_type: 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[GetAwsProxyResult]
    func LookupAwsProxy(ctx *Context, args *LookupAwsProxyArgs, opts ...InvokeOption) (*LookupAwsProxyResult, error)
    func LookupAwsProxyOutput(ctx *Context, args *LookupAwsProxyOutputArgs, opts ...InvokeOption) LookupAwsProxyResultOutput

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

    public static class GetAwsProxy 
    {
        public static Task<GetAwsProxyResult> InvokeAsync(GetAwsProxyArgs args, InvokeOptions? opts = null)
        public static Output<GetAwsProxyResult> Invoke(GetAwsProxyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAwsProxyResult> getAwsProxy(GetAwsProxyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: harness:autostopping/getAwsProxy:getAwsProxy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ApiKey string
    Harness NG API key
    CloudConnectorId string
    Id of the cloud connector
    DeleteCloudResourcesOnDestroy bool
    HostName string
    Hostname for the proxy
    MachineType string
    Machine instance type
    Name string
    Name of the proxy
    Region string
    Region in which cloud resources are hosted
    Vpc string
    VPC in which cloud resources are hosted
    AllocateStaticIp bool
    Boolean value to indicate if proxy vm needs to have static IP
    Certificates GetAwsProxyCertificates
    Keypair string
    Route53HostedZoneId string
    Route 53 hosted zone id
    SecurityGroups List<string>
    Security Group to define the security rules that determine the inbound and outbound traffic
    ApiKey string
    Harness NG API key
    CloudConnectorId string
    Id of the cloud connector
    DeleteCloudResourcesOnDestroy bool
    HostName string
    Hostname for the proxy
    MachineType string
    Machine instance type
    Name string
    Name of the proxy
    Region string
    Region in which cloud resources are hosted
    Vpc string
    VPC in which cloud resources are hosted
    AllocateStaticIp bool
    Boolean value to indicate if proxy vm needs to have static IP
    Certificates GetAwsProxyCertificates
    Keypair string
    Route53HostedZoneId string
    Route 53 hosted zone id
    SecurityGroups []string
    Security Group to define the security rules that determine the inbound and outbound traffic
    apiKey String
    Harness NG API key
    cloudConnectorId String
    Id of the cloud connector
    deleteCloudResourcesOnDestroy Boolean
    hostName String
    Hostname for the proxy
    machineType String
    Machine instance type
    name String
    Name of the proxy
    region String
    Region in which cloud resources are hosted
    vpc String
    VPC in which cloud resources are hosted
    allocateStaticIp Boolean
    Boolean value to indicate if proxy vm needs to have static IP
    certificates GetAwsProxyCertificates
    keypair String
    route53HostedZoneId String
    Route 53 hosted zone id
    securityGroups List<String>
    Security Group to define the security rules that determine the inbound and outbound traffic
    apiKey string
    Harness NG API key
    cloudConnectorId string
    Id of the cloud connector
    deleteCloudResourcesOnDestroy boolean
    hostName string
    Hostname for the proxy
    machineType string
    Machine instance type
    name string
    Name of the proxy
    region string
    Region in which cloud resources are hosted
    vpc string
    VPC in which cloud resources are hosted
    allocateStaticIp boolean
    Boolean value to indicate if proxy vm needs to have static IP
    certificates GetAwsProxyCertificates
    keypair string
    route53HostedZoneId string
    Route 53 hosted zone id
    securityGroups string[]
    Security Group to define the security rules that determine the inbound and outbound traffic
    api_key str
    Harness NG API key
    cloud_connector_id str
    Id of the cloud connector
    delete_cloud_resources_on_destroy bool
    host_name str
    Hostname for the proxy
    machine_type str
    Machine instance type
    name str
    Name of the proxy
    region str
    Region in which cloud resources are hosted
    vpc str
    VPC in which cloud resources are hosted
    allocate_static_ip bool
    Boolean value to indicate if proxy vm needs to have static IP
    certificates GetAwsProxyCertificates
    keypair str
    route53_hosted_zone_id str
    Route 53 hosted zone id
    security_groups Sequence[str]
    Security Group to define the security rules that determine the inbound and outbound traffic
    apiKey String
    Harness NG API key
    cloudConnectorId String
    Id of the cloud connector
    deleteCloudResourcesOnDestroy Boolean
    hostName String
    Hostname for the proxy
    machineType String
    Machine instance type
    name String
    Name of the proxy
    region String
    Region in which cloud resources are hosted
    vpc String
    VPC in which cloud resources are hosted
    allocateStaticIp Boolean
    Boolean value to indicate if proxy vm needs to have static IP
    certificates Property Map
    keypair String
    route53HostedZoneId String
    Route 53 hosted zone id
    securityGroups List<String>
    Security Group to define the security rules that determine the inbound and outbound traffic

    getAwsProxy Result

    The following output properties are available:

    ApiKey string
    Harness NG API key
    CloudConnectorId string
    Id of the cloud connector
    DeleteCloudResourcesOnDestroy bool
    HostName string
    Hostname for the proxy
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Unique identifier of the resource
    MachineType string
    Machine instance type
    Name string
    Name of the proxy
    Region string
    Region in which cloud resources are hosted
    Vpc string
    VPC in which cloud resources are hosted
    AllocateStaticIp bool
    Boolean value to indicate if proxy vm needs to have static IP
    Certificates GetAwsProxyCertificates
    Keypair string
    Route53HostedZoneId string
    Route 53 hosted zone id
    SecurityGroups List<string>
    Security Group to define the security rules that determine the inbound and outbound traffic
    ApiKey string
    Harness NG API key
    CloudConnectorId string
    Id of the cloud connector
    DeleteCloudResourcesOnDestroy bool
    HostName string
    Hostname for the proxy
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Unique identifier of the resource
    MachineType string
    Machine instance type
    Name string
    Name of the proxy
    Region string
    Region in which cloud resources are hosted
    Vpc string
    VPC in which cloud resources are hosted
    AllocateStaticIp bool
    Boolean value to indicate if proxy vm needs to have static IP
    Certificates GetAwsProxyCertificates
    Keypair string
    Route53HostedZoneId string
    Route 53 hosted zone id
    SecurityGroups []string
    Security Group to define the security rules that determine the inbound and outbound traffic
    apiKey String
    Harness NG API key
    cloudConnectorId String
    Id of the cloud connector
    deleteCloudResourcesOnDestroy Boolean
    hostName String
    Hostname for the proxy
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Unique identifier of the resource
    machineType String
    Machine instance type
    name String
    Name of the proxy
    region String
    Region in which cloud resources are hosted
    vpc String
    VPC in which cloud resources are hosted
    allocateStaticIp Boolean
    Boolean value to indicate if proxy vm needs to have static IP
    certificates GetAwsProxyCertificates
    keypair String
    route53HostedZoneId String
    Route 53 hosted zone id
    securityGroups List<String>
    Security Group to define the security rules that determine the inbound and outbound traffic
    apiKey string
    Harness NG API key
    cloudConnectorId string
    Id of the cloud connector
    deleteCloudResourcesOnDestroy boolean
    hostName string
    Hostname for the proxy
    id string
    The provider-assigned unique ID for this managed resource.
    identifier string
    Unique identifier of the resource
    machineType string
    Machine instance type
    name string
    Name of the proxy
    region string
    Region in which cloud resources are hosted
    vpc string
    VPC in which cloud resources are hosted
    allocateStaticIp boolean
    Boolean value to indicate if proxy vm needs to have static IP
    certificates GetAwsProxyCertificates
    keypair string
    route53HostedZoneId string
    Route 53 hosted zone id
    securityGroups string[]
    Security Group to define the security rules that determine the inbound and outbound traffic
    api_key str
    Harness NG API key
    cloud_connector_id str
    Id of the cloud connector
    delete_cloud_resources_on_destroy bool
    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
    machine_type str
    Machine instance type
    name str
    Name of the proxy
    region str
    Region in which cloud resources are hosted
    vpc str
    VPC in which cloud resources are hosted
    allocate_static_ip bool
    Boolean value to indicate if proxy vm needs to have static IP
    certificates GetAwsProxyCertificates
    keypair str
    route53_hosted_zone_id str
    Route 53 hosted zone id
    security_groups Sequence[str]
    Security Group to define the security rules that determine the inbound and outbound traffic
    apiKey String
    Harness NG API key
    cloudConnectorId String
    Id of the cloud connector
    deleteCloudResourcesOnDestroy Boolean
    hostName String
    Hostname for the proxy
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Unique identifier of the resource
    machineType String
    Machine instance type
    name String
    Name of the proxy
    region String
    Region in which cloud resources are hosted
    vpc String
    VPC in which cloud resources are hosted
    allocateStaticIp Boolean
    Boolean value to indicate if proxy vm needs to have static IP
    certificates Property Map
    keypair String
    route53HostedZoneId String
    Route 53 hosted zone id
    securityGroups List<String>
    Security Group to define the security rules that determine the inbound and outbound traffic

    Supporting Types

    GetAwsProxyCertificates

    CertSecretId string
    Certificate secret ID
    KeySecretId string
    Private key secret ID
    CertSecretId string
    Certificate secret ID
    KeySecretId string
    Private key secret ID
    certSecretId String
    Certificate secret ID
    keySecretId String
    Private key secret ID
    certSecretId string
    Certificate secret ID
    keySecretId string
    Private key secret ID
    cert_secret_id str
    Certificate secret ID
    key_secret_id str
    Private key secret ID
    certSecretId String
    Certificate secret ID
    keySecretId String
    Private key secret ID

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi