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.
- 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.
- Id string
The provider-assigned unique ID for this managed 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. Tags should be in the form
name:value
.- 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.
- 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.
- Id string
The provider-assigned unique ID for this managed 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. Tags should be in the form
name:value
.- 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.
- 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.
- id String
The provider-assigned unique ID for this managed 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. Tags should be in the form
name:value
.- 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.
- 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.
- id string
The provider-assigned unique ID for this managed 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. Tags should be in the form
name:value
.- 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.
- 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.
- id str
The provider-assigned unique ID for this managed 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. 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.
- 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.
- id String
The provider-assigned unique ID for this managed 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. Tags should be in the form
name:value
.- 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.
Supporting Types
GetAwsConnectorCrossAccountAccess
- External
Id string - Role
Arn string
- External
Id string - Role
Arn string
- external
Id String - role
Arn String
- external
Id string - role
Arn string
- external_
id str - role_
arn str
- external
Id String - role
Arn String
GetAwsConnectorInheritFromDelegate
- Delegate
Selectors List<string>
- Delegate
Selectors []string
- delegate
Selectors List<String>
- delegate
Selectors string[]
- delegate_
selectors Sequence[str]
- delegate
Selectors List<String>
GetAwsConnectorIrsa
- Delegate
Selectors List<string>
- Delegate
Selectors []string
- delegate
Selectors List<String>
- delegate
Selectors string[]
- delegate_
selectors Sequence[str]
- delegate
Selectors List<String>
GetAwsConnectorManual
- Access
Key string - Access
Key stringRef - Delegate
Selectors List<string> - Secret
Key stringRef
- Access
Key string - Access
Key stringRef - Delegate
Selectors []string - Secret
Key stringRef
- access
Key String - access
Key StringRef - delegate
Selectors List<String> - secret
Key StringRef
- access
Key string - access
Key stringRef - delegate
Selectors string[] - secret
Key stringRef
- access_
key str - access_
key_ strref - delegate_
selectors Sequence[str] - secret_
key_ strref
- access
Key String - access
Key StringRef - delegate
Selectors List<String> - secret
Key StringRef
Package Details
- Repository
- harness lbrlabs/pulumi-harness
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
harness
Terraform Provider.