harness.platform.getAwsConnector
Explore with Pulumi AI
Datasource for looking up an AWS connector.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() =>
{
var example = Harness.Platform.GetAwsConnector.Invoke(new()
{
Identifier = "identifier",
});
});
package main
import (
"github.com/lbrlabs/pulumi-harness/sdk/go/harness/platform"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := platform.LookupAwsConnector(ctx, &platform.LookupAwsConnectorArgs{
Identifier: "identifier",
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.PlatformFunctions;
import com.pulumi.harness.platform.inputs.GetAwsConnectorArgs;
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 example = PlatformFunctions.getAwsConnector(GetAwsConnectorArgs.builder()
.identifier("identifier")
.build());
}
}
import pulumi
import pulumi_harness as harness
example = harness.platform.get_aws_connector(identifier="identifier")
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const example = harness.platform.getAwsConnector({
identifier: "identifier",
});
variables:
example:
fn::invoke:
Function: harness:platform:getAwsConnector
Arguments:
identifier: identifier
Using getAwsConnector
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 getAwsConnector(args: GetAwsConnectorArgs, opts?: InvokeOptions): Promise<GetAwsConnectorResult>
function getAwsConnectorOutput(args: GetAwsConnectorOutputArgs, opts?: InvokeOptions): Output<GetAwsConnectorResult>
def get_aws_connector(identifier: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAwsConnectorResult
def get_aws_connector_output(identifier: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAwsConnectorResult]
func LookupAwsConnector(ctx *Context, args *LookupAwsConnectorArgs, opts ...InvokeOption) (*LookupAwsConnectorResult, error)
func LookupAwsConnectorOutput(ctx *Context, args *LookupAwsConnectorOutputArgs, opts ...InvokeOption) LookupAwsConnectorResultOutput
> Note: This function is named LookupAwsConnector
in the Go SDK.
public static class GetAwsConnector
{
public static Task<GetAwsConnectorResult> InvokeAsync(GetAwsConnectorArgs args, InvokeOptions? opts = null)
public static Output<GetAwsConnectorResult> Invoke(GetAwsConnectorInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAwsConnectorResult> getAwsConnector(GetAwsConnectorArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: harness:platform/getAwsConnector:getAwsConnector
arguments:
# arguments dictionary
The following arguments are supported:
- Identifier string
Unique identifier of the resource.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the organization.
- Project
Id string Unique identifier of the project.
- Identifier string
Unique identifier of the resource.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the organization.
- Project
Id string Unique identifier of the project.
- identifier String
Unique identifier of the resource.
- name String
Name of the resource.
- org
Id String Unique identifier of the organization.
- project
Id String Unique identifier of the project.
- identifier string
Unique identifier of the resource.
- name string
Name of the resource.
- org
Id string Unique identifier of the organization.
- project
Id string Unique identifier of the project.
- identifier str
Unique identifier of the resource.
- name str
Name of the resource.
- org_
id str Unique identifier of the organization.
- project_
id str Unique identifier of the project.
- identifier String
Unique identifier of the resource.
- name String
Name of the resource.
- org
Id String Unique identifier of the organization.
- project
Id String Unique identifier of the project.
getAwsConnector Result
The following output properties are available:
- Cross
Account List<Lbrlabs.Accesses Pulumi Package. Harness. Platform. Outputs. Get Aws Connector Cross Account Access> Select this option if you want to use one AWS account for the connection, but you want to deploy or build in a different AWS account. In this scenario, the AWS account used for AWS access in Credentials will assume the IAM role you specify in Cross-account role ARN setting. This option uses the AWS Security Token Service (STS) feature.
- Description string
Description of the resource.
- Equal
Jitter List<Lbrlabs.Backoff Strategies Pulumi Package. Harness. Platform. Outputs. Get Aws Connector Equal Jitter Backoff Strategy> Equal Jitter BackOff Strategy.
- Fixed
Delay List<Lbrlabs.Backoff Strategies Pulumi Package. Harness. Platform. Outputs. Get Aws Connector Fixed Delay Backoff Strategy> Fixed Delay BackOff Strategy.
- Full
Jitter List<Lbrlabs.Backoff Strategies Pulumi Package. Harness. Platform. Outputs. Get Aws Connector Full Jitter Backoff Strategy> Full Jitter BackOff Strategy.
- Id string
The provider-assigned unique ID for this managed resource.
- Identifier string
Unique identifier of the resource.
- Inherit
From List<Lbrlabs.Delegates Pulumi Package. Harness. Platform. Outputs. Get Aws Connector Inherit From Delegate> Inherit credentials from the delegate.
- Irsas
List<Lbrlabs.
Pulumi Package. Harness. Platform. Outputs. Get Aws Connector Irsa> Use IAM role for service accounts.
- Manuals
List<Lbrlabs.
Pulumi Package. Harness. Platform. Outputs. Get Aws Connector Manual> Use IAM role for service accounts.
- List<string>
Tags to associate with the resource.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the organization.
- Project
Id string Unique identifier of the project.
- Cross
Account []GetAccesses Aws Connector Cross Account Access Select this option if you want to use one AWS account for the connection, but you want to deploy or build in a different AWS account. In this scenario, the AWS account used for AWS access in Credentials will assume the IAM role you specify in Cross-account role ARN setting. This option uses the AWS Security Token Service (STS) feature.
- Description string
Description of the resource.
- Equal
Jitter []GetBackoff Strategies Aws Connector Equal Jitter Backoff Strategy Equal Jitter BackOff Strategy.
- Fixed
Delay []GetBackoff Strategies Aws Connector Fixed Delay Backoff Strategy Fixed Delay BackOff Strategy.
- Full
Jitter []GetBackoff Strategies Aws Connector Full Jitter Backoff Strategy Full Jitter BackOff Strategy.
- Id string
The provider-assigned unique ID for this managed resource.
- Identifier string
Unique identifier of the resource.
- Inherit
From []GetDelegates Aws Connector Inherit From Delegate Inherit credentials from the delegate.
- Irsas
[]Get
Aws Connector Irsa Use IAM role for service accounts.
- Manuals
[]Get
Aws Connector Manual Use IAM role for service accounts.
- []string
Tags to associate with the resource.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the organization.
- Project
Id string Unique identifier of the project.
- cross
Account List<GetAccesses Aws Connector Cross Account Access> Select this option if you want to use one AWS account for the connection, but you want to deploy or build in a different AWS account. In this scenario, the AWS account used for AWS access in Credentials will assume the IAM role you specify in Cross-account role ARN setting. This option uses the AWS Security Token Service (STS) feature.
- description String
Description of the resource.
- equal
Jitter List<GetBackoff Strategies Aws Connector Equal Jitter Backoff Strategy> Equal Jitter BackOff Strategy.
- fixed
Delay List<GetBackoff Strategies Aws Connector Fixed Delay Backoff Strategy> Fixed Delay BackOff Strategy.
- full
Jitter List<GetBackoff Strategies Aws Connector Full Jitter Backoff Strategy> Full Jitter BackOff Strategy.
- id String
The provider-assigned unique ID for this managed resource.
- identifier String
Unique identifier of the resource.
- inherit
From List<GetDelegates Aws Connector Inherit From Delegate> Inherit credentials from the delegate.
- irsas
List<Get
Aws Connector Irsa> Use IAM role for service accounts.
- manuals
List<Get
Aws Connector Manual> Use IAM role for service accounts.
- List<String>
Tags to associate with the resource.
- name String
Name of the resource.
- org
Id String Unique identifier of the organization.
- project
Id String Unique identifier of the project.
- cross
Account GetAccesses Aws Connector Cross Account Access[] Select this option if you want to use one AWS account for the connection, but you want to deploy or build in a different AWS account. In this scenario, the AWS account used for AWS access in Credentials will assume the IAM role you specify in Cross-account role ARN setting. This option uses the AWS Security Token Service (STS) feature.
- description string
Description of the resource.
- equal
Jitter GetBackoff Strategies Aws Connector Equal Jitter Backoff Strategy[] Equal Jitter BackOff Strategy.
- fixed
Delay GetBackoff Strategies Aws Connector Fixed Delay Backoff Strategy[] Fixed Delay BackOff Strategy.
- full
Jitter GetBackoff Strategies Aws Connector Full Jitter Backoff Strategy[] Full Jitter BackOff Strategy.
- id string
The provider-assigned unique ID for this managed resource.
- identifier string
Unique identifier of the resource.
- inherit
From GetDelegates Aws Connector Inherit From Delegate[] Inherit credentials from the delegate.
- irsas
Get
Aws Connector Irsa[] Use IAM role for service accounts.
- manuals
Get
Aws Connector Manual[] Use IAM role for service accounts.
- string[]
Tags to associate with the resource.
- name string
Name of the resource.
- org
Id string Unique identifier of the organization.
- project
Id string Unique identifier of the project.
- cross_
account_ Sequence[Getaccesses Aws Connector Cross Account Access] Select this option if you want to use one AWS account for the connection, but you want to deploy or build in a different AWS account. In this scenario, the AWS account used for AWS access in Credentials will assume the IAM role you specify in Cross-account role ARN setting. This option uses the AWS Security Token Service (STS) feature.
- description str
Description of the resource.
- equal_
jitter_ Sequence[Getbackoff_ strategies Aws Connector Equal Jitter Backoff Strategy] Equal Jitter BackOff Strategy.
- fixed_
delay_ Sequence[Getbackoff_ strategies Aws Connector Fixed Delay Backoff Strategy] Fixed Delay BackOff Strategy.
- full_
jitter_ Sequence[Getbackoff_ strategies Aws Connector Full Jitter Backoff Strategy] Full Jitter BackOff Strategy.
- id str
The provider-assigned unique ID for this managed resource.
- identifier str
Unique identifier of the resource.
- inherit_
from_ Sequence[Getdelegates Aws Connector Inherit From Delegate] Inherit credentials from the delegate.
- irsas
Sequence[Get
Aws Connector Irsa] Use IAM role for service accounts.
- manuals
Sequence[Get
Aws Connector Manual] Use IAM role for service accounts.
- Sequence[str]
Tags to associate with the resource.
- name str
Name of the resource.
- org_
id str Unique identifier of the organization.
- project_
id str Unique identifier of the project.
- cross
Account List<Property Map>Accesses Select this option if you want to use one AWS account for the connection, but you want to deploy or build in a different AWS account. In this scenario, the AWS account used for AWS access in Credentials will assume the IAM role you specify in Cross-account role ARN setting. This option uses the AWS Security Token Service (STS) feature.
- description String
Description of the resource.
- equal
Jitter List<Property Map>Backoff Strategies Equal Jitter BackOff Strategy.
- fixed
Delay List<Property Map>Backoff Strategies Fixed Delay BackOff Strategy.
- full
Jitter List<Property Map>Backoff Strategies Full Jitter BackOff Strategy.
- id String
The provider-assigned unique ID for this managed resource.
- identifier String
Unique identifier of the resource.
- inherit
From List<Property Map>Delegates Inherit credentials from the delegate.
- irsas List<Property Map>
Use IAM role for service accounts.
- manuals List<Property Map>
Use IAM role for service accounts.
- List<String>
Tags to associate with the resource.
- name String
Name of the resource.
- org
Id String Unique identifier of the organization.
- project
Id String Unique identifier of the project.
Supporting Types
GetAwsConnectorCrossAccountAccess
- External
Id string If the administrator of the account to which the role belongs provided you with an external ID, then enter that value.
- Role
Arn string The Amazon Resource Name (ARN) of the role that you want to assume. This is an IAM role in the target AWS account.
- External
Id string If the administrator of the account to which the role belongs provided you with an external ID, then enter that value.
- Role
Arn string The Amazon Resource Name (ARN) of the role that you want to assume. This is an IAM role in the target AWS account.
- external
Id String If the administrator of the account to which the role belongs provided you with an external ID, then enter that value.
- role
Arn String The Amazon Resource Name (ARN) of the role that you want to assume. This is an IAM role in the target AWS account.
- external
Id string If the administrator of the account to which the role belongs provided you with an external ID, then enter that value.
- role
Arn string The Amazon Resource Name (ARN) of the role that you want to assume. This is an IAM role in the target AWS account.
- external_
id str If the administrator of the account to which the role belongs provided you with an external ID, then enter that value.
- role_
arn str The Amazon Resource Name (ARN) of the role that you want to assume. This is an IAM role in the target AWS account.
- external
Id String If the administrator of the account to which the role belongs provided you with an external ID, then enter that value.
- role
Arn String The Amazon Resource Name (ARN) of the role that you want to assume. This is an IAM role in the target AWS account.
GetAwsConnectorEqualJitterBackoffStrategy
- Base
Delay int Base delay.
- Max
Backoff intTime Max BackOff Time.
- Retry
Count int Retry Count.
- Base
Delay int Base delay.
- Max
Backoff intTime Max BackOff Time.
- Retry
Count int Retry Count.
- base
Delay Integer Base delay.
- max
Backoff IntegerTime Max BackOff Time.
- retry
Count Integer Retry Count.
- base
Delay number Base delay.
- max
Backoff numberTime Max BackOff Time.
- retry
Count number Retry Count.
- base_
delay int Base delay.
- max_
backoff_ inttime Max BackOff Time.
- retry_
count int Retry Count.
- base
Delay Number Base delay.
- max
Backoff NumberTime Max BackOff Time.
- retry
Count Number Retry Count.
GetAwsConnectorFixedDelayBackoffStrategy
- Fixed
Backoff int Fixed Backoff.
- Retry
Count int Retry Count.
- Fixed
Backoff int Fixed Backoff.
- Retry
Count int Retry Count.
- fixed
Backoff Integer Fixed Backoff.
- retry
Count Integer Retry Count.
- fixed
Backoff number Fixed Backoff.
- retry
Count number Retry Count.
- fixed_
backoff int Fixed Backoff.
- retry_
count int Retry Count.
- fixed
Backoff Number Fixed Backoff.
- retry
Count Number Retry Count.
GetAwsConnectorFullJitterBackoffStrategy
- Base
Delay int Base delay.
- Max
Backoff intTime Max BackOff Time.
- Retry
Count int Retry Count.
- Base
Delay int Base delay.
- Max
Backoff intTime Max BackOff Time.
- Retry
Count int Retry Count.
- base
Delay Integer Base delay.
- max
Backoff IntegerTime Max BackOff Time.
- retry
Count Integer Retry Count.
- base
Delay number Base delay.
- max
Backoff numberTime Max BackOff Time.
- retry
Count number Retry Count.
- base_
delay int Base delay.
- max_
backoff_ inttime Max BackOff Time.
- retry_
count int Retry Count.
- base
Delay Number Base delay.
- max
Backoff NumberTime Max BackOff Time.
- retry
Count Number Retry Count.
GetAwsConnectorInheritFromDelegate
- Delegate
Selectors List<string> The delegates to inherit the credentials from.
- Delegate
Selectors []string The delegates to inherit the credentials from.
- delegate
Selectors List<String> The delegates to inherit the credentials from.
- delegate
Selectors string[] The delegates to inherit the credentials from.
- delegate_
selectors Sequence[str] The delegates to inherit the credentials from.
- delegate
Selectors List<String> The delegates to inherit the credentials from.
GetAwsConnectorIrsa
- Delegate
Selectors List<string> The delegates to inherit the credentials from.
- Delegate
Selectors []string The delegates to inherit the credentials from.
- delegate
Selectors List<String> The delegates to inherit the credentials from.
- delegate
Selectors string[] The delegates to inherit the credentials from.
- delegate_
selectors Sequence[str] The delegates to inherit the credentials from.
- delegate
Selectors List<String> The delegates to inherit the credentials from.
GetAwsConnectorManual
- Access
Key string AWS access key.
- Access
Key stringRef Reference to the Harness secret containing the aws access key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Delegate
Selectors List<string> Connect only use delegates with these tags.
- Secret
Key stringRef Reference to the Harness secret containing the aws secret key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Access
Key string AWS access key.
- Access
Key stringRef Reference to the Harness secret containing the aws access key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- Delegate
Selectors []string Connect only use delegates with these tags.
- Secret
Key stringRef Reference to the Harness secret containing the aws secret key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- access
Key String AWS access key.
- access
Key StringRef Reference to the Harness secret containing the aws access key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- delegate
Selectors List<String> Connect only use delegates with these tags.
- secret
Key StringRef Reference to the Harness secret containing the aws secret key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- access
Key string AWS access key.
- access
Key stringRef Reference to the Harness secret containing the aws access key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- delegate
Selectors string[] Connect only use delegates with these tags.
- secret
Key stringRef Reference to the Harness secret containing the aws secret key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- access_
key str AWS access key.
- access_
key_ strref Reference to the Harness secret containing the aws access key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- delegate_
selectors Sequence[str] Connect only use delegates with these tags.
- secret_
key_ strref Reference to the Harness secret containing the aws secret key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- access
Key String AWS access key.
- access
Key StringRef Reference to the Harness secret containing the aws access key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- delegate
Selectors List<String> Connect only use delegates with these tags.
- secret
Key StringRef Reference to the Harness secret containing the aws secret key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
Package Details
- Repository
- harness lbrlabs/pulumi-harness
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
harness
Terraform Provider.