harness.platform.getAwsConnector

Datasource for looking up an AWS connector.

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.

Id string

The provider-assigned unique ID for this managed 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. Tags should be in the form name:value.

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.

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.

Id string

The provider-assigned unique ID for this managed 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. Tags should be in the form name:value.

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.

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.

id String

The provider-assigned unique ID for this managed 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. Tags should be in the form name:value.

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.

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.

id string

The provider-assigned unique ID for this managed 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. Tags should be in the form name:value.

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.

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.

id str

The provider-assigned unique ID for this managed 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. Tags should be in the form name:value.

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.

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.

id String

The provider-assigned unique ID for this managed 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. Tags should be in the form name:value.

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.

Supporting Types

GetAwsConnectorCrossAccountAccess

ExternalId string
RoleArn string
ExternalId string
RoleArn string
externalId String
roleArn String
externalId string
roleArn string
externalId String
roleArn String

GetAwsConnectorInheritFromDelegate

DelegateSelectors List<string>
delegateSelectors List<String>
delegate_selectors Sequence[str]
delegateSelectors List<String>

GetAwsConnectorIrsa

DelegateSelectors List<string>
delegateSelectors List<String>
delegate_selectors Sequence[str]
delegateSelectors List<String>

GetAwsConnectorManual

AccessKey string
AccessKeyRef string
DelegateSelectors List<string>
SecretKeyRef string
accessKey String
accessKeyRef String
delegateSelectors List<String>
secretKeyRef String
accessKey String
accessKeyRef String
delegateSelectors List<String>
secretKeyRef String

Package Details

Repository
harness lbrlabs/pulumi-harness
License
Apache-2.0
Notes

This Pulumi package is based on the harness Terraform Provider.