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: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,
keypair: Optional[str] = None,
machine_type: Optional[str] = None,
name: Optional[str] = None,
region: 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,
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,
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)
public static Output<GetAwsProxyResult> getAwsProxy(GetAwsProxyArgs args, InvokeOptions options)
fn::invoke:
function: harness:autostopping/getAwsProxy:getAwsProxy
arguments:
# arguments dictionaryThe following arguments are supported:
- Api
Key string - Harness NG API key
- Cloud
Connector stringId - Id of the cloud connector
- Delete
Cloud boolResources On Destroy - Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM 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, which leaves the proxy VM in AWS account itself.
- Machine
Type 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
- Allocate
Static boolIp - Boolean value to indicate if proxy vm needs to have static IP
- Certificates
Get
Aws Proxy Certificates - Keypair string
- Security
Groups List<string> - Security Group to define the security rules that determine the inbound and outbound traffic
- Api
Key string - Harness NG API key
- Cloud
Connector stringId - Id of the cloud connector
- Delete
Cloud boolResources On Destroy - Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM 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, which leaves the proxy VM in AWS account itself.
- Machine
Type 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
- Allocate
Static boolIp - Boolean value to indicate if proxy vm needs to have static IP
- Certificates
Get
Aws Proxy Certificates - Keypair string
- Security
Groups []string - Security Group to define the security rules that determine the inbound and outbound traffic
- api
Key String - Harness NG API key
- cloud
Connector StringId - Id of the cloud connector
- delete
Cloud BooleanResources On Destroy - Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM 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, which leaves the proxy VM in AWS account itself.
- machine
Type 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
- allocate
Static BooleanIp - Boolean value to indicate if proxy vm needs to have static IP
- certificates
Get
Aws Proxy Certificates - keypair String
- security
Groups List<String> - Security Group to define the security rules that determine the inbound and outbound traffic
- api
Key string - Harness NG API key
- cloud
Connector stringId - Id of the cloud connector
- delete
Cloud booleanResources On Destroy - Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM 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, which leaves the proxy VM in AWS account itself.
- machine
Type 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
- allocate
Static booleanIp - Boolean value to indicate if proxy vm needs to have static IP
- certificates
Get
Aws Proxy Certificates - keypair string
- security
Groups string[] - Security Group to define the security rules that determine the inbound and outbound traffic
- api_
key str - Harness NG API key
- cloud_
connector_ strid - Id of the cloud connector
- delete_
cloud_ boolresources_ on_ destroy - Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM 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, which leaves the proxy VM in AWS account itself.
- 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_ boolip - Boolean value to indicate if proxy vm needs to have static IP
- certificates
Get
Aws Proxy Certificates - keypair str
- security_
groups Sequence[str] - Security Group to define the security rules that determine the inbound and outbound traffic
- api
Key String - Harness NG API key
- cloud
Connector StringId - Id of the cloud connector
- delete
Cloud BooleanResources On Destroy - Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM 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, which leaves the proxy VM in AWS account itself.
- machine
Type 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
- allocate
Static BooleanIp - Boolean value to indicate if proxy vm needs to have static IP
- certificates Property Map
- keypair String
- security
Groups List<String> - Security Group to define the security rules that determine the inbound and outbound traffic
getAwsProxy Result
The following output properties are available:
- Api
Key string - Harness NG API key
- Cloud
Connector stringId - Id of the cloud connector
- Delete
Cloud boolResources On Destroy - Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM 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, which leaves the proxy VM in AWS account itself.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Unique identifier of the resource
- Machine
Type 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
- Allocate
Static boolIp - Boolean value to indicate if proxy vm needs to have static IP
- Certificates
Get
Aws Proxy Certificates - Keypair string
- Security
Groups List<string> - Security Group to define the security rules that determine the inbound and outbound traffic
- Api
Key string - Harness NG API key
- Cloud
Connector stringId - Id of the cloud connector
- Delete
Cloud boolResources On Destroy - Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM 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, which leaves the proxy VM in AWS account itself.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Unique identifier of the resource
- Machine
Type 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
- Allocate
Static boolIp - Boolean value to indicate if proxy vm needs to have static IP
- Certificates
Get
Aws Proxy Certificates - Keypair string
- Security
Groups []string - Security Group to define the security rules that determine the inbound and outbound traffic
- api
Key String - Harness NG API key
- cloud
Connector StringId - Id of the cloud connector
- delete
Cloud BooleanResources On Destroy - Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM 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, which leaves the proxy VM in AWS account itself.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Unique identifier of the resource
- machine
Type 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
- allocate
Static BooleanIp - Boolean value to indicate if proxy vm needs to have static IP
- certificates
Get
Aws Proxy Certificates - keypair String
- security
Groups List<String> - Security Group to define the security rules that determine the inbound and outbound traffic
- api
Key string - Harness NG API key
- cloud
Connector stringId - Id of the cloud connector
- delete
Cloud booleanResources On Destroy - Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM 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, which leaves the proxy VM in AWS account itself.
- id string
- The provider-assigned unique ID for this managed resource.
- identifier string
- Unique identifier of the resource
- machine
Type 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
- allocate
Static booleanIp - Boolean value to indicate if proxy vm needs to have static IP
- certificates
Get
Aws Proxy Certificates - keypair string
- security
Groups string[] - Security Group to define the security rules that determine the inbound and outbound traffic
- api_
key str - Harness NG API key
- cloud_
connector_ strid - Id of the cloud connector
- delete_
cloud_ boolresources_ on_ destroy - Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM 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, which leaves the proxy VM in AWS account itself.
- 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_ boolip - Boolean value to indicate if proxy vm needs to have static IP
- certificates
Get
Aws Proxy Certificates - keypair str
- security_
groups Sequence[str] - Security Group to define the security rules that determine the inbound and outbound traffic
- api
Key String - Harness NG API key
- cloud
Connector StringId - Id of the cloud connector
- delete
Cloud BooleanResources On Destroy - Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM 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, which leaves the proxy VM in AWS account itself.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Unique identifier of the resource
- machine
Type 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
- allocate
Static BooleanIp - Boolean value to indicate if proxy vm needs to have static IP
- certificates Property Map
- keypair String
- security
Groups List<String> - Security Group to define the security rules that determine the inbound and outbound traffic
Supporting Types
GetAwsProxyCertificates
- Cert
Secret stringId - Certificate secret ID
- Key
Secret stringId - Private key secret ID
- Cert
Secret stringId - Certificate secret ID
- Key
Secret stringId - Private key secret ID
- cert
Secret StringId - Certificate secret ID
- key
Secret StringId - Private key secret ID
- cert
Secret stringId - Certificate secret ID
- key
Secret stringId - Private key secret ID
- cert_
secret_ strid - Certificate secret ID
- key_
secret_ strid - Private key secret ID
- cert
Secret StringId - Certificate secret ID
- key
Secret StringId - Private key secret ID
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
