1. Packages
  2. Harness
  3. API Docs
  4. platform
  5. getAwsConnector
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

harness.platform.getAwsConnector

Explore with Pulumi AI

harness logo
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

    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.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    Identifier string
    Unique identifier of the resource.
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    identifier String
    Unique identifier of the resource.
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    identifier string
    Unique identifier of the resource.
    name string
    Name of the resource.
    orgId string
    Unique identifier of the organization.
    projectId 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.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.

    getAwsConnector Result

    The following output properties are available:

    CrossAccountAccesses List<Lbrlabs.PulumiPackage.Harness.Platform.Outputs.GetAwsConnectorCrossAccountAccess>
    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.
    EqualJitterBackoffStrategies List<Lbrlabs.PulumiPackage.Harness.Platform.Outputs.GetAwsConnectorEqualJitterBackoffStrategy>
    Equal Jitter BackOff Strategy.
    FixedDelayBackoffStrategies List<Lbrlabs.PulumiPackage.Harness.Platform.Outputs.GetAwsConnectorFixedDelayBackoffStrategy>
    Fixed Delay BackOff Strategy.
    FullJitterBackoffStrategies List<Lbrlabs.PulumiPackage.Harness.Platform.Outputs.GetAwsConnectorFullJitterBackoffStrategy>
    Full Jitter BackOff Strategy.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Unique identifier of the resource.
    InheritFromDelegates List<Lbrlabs.PulumiPackage.Harness.Platform.Outputs.GetAwsConnectorInheritFromDelegate>
    Inherit credentials from the delegate.
    Irsas List<Lbrlabs.PulumiPackage.Harness.Platform.Outputs.GetAwsConnectorIrsa>
    Use IAM role for service accounts.
    Manuals List<Lbrlabs.PulumiPackage.Harness.Platform.Outputs.GetAwsConnectorManual>
    Use IAM role for service accounts.
    Tags List<string>
    Tags to associate with the resource.
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    CrossAccountAccesses []GetAwsConnectorCrossAccountAccess
    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.
    EqualJitterBackoffStrategies []GetAwsConnectorEqualJitterBackoffStrategy
    Equal Jitter BackOff Strategy.
    FixedDelayBackoffStrategies []GetAwsConnectorFixedDelayBackoffStrategy
    Fixed Delay BackOff Strategy.
    FullJitterBackoffStrategies []GetAwsConnectorFullJitterBackoffStrategy
    Full Jitter BackOff Strategy.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Unique identifier of the resource.
    InheritFromDelegates []GetAwsConnectorInheritFromDelegate
    Inherit credentials from the delegate.
    Irsas []GetAwsConnectorIrsa
    Use IAM role for service accounts.
    Manuals []GetAwsConnectorManual
    Use IAM role for service accounts.
    Tags []string
    Tags to associate with the resource.
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    crossAccountAccesses List<GetAwsConnectorCrossAccountAccess>
    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.
    equalJitterBackoffStrategies List<GetAwsConnectorEqualJitterBackoffStrategy>
    Equal Jitter BackOff Strategy.
    fixedDelayBackoffStrategies List<GetAwsConnectorFixedDelayBackoffStrategy>
    Fixed Delay BackOff Strategy.
    fullJitterBackoffStrategies List<GetAwsConnectorFullJitterBackoffStrategy>
    Full Jitter BackOff Strategy.
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Unique identifier of the resource.
    inheritFromDelegates List<GetAwsConnectorInheritFromDelegate>
    Inherit credentials from the delegate.
    irsas List<GetAwsConnectorIrsa>
    Use IAM role for service accounts.
    manuals List<GetAwsConnectorManual>
    Use IAM role for service accounts.
    tags List<String>
    Tags to associate with the resource.
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    crossAccountAccesses GetAwsConnectorCrossAccountAccess[]
    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.
    equalJitterBackoffStrategies GetAwsConnectorEqualJitterBackoffStrategy[]
    Equal Jitter BackOff Strategy.
    fixedDelayBackoffStrategies GetAwsConnectorFixedDelayBackoffStrategy[]
    Fixed Delay BackOff Strategy.
    fullJitterBackoffStrategies GetAwsConnectorFullJitterBackoffStrategy[]
    Full Jitter BackOff Strategy.
    id string
    The provider-assigned unique ID for this managed resource.
    identifier string
    Unique identifier of the resource.
    inheritFromDelegates GetAwsConnectorInheritFromDelegate[]
    Inherit credentials from the delegate.
    irsas GetAwsConnectorIrsa[]
    Use IAM role for service accounts.
    manuals GetAwsConnectorManual[]
    Use IAM role for service accounts.
    tags string[]
    Tags to associate with the resource.
    name string
    Name of the resource.
    orgId string
    Unique identifier of the organization.
    projectId string
    Unique identifier of the project.
    cross_account_accesses Sequence[GetAwsConnectorCrossAccountAccess]
    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_backoff_strategies Sequence[GetAwsConnectorEqualJitterBackoffStrategy]
    Equal Jitter BackOff Strategy.
    fixed_delay_backoff_strategies Sequence[GetAwsConnectorFixedDelayBackoffStrategy]
    Fixed Delay BackOff Strategy.
    full_jitter_backoff_strategies Sequence[GetAwsConnectorFullJitterBackoffStrategy]
    Full Jitter BackOff Strategy.
    id str
    The provider-assigned unique ID for this managed resource.
    identifier str
    Unique identifier of the resource.
    inherit_from_delegates Sequence[GetAwsConnectorInheritFromDelegate]
    Inherit credentials from the delegate.
    irsas Sequence[GetAwsConnectorIrsa]
    Use IAM role for service accounts.
    manuals Sequence[GetAwsConnectorManual]
    Use IAM role for service accounts.
    tags 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.
    crossAccountAccesses List<Property Map>
    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.
    equalJitterBackoffStrategies List<Property Map>
    Equal Jitter BackOff Strategy.
    fixedDelayBackoffStrategies List<Property Map>
    Fixed Delay BackOff Strategy.
    fullJitterBackoffStrategies List<Property Map>
    Full Jitter BackOff Strategy.
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Unique identifier of the resource.
    inheritFromDelegates List<Property Map>
    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.
    tags List<String>
    Tags to associate with the resource.
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.

    Supporting Types

    GetAwsConnectorCrossAccountAccess

    ExternalId string
    If the administrator of the account to which the role belongs provided you with an external ID, then enter that value.
    RoleArn string
    The Amazon Resource Name (ARN) of the role that you want to assume. This is an IAM role in the target AWS account.
    ExternalId string
    If the administrator of the account to which the role belongs provided you with an external ID, then enter that value.
    RoleArn string
    The Amazon Resource Name (ARN) of the role that you want to assume. This is an IAM role in the target AWS account.
    externalId String
    If the administrator of the account to which the role belongs provided you with an external ID, then enter that value.
    roleArn String
    The Amazon Resource Name (ARN) of the role that you want to assume. This is an IAM role in the target AWS account.
    externalId string
    If the administrator of the account to which the role belongs provided you with an external ID, then enter that value.
    roleArn 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.
    externalId String
    If the administrator of the account to which the role belongs provided you with an external ID, then enter that value.
    roleArn 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

    BaseDelay int
    Base delay.
    MaxBackoffTime int
    Max BackOff Time.
    RetryCount int
    Retry Count.
    BaseDelay int
    Base delay.
    MaxBackoffTime int
    Max BackOff Time.
    RetryCount int
    Retry Count.
    baseDelay Integer
    Base delay.
    maxBackoffTime Integer
    Max BackOff Time.
    retryCount Integer
    Retry Count.
    baseDelay number
    Base delay.
    maxBackoffTime number
    Max BackOff Time.
    retryCount number
    Retry Count.
    base_delay int
    Base delay.
    max_backoff_time int
    Max BackOff Time.
    retry_count int
    Retry Count.
    baseDelay Number
    Base delay.
    maxBackoffTime Number
    Max BackOff Time.
    retryCount Number
    Retry Count.

    GetAwsConnectorFixedDelayBackoffStrategy

    FixedBackoff int
    Fixed Backoff.
    RetryCount int
    Retry Count.
    FixedBackoff int
    Fixed Backoff.
    RetryCount int
    Retry Count.
    fixedBackoff Integer
    Fixed Backoff.
    retryCount Integer
    Retry Count.
    fixedBackoff number
    Fixed Backoff.
    retryCount number
    Retry Count.
    fixed_backoff int
    Fixed Backoff.
    retry_count int
    Retry Count.
    fixedBackoff Number
    Fixed Backoff.
    retryCount Number
    Retry Count.

    GetAwsConnectorFullJitterBackoffStrategy

    BaseDelay int
    Base delay.
    MaxBackoffTime int
    Max BackOff Time.
    RetryCount int
    Retry Count.
    BaseDelay int
    Base delay.
    MaxBackoffTime int
    Max BackOff Time.
    RetryCount int
    Retry Count.
    baseDelay Integer
    Base delay.
    maxBackoffTime Integer
    Max BackOff Time.
    retryCount Integer
    Retry Count.
    baseDelay number
    Base delay.
    maxBackoffTime number
    Max BackOff Time.
    retryCount number
    Retry Count.
    base_delay int
    Base delay.
    max_backoff_time int
    Max BackOff Time.
    retry_count int
    Retry Count.
    baseDelay Number
    Base delay.
    maxBackoffTime Number
    Max BackOff Time.
    retryCount Number
    Retry Count.

    GetAwsConnectorInheritFromDelegate

    DelegateSelectors List<string>
    The delegates to inherit the credentials from.
    DelegateSelectors []string
    The delegates to inherit the credentials from.
    delegateSelectors List<String>
    The delegates to inherit the credentials from.
    delegateSelectors string[]
    The delegates to inherit the credentials from.
    delegate_selectors Sequence[str]
    The delegates to inherit the credentials from.
    delegateSelectors List<String>
    The delegates to inherit the credentials from.

    GetAwsConnectorIrsa

    DelegateSelectors List<string>
    The delegates to inherit the credentials from.
    DelegateSelectors []string
    The delegates to inherit the credentials from.
    delegateSelectors List<String>
    The delegates to inherit the credentials from.
    delegateSelectors string[]
    The delegates to inherit the credentials from.
    delegate_selectors Sequence[str]
    The delegates to inherit the credentials from.
    delegateSelectors List<String>
    The delegates to inherit the credentials from.

    GetAwsConnectorManual

    AccessKey string
    AWS access key.
    AccessKeyRef string
    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}.
    DelegateSelectors List<string>
    Connect only use delegates with these tags.
    SecretKeyRef string
    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}.
    AccessKey string
    AWS access key.
    AccessKeyRef string
    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}.
    DelegateSelectors []string
    Connect only use delegates with these tags.
    SecretKeyRef string
    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}.
    accessKey String
    AWS access key.
    accessKeyRef String
    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}.
    delegateSelectors List<String>
    Connect only use delegates with these tags.
    secretKeyRef String
    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}.
    accessKey string
    AWS access key.
    accessKeyRef string
    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}.
    delegateSelectors string[]
    Connect only use delegates with these tags.
    secretKeyRef string
    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_ref str
    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_ref str
    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}.
    accessKey String
    AWS access key.
    accessKeyRef String
    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}.
    delegateSelectors List<String>
    Connect only use delegates with these tags.
    secretKeyRef String
    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.
    harness logo
    Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs