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

harness.platform.AwsConnector

Explore with Pulumi AI

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

    Resource for creating an AWS connector.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Harness = Lbrlabs.PulumiPackage.Harness;
    
    return await Deployment.RunAsync(() => 
    {
        var aws = new Harness.Platform.AwsConnector("aws", new()
        {
            Description = "description of aws connector",
            FixedDelayBackoffStrategy = new Harness.Platform.Inputs.AwsConnectorFixedDelayBackoffStrategyArgs
            {
                FixedBackoff = 10,
                RetryCount = 3,
            },
            Identifier = "example_aws_connector",
            Manual = new Harness.Platform.Inputs.AwsConnectorManualArgs
            {
                AccessKeyRef = "account.access_id",
                DelegateSelectors = new[]
                {
                    "harness-delegate",
                },
                SecretKeyRef = "account.secret_id",
            },
            Tags = new[]
            {
                "foo:bar",
            },
        });
    
    });
    
    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.NewAwsConnector(ctx, "aws", &platform.AwsConnectorArgs{
    			Description: pulumi.String("description of aws connector"),
    			FixedDelayBackoffStrategy: &platform.AwsConnectorFixedDelayBackoffStrategyArgs{
    				FixedBackoff: pulumi.Int(10),
    				RetryCount:   pulumi.Int(3),
    			},
    			Identifier: pulumi.String("example_aws_connector"),
    			Manual: &platform.AwsConnectorManualArgs{
    				AccessKeyRef: pulumi.String("account.access_id"),
    				DelegateSelectors: pulumi.StringArray{
    					pulumi.String("harness-delegate"),
    				},
    				SecretKeyRef: pulumi.String("account.secret_id"),
    			},
    			Tags: pulumi.StringArray{
    				pulumi.String("foo:bar"),
    			},
    		})
    		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.AwsConnector;
    import com.pulumi.harness.platform.AwsConnectorArgs;
    import com.pulumi.harness.platform.inputs.AwsConnectorFixedDelayBackoffStrategyArgs;
    import com.pulumi.harness.platform.inputs.AwsConnectorManualArgs;
    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) {
            var aws = new AwsConnector("aws", AwsConnectorArgs.builder()        
                .description("description of aws connector")
                .fixedDelayBackoffStrategy(AwsConnectorFixedDelayBackoffStrategyArgs.builder()
                    .fixedBackoff(10)
                    .retryCount(3)
                    .build())
                .identifier("example_aws_connector")
                .manual(AwsConnectorManualArgs.builder()
                    .accessKeyRef("account.access_id")
                    .delegateSelectors("harness-delegate")
                    .secretKeyRef("account.secret_id")
                    .build())
                .tags("foo:bar")
                .build());
    
        }
    }
    
    import pulumi
    import lbrlabs_pulumi_harness as harness
    
    aws = harness.platform.AwsConnector("aws",
        description="description of aws connector",
        fixed_delay_backoff_strategy=harness.platform.AwsConnectorFixedDelayBackoffStrategyArgs(
            fixed_backoff=10,
            retry_count=3,
        ),
        identifier="example_aws_connector",
        manual=harness.platform.AwsConnectorManualArgs(
            access_key_ref="account.access_id",
            delegate_selectors=["harness-delegate"],
            secret_key_ref="account.secret_id",
        ),
        tags=["foo:bar"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@lbrlabs/pulumi-harness";
    
    const aws = new harness.platform.AwsConnector("aws", {
        description: "description of aws connector",
        fixedDelayBackoffStrategy: {
            fixedBackoff: 10,
            retryCount: 3,
        },
        identifier: "example_aws_connector",
        manual: {
            accessKeyRef: "account.access_id",
            delegateSelectors: ["harness-delegate"],
            secretKeyRef: "account.secret_id",
        },
        tags: ["foo:bar"],
    });
    
    resources:
      aws:
        type: harness:platform:AwsConnector
        properties:
          description: description of aws connector
          fixedDelayBackoffStrategy:
            fixedBackoff: 10
            retryCount: 3
          identifier: example_aws_connector
          manual:
            accessKeyRef: account.access_id
            delegateSelectors:
              - harness-delegate
            secretKeyRef: account.secret_id
          tags:
            - foo:bar
    

    Create AwsConnector Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AwsConnector(name: string, args: AwsConnectorArgs, opts?: CustomResourceOptions);
    @overload
    def AwsConnector(resource_name: str,
                     args: AwsConnectorArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def AwsConnector(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     identifier: Optional[str] = None,
                     inherit_from_delegate: Optional[AwsConnectorInheritFromDelegateArgs] = None,
                     equal_jitter_backoff_strategy: Optional[AwsConnectorEqualJitterBackoffStrategyArgs] = None,
                     fixed_delay_backoff_strategy: Optional[AwsConnectorFixedDelayBackoffStrategyArgs] = None,
                     full_jitter_backoff_strategy: Optional[AwsConnectorFullJitterBackoffStrategyArgs] = None,
                     description: Optional[str] = None,
                     cross_account_access: Optional[AwsConnectorCrossAccountAccessArgs] = None,
                     irsa: Optional[AwsConnectorIrsaArgs] = None,
                     manual: Optional[AwsConnectorManualArgs] = None,
                     name: Optional[str] = None,
                     org_id: Optional[str] = None,
                     project_id: Optional[str] = None,
                     tags: Optional[Sequence[str]] = None)
    func NewAwsConnector(ctx *Context, name string, args AwsConnectorArgs, opts ...ResourceOption) (*AwsConnector, error)
    public AwsConnector(string name, AwsConnectorArgs args, CustomResourceOptions? opts = null)
    public AwsConnector(String name, AwsConnectorArgs args)
    public AwsConnector(String name, AwsConnectorArgs args, CustomResourceOptions options)
    
    type: harness:platform:AwsConnector
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AwsConnectorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AwsConnectorArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AwsConnectorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AwsConnectorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AwsConnectorArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var awsConnectorResource = new Harness.Platform.AwsConnector("awsConnectorResource", new()
    {
        Identifier = "string",
        InheritFromDelegate = new Harness.Platform.Inputs.AwsConnectorInheritFromDelegateArgs
        {
            DelegateSelectors = new[]
            {
                "string",
            },
        },
        EqualJitterBackoffStrategy = new Harness.Platform.Inputs.AwsConnectorEqualJitterBackoffStrategyArgs
        {
            BaseDelay = 0,
            MaxBackoffTime = 0,
            RetryCount = 0,
        },
        FixedDelayBackoffStrategy = new Harness.Platform.Inputs.AwsConnectorFixedDelayBackoffStrategyArgs
        {
            FixedBackoff = 0,
            RetryCount = 0,
        },
        FullJitterBackoffStrategy = new Harness.Platform.Inputs.AwsConnectorFullJitterBackoffStrategyArgs
        {
            BaseDelay = 0,
            MaxBackoffTime = 0,
            RetryCount = 0,
        },
        Description = "string",
        CrossAccountAccess = new Harness.Platform.Inputs.AwsConnectorCrossAccountAccessArgs
        {
            RoleArn = "string",
            ExternalId = "string",
        },
        Irsa = new Harness.Platform.Inputs.AwsConnectorIrsaArgs
        {
            DelegateSelectors = new[]
            {
                "string",
            },
        },
        Manual = new Harness.Platform.Inputs.AwsConnectorManualArgs
        {
            SecretKeyRef = "string",
            AccessKey = "string",
            AccessKeyRef = "string",
            DelegateSelectors = new[]
            {
                "string",
            },
        },
        Name = "string",
        OrgId = "string",
        ProjectId = "string",
        Tags = new[]
        {
            "string",
        },
    });
    
    example, err := platform.NewAwsConnector(ctx, "awsConnectorResource", &platform.AwsConnectorArgs{
    	Identifier: pulumi.String("string"),
    	InheritFromDelegate: &platform.AwsConnectorInheritFromDelegateArgs{
    		DelegateSelectors: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	EqualJitterBackoffStrategy: &platform.AwsConnectorEqualJitterBackoffStrategyArgs{
    		BaseDelay:      pulumi.Int(0),
    		MaxBackoffTime: pulumi.Int(0),
    		RetryCount:     pulumi.Int(0),
    	},
    	FixedDelayBackoffStrategy: &platform.AwsConnectorFixedDelayBackoffStrategyArgs{
    		FixedBackoff: pulumi.Int(0),
    		RetryCount:   pulumi.Int(0),
    	},
    	FullJitterBackoffStrategy: &platform.AwsConnectorFullJitterBackoffStrategyArgs{
    		BaseDelay:      pulumi.Int(0),
    		MaxBackoffTime: pulumi.Int(0),
    		RetryCount:     pulumi.Int(0),
    	},
    	Description: pulumi.String("string"),
    	CrossAccountAccess: &platform.AwsConnectorCrossAccountAccessArgs{
    		RoleArn:    pulumi.String("string"),
    		ExternalId: pulumi.String("string"),
    	},
    	Irsa: &platform.AwsConnectorIrsaArgs{
    		DelegateSelectors: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	Manual: &platform.AwsConnectorManualArgs{
    		SecretKeyRef: pulumi.String("string"),
    		AccessKey:    pulumi.String("string"),
    		AccessKeyRef: pulumi.String("string"),
    		DelegateSelectors: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	Name:      pulumi.String("string"),
    	OrgId:     pulumi.String("string"),
    	ProjectId: pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var awsConnectorResource = new AwsConnector("awsConnectorResource", AwsConnectorArgs.builder()
        .identifier("string")
        .inheritFromDelegate(AwsConnectorInheritFromDelegateArgs.builder()
            .delegateSelectors("string")
            .build())
        .equalJitterBackoffStrategy(AwsConnectorEqualJitterBackoffStrategyArgs.builder()
            .baseDelay(0)
            .maxBackoffTime(0)
            .retryCount(0)
            .build())
        .fixedDelayBackoffStrategy(AwsConnectorFixedDelayBackoffStrategyArgs.builder()
            .fixedBackoff(0)
            .retryCount(0)
            .build())
        .fullJitterBackoffStrategy(AwsConnectorFullJitterBackoffStrategyArgs.builder()
            .baseDelay(0)
            .maxBackoffTime(0)
            .retryCount(0)
            .build())
        .description("string")
        .crossAccountAccess(AwsConnectorCrossAccountAccessArgs.builder()
            .roleArn("string")
            .externalId("string")
            .build())
        .irsa(AwsConnectorIrsaArgs.builder()
            .delegateSelectors("string")
            .build())
        .manual(AwsConnectorManualArgs.builder()
            .secretKeyRef("string")
            .accessKey("string")
            .accessKeyRef("string")
            .delegateSelectors("string")
            .build())
        .name("string")
        .orgId("string")
        .projectId("string")
        .tags("string")
        .build());
    
    aws_connector_resource = harness.platform.AwsConnector("awsConnectorResource",
        identifier="string",
        inherit_from_delegate=harness.platform.AwsConnectorInheritFromDelegateArgs(
            delegate_selectors=["string"],
        ),
        equal_jitter_backoff_strategy=harness.platform.AwsConnectorEqualJitterBackoffStrategyArgs(
            base_delay=0,
            max_backoff_time=0,
            retry_count=0,
        ),
        fixed_delay_backoff_strategy=harness.platform.AwsConnectorFixedDelayBackoffStrategyArgs(
            fixed_backoff=0,
            retry_count=0,
        ),
        full_jitter_backoff_strategy=harness.platform.AwsConnectorFullJitterBackoffStrategyArgs(
            base_delay=0,
            max_backoff_time=0,
            retry_count=0,
        ),
        description="string",
        cross_account_access=harness.platform.AwsConnectorCrossAccountAccessArgs(
            role_arn="string",
            external_id="string",
        ),
        irsa=harness.platform.AwsConnectorIrsaArgs(
            delegate_selectors=["string"],
        ),
        manual=harness.platform.AwsConnectorManualArgs(
            secret_key_ref="string",
            access_key="string",
            access_key_ref="string",
            delegate_selectors=["string"],
        ),
        name="string",
        org_id="string",
        project_id="string",
        tags=["string"])
    
    const awsConnectorResource = new harness.platform.AwsConnector("awsConnectorResource", {
        identifier: "string",
        inheritFromDelegate: {
            delegateSelectors: ["string"],
        },
        equalJitterBackoffStrategy: {
            baseDelay: 0,
            maxBackoffTime: 0,
            retryCount: 0,
        },
        fixedDelayBackoffStrategy: {
            fixedBackoff: 0,
            retryCount: 0,
        },
        fullJitterBackoffStrategy: {
            baseDelay: 0,
            maxBackoffTime: 0,
            retryCount: 0,
        },
        description: "string",
        crossAccountAccess: {
            roleArn: "string",
            externalId: "string",
        },
        irsa: {
            delegateSelectors: ["string"],
        },
        manual: {
            secretKeyRef: "string",
            accessKey: "string",
            accessKeyRef: "string",
            delegateSelectors: ["string"],
        },
        name: "string",
        orgId: "string",
        projectId: "string",
        tags: ["string"],
    });
    
    type: harness:platform:AwsConnector
    properties:
        crossAccountAccess:
            externalId: string
            roleArn: string
        description: string
        equalJitterBackoffStrategy:
            baseDelay: 0
            maxBackoffTime: 0
            retryCount: 0
        fixedDelayBackoffStrategy:
            fixedBackoff: 0
            retryCount: 0
        fullJitterBackoffStrategy:
            baseDelay: 0
            maxBackoffTime: 0
            retryCount: 0
        identifier: string
        inheritFromDelegate:
            delegateSelectors:
                - string
        irsa:
            delegateSelectors:
                - string
        manual:
            accessKey: string
            accessKeyRef: string
            delegateSelectors:
                - string
            secretKeyRef: string
        name: string
        orgId: string
        projectId: string
        tags:
            - string
    

    AwsConnector Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AwsConnector resource accepts the following input properties:

    Identifier string
    Unique identifier of the resource.
    CrossAccountAccess Lbrlabs.PulumiPackage.Harness.Platform.Inputs.AwsConnectorCrossAccountAccess
    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.
    EqualJitterBackoffStrategy Lbrlabs.PulumiPackage.Harness.Platform.Inputs.AwsConnectorEqualJitterBackoffStrategy
    Equal Jitter BackOff Strategy.
    FixedDelayBackoffStrategy Lbrlabs.PulumiPackage.Harness.Platform.Inputs.AwsConnectorFixedDelayBackoffStrategy
    Fixed Delay BackOff Strategy.
    FullJitterBackoffStrategy Lbrlabs.PulumiPackage.Harness.Platform.Inputs.AwsConnectorFullJitterBackoffStrategy
    Full Jitter BackOff Strategy.
    InheritFromDelegate Lbrlabs.PulumiPackage.Harness.Platform.Inputs.AwsConnectorInheritFromDelegate
    Inherit credentials from the delegate.
    Irsa Lbrlabs.PulumiPackage.Harness.Platform.Inputs.AwsConnectorIrsa
    Use IAM role for service accounts.
    Manual Lbrlabs.PulumiPackage.Harness.Platform.Inputs.AwsConnectorManual
    Use IAM role for service accounts.
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    Tags List<string>
    Tags to associate with the resource.
    Identifier string
    Unique identifier of the resource.
    CrossAccountAccess AwsConnectorCrossAccountAccessArgs
    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.
    EqualJitterBackoffStrategy AwsConnectorEqualJitterBackoffStrategyArgs
    Equal Jitter BackOff Strategy.
    FixedDelayBackoffStrategy AwsConnectorFixedDelayBackoffStrategyArgs
    Fixed Delay BackOff Strategy.
    FullJitterBackoffStrategy AwsConnectorFullJitterBackoffStrategyArgs
    Full Jitter BackOff Strategy.
    InheritFromDelegate AwsConnectorInheritFromDelegateArgs
    Inherit credentials from the delegate.
    Irsa AwsConnectorIrsaArgs
    Use IAM role for service accounts.
    Manual AwsConnectorManualArgs
    Use IAM role for service accounts.
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    Tags []string
    Tags to associate with the resource.
    identifier String
    Unique identifier of the resource.
    crossAccountAccess AwsConnectorCrossAccountAccess
    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.
    equalJitterBackoffStrategy AwsConnectorEqualJitterBackoffStrategy
    Equal Jitter BackOff Strategy.
    fixedDelayBackoffStrategy AwsConnectorFixedDelayBackoffStrategy
    Fixed Delay BackOff Strategy.
    fullJitterBackoffStrategy AwsConnectorFullJitterBackoffStrategy
    Full Jitter BackOff Strategy.
    inheritFromDelegate AwsConnectorInheritFromDelegate
    Inherit credentials from the delegate.
    irsa AwsConnectorIrsa
    Use IAM role for service accounts.
    manual AwsConnectorManual
    Use IAM role for service accounts.
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    tags List<String>
    Tags to associate with the resource.
    identifier string
    Unique identifier of the resource.
    crossAccountAccess AwsConnectorCrossAccountAccess
    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.
    equalJitterBackoffStrategy AwsConnectorEqualJitterBackoffStrategy
    Equal Jitter BackOff Strategy.
    fixedDelayBackoffStrategy AwsConnectorFixedDelayBackoffStrategy
    Fixed Delay BackOff Strategy.
    fullJitterBackoffStrategy AwsConnectorFullJitterBackoffStrategy
    Full Jitter BackOff Strategy.
    inheritFromDelegate AwsConnectorInheritFromDelegate
    Inherit credentials from the delegate.
    irsa AwsConnectorIrsa
    Use IAM role for service accounts.
    manual AwsConnectorManual
    Use IAM role for service accounts.
    name string
    Name of the resource.
    orgId string
    Unique identifier of the organization.
    projectId string
    Unique identifier of the project.
    tags string[]
    Tags to associate with the resource.
    identifier str
    Unique identifier of the resource.
    cross_account_access AwsConnectorCrossAccountAccessArgs
    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_strategy AwsConnectorEqualJitterBackoffStrategyArgs
    Equal Jitter BackOff Strategy.
    fixed_delay_backoff_strategy AwsConnectorFixedDelayBackoffStrategyArgs
    Fixed Delay BackOff Strategy.
    full_jitter_backoff_strategy AwsConnectorFullJitterBackoffStrategyArgs
    Full Jitter BackOff Strategy.
    inherit_from_delegate AwsConnectorInheritFromDelegateArgs
    Inherit credentials from the delegate.
    irsa AwsConnectorIrsaArgs
    Use IAM role for service accounts.
    manual AwsConnectorManualArgs
    Use IAM role for service accounts.
    name str
    Name of the resource.
    org_id str
    Unique identifier of the organization.
    project_id str
    Unique identifier of the project.
    tags Sequence[str]
    Tags to associate with the resource.
    identifier String
    Unique identifier of the resource.
    crossAccountAccess 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.
    equalJitterBackoffStrategy Property Map
    Equal Jitter BackOff Strategy.
    fixedDelayBackoffStrategy Property Map
    Fixed Delay BackOff Strategy.
    fullJitterBackoffStrategy Property Map
    Full Jitter BackOff Strategy.
    inheritFromDelegate Property Map
    Inherit credentials from the delegate.
    irsa Property Map
    Use IAM role for service accounts.
    manual Property Map
    Use IAM role for service accounts.
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    tags List<String>
    Tags to associate with the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AwsConnector resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AwsConnector Resource

    Get an existing AwsConnector resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AwsConnectorState, opts?: CustomResourceOptions): AwsConnector
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cross_account_access: Optional[AwsConnectorCrossAccountAccessArgs] = None,
            description: Optional[str] = None,
            equal_jitter_backoff_strategy: Optional[AwsConnectorEqualJitterBackoffStrategyArgs] = None,
            fixed_delay_backoff_strategy: Optional[AwsConnectorFixedDelayBackoffStrategyArgs] = None,
            full_jitter_backoff_strategy: Optional[AwsConnectorFullJitterBackoffStrategyArgs] = None,
            identifier: Optional[str] = None,
            inherit_from_delegate: Optional[AwsConnectorInheritFromDelegateArgs] = None,
            irsa: Optional[AwsConnectorIrsaArgs] = None,
            manual: Optional[AwsConnectorManualArgs] = None,
            name: Optional[str] = None,
            org_id: Optional[str] = None,
            project_id: Optional[str] = None,
            tags: Optional[Sequence[str]] = None) -> AwsConnector
    func GetAwsConnector(ctx *Context, name string, id IDInput, state *AwsConnectorState, opts ...ResourceOption) (*AwsConnector, error)
    public static AwsConnector Get(string name, Input<string> id, AwsConnectorState? state, CustomResourceOptions? opts = null)
    public static AwsConnector get(String name, Output<String> id, AwsConnectorState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CrossAccountAccess Lbrlabs.PulumiPackage.Harness.Platform.Inputs.AwsConnectorCrossAccountAccess
    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.
    EqualJitterBackoffStrategy Lbrlabs.PulumiPackage.Harness.Platform.Inputs.AwsConnectorEqualJitterBackoffStrategy
    Equal Jitter BackOff Strategy.
    FixedDelayBackoffStrategy Lbrlabs.PulumiPackage.Harness.Platform.Inputs.AwsConnectorFixedDelayBackoffStrategy
    Fixed Delay BackOff Strategy.
    FullJitterBackoffStrategy Lbrlabs.PulumiPackage.Harness.Platform.Inputs.AwsConnectorFullJitterBackoffStrategy
    Full Jitter BackOff Strategy.
    Identifier string
    Unique identifier of the resource.
    InheritFromDelegate Lbrlabs.PulumiPackage.Harness.Platform.Inputs.AwsConnectorInheritFromDelegate
    Inherit credentials from the delegate.
    Irsa Lbrlabs.PulumiPackage.Harness.Platform.Inputs.AwsConnectorIrsa
    Use IAM role for service accounts.
    Manual Lbrlabs.PulumiPackage.Harness.Platform.Inputs.AwsConnectorManual
    Use IAM role for service accounts.
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    Tags List<string>
    Tags to associate with the resource.
    CrossAccountAccess AwsConnectorCrossAccountAccessArgs
    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.
    EqualJitterBackoffStrategy AwsConnectorEqualJitterBackoffStrategyArgs
    Equal Jitter BackOff Strategy.
    FixedDelayBackoffStrategy AwsConnectorFixedDelayBackoffStrategyArgs
    Fixed Delay BackOff Strategy.
    FullJitterBackoffStrategy AwsConnectorFullJitterBackoffStrategyArgs
    Full Jitter BackOff Strategy.
    Identifier string
    Unique identifier of the resource.
    InheritFromDelegate AwsConnectorInheritFromDelegateArgs
    Inherit credentials from the delegate.
    Irsa AwsConnectorIrsaArgs
    Use IAM role for service accounts.
    Manual AwsConnectorManualArgs
    Use IAM role for service accounts.
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    Tags []string
    Tags to associate with the resource.
    crossAccountAccess AwsConnectorCrossAccountAccess
    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.
    equalJitterBackoffStrategy AwsConnectorEqualJitterBackoffStrategy
    Equal Jitter BackOff Strategy.
    fixedDelayBackoffStrategy AwsConnectorFixedDelayBackoffStrategy
    Fixed Delay BackOff Strategy.
    fullJitterBackoffStrategy AwsConnectorFullJitterBackoffStrategy
    Full Jitter BackOff Strategy.
    identifier String
    Unique identifier of the resource.
    inheritFromDelegate AwsConnectorInheritFromDelegate
    Inherit credentials from the delegate.
    irsa AwsConnectorIrsa
    Use IAM role for service accounts.
    manual AwsConnectorManual
    Use IAM role for service accounts.
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    tags List<String>
    Tags to associate with the resource.
    crossAccountAccess AwsConnectorCrossAccountAccess
    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.
    equalJitterBackoffStrategy AwsConnectorEqualJitterBackoffStrategy
    Equal Jitter BackOff Strategy.
    fixedDelayBackoffStrategy AwsConnectorFixedDelayBackoffStrategy
    Fixed Delay BackOff Strategy.
    fullJitterBackoffStrategy AwsConnectorFullJitterBackoffStrategy
    Full Jitter BackOff Strategy.
    identifier string
    Unique identifier of the resource.
    inheritFromDelegate AwsConnectorInheritFromDelegate
    Inherit credentials from the delegate.
    irsa AwsConnectorIrsa
    Use IAM role for service accounts.
    manual AwsConnectorManual
    Use IAM role for service accounts.
    name string
    Name of the resource.
    orgId string
    Unique identifier of the organization.
    projectId string
    Unique identifier of the project.
    tags string[]
    Tags to associate with the resource.
    cross_account_access AwsConnectorCrossAccountAccessArgs
    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_strategy AwsConnectorEqualJitterBackoffStrategyArgs
    Equal Jitter BackOff Strategy.
    fixed_delay_backoff_strategy AwsConnectorFixedDelayBackoffStrategyArgs
    Fixed Delay BackOff Strategy.
    full_jitter_backoff_strategy AwsConnectorFullJitterBackoffStrategyArgs
    Full Jitter BackOff Strategy.
    identifier str
    Unique identifier of the resource.
    inherit_from_delegate AwsConnectorInheritFromDelegateArgs
    Inherit credentials from the delegate.
    irsa AwsConnectorIrsaArgs
    Use IAM role for service accounts.
    manual AwsConnectorManualArgs
    Use IAM role for service accounts.
    name str
    Name of the resource.
    org_id str
    Unique identifier of the organization.
    project_id str
    Unique identifier of the project.
    tags Sequence[str]
    Tags to associate with the resource.
    crossAccountAccess 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.
    equalJitterBackoffStrategy Property Map
    Equal Jitter BackOff Strategy.
    fixedDelayBackoffStrategy Property Map
    Fixed Delay BackOff Strategy.
    fullJitterBackoffStrategy Property Map
    Full Jitter BackOff Strategy.
    identifier String
    Unique identifier of the resource.
    inheritFromDelegate Property Map
    Inherit credentials from the delegate.
    irsa Property Map
    Use IAM role for service accounts.
    manual Property Map
    Use IAM role for service accounts.
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    tags List<String>
    Tags to associate with the resource.

    Supporting Types

    AwsConnectorCrossAccountAccess, AwsConnectorCrossAccountAccessArgs

    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.
    externalId string
    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 str
    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.

    AwsConnectorEqualJitterBackoffStrategy, AwsConnectorEqualJitterBackoffStrategyArgs

    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.

    AwsConnectorFixedDelayBackoffStrategy, AwsConnectorFixedDelayBackoffStrategyArgs

    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.

    AwsConnectorFullJitterBackoffStrategy, AwsConnectorFullJitterBackoffStrategyArgs

    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.

    AwsConnectorInheritFromDelegate, AwsConnectorInheritFromDelegateArgs

    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.

    AwsConnectorIrsa, AwsConnectorIrsaArgs

    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.

    AwsConnectorManual, AwsConnectorManualArgs

    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}.
    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.
    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}.
    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.
    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.

    Import

    Import account level aws connector

     $ pulumi import harness:platform/awsConnector:AwsConnector example <connector_id>
    

    Import organization level aws connector

     $ pulumi import harness:platform/awsConnector:AwsConnector example <organization_id>/<connector_id>
    

    Import project level aws connector

     $ pulumi import harness:platform/awsConnector:AwsConnector example <organization_id>/<project_id>/<connector_id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    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