harness.platform.AwsConnector
Explore with Pulumi AI
Resource for creating an AWS connector.
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,
                 name: Optional[str] = None,
                 execute_on_delegate: Optional[bool] = None,
                 fixed_delay_backoff_strategy: Optional[AwsConnectorFixedDelayBackoffStrategyArgs] = None,
                 force_delete: Optional[bool] = None,
                 full_jitter_backoff_strategy: Optional[AwsConnectorFullJitterBackoffStrategyArgs] = None,
                 equal_jitter_backoff_strategy: Optional[AwsConnectorEqualJitterBackoffStrategyArgs] = None,
                 irsa: Optional[AwsConnectorIrsaArgs] = None,
                 description: Optional[str] = None,
                 manual: Optional[AwsConnectorManualArgs] = None,
                 cross_account_access: Optional[AwsConnectorCrossAccountAccessArgs] = None,
                 oidc_authentication: Optional[AwsConnectorOidcAuthenticationArgs] = 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.
Constructor 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",
        },
        Region = "string",
    },
    Name = "string",
    ExecuteOnDelegate = false,
    FixedDelayBackoffStrategy = new Harness.Platform.Inputs.AwsConnectorFixedDelayBackoffStrategyArgs
    {
        FixedBackoff = 0,
        RetryCount = 0,
    },
    ForceDelete = false,
    FullJitterBackoffStrategy = new Harness.Platform.Inputs.AwsConnectorFullJitterBackoffStrategyArgs
    {
        BaseDelay = 0,
        MaxBackoffTime = 0,
        RetryCount = 0,
    },
    EqualJitterBackoffStrategy = new Harness.Platform.Inputs.AwsConnectorEqualJitterBackoffStrategyArgs
    {
        BaseDelay = 0,
        MaxBackoffTime = 0,
        RetryCount = 0,
    },
    Irsa = new Harness.Platform.Inputs.AwsConnectorIrsaArgs
    {
        DelegateSelectors = new[]
        {
            "string",
        },
        Region = "string",
    },
    Description = "string",
    Manual = new Harness.Platform.Inputs.AwsConnectorManualArgs
    {
        SecretKeyRef = "string",
        AccessKey = "string",
        AccessKeyRef = "string",
        DelegateSelectors = new[]
        {
            "string",
        },
        Region = "string",
        SessionTokenRef = "string",
    },
    CrossAccountAccess = new Harness.Platform.Inputs.AwsConnectorCrossAccountAccessArgs
    {
        RoleArn = "string",
        ExternalId = "string",
    },
    OidcAuthentication = new Harness.Platform.Inputs.AwsConnectorOidcAuthenticationArgs
    {
        DelegateSelectors = new[]
        {
            "string",
        },
        IamRoleArn = "string",
        Region = "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"),
		},
		Region: pulumi.String("string"),
	},
	Name:              pulumi.String("string"),
	ExecuteOnDelegate: pulumi.Bool(false),
	FixedDelayBackoffStrategy: &platform.AwsConnectorFixedDelayBackoffStrategyArgs{
		FixedBackoff: pulumi.Int(0),
		RetryCount:   pulumi.Int(0),
	},
	ForceDelete: pulumi.Bool(false),
	FullJitterBackoffStrategy: &platform.AwsConnectorFullJitterBackoffStrategyArgs{
		BaseDelay:      pulumi.Int(0),
		MaxBackoffTime: pulumi.Int(0),
		RetryCount:     pulumi.Int(0),
	},
	EqualJitterBackoffStrategy: &platform.AwsConnectorEqualJitterBackoffStrategyArgs{
		BaseDelay:      pulumi.Int(0),
		MaxBackoffTime: pulumi.Int(0),
		RetryCount:     pulumi.Int(0),
	},
	Irsa: &platform.AwsConnectorIrsaArgs{
		DelegateSelectors: pulumi.StringArray{
			pulumi.String("string"),
		},
		Region: pulumi.String("string"),
	},
	Description: pulumi.String("string"),
	Manual: &platform.AwsConnectorManualArgs{
		SecretKeyRef: pulumi.String("string"),
		AccessKey:    pulumi.String("string"),
		AccessKeyRef: pulumi.String("string"),
		DelegateSelectors: pulumi.StringArray{
			pulumi.String("string"),
		},
		Region:          pulumi.String("string"),
		SessionTokenRef: pulumi.String("string"),
	},
	CrossAccountAccess: &platform.AwsConnectorCrossAccountAccessArgs{
		RoleArn:    pulumi.String("string"),
		ExternalId: pulumi.String("string"),
	},
	OidcAuthentication: &platform.AwsConnectorOidcAuthenticationArgs{
		DelegateSelectors: pulumi.StringArray{
			pulumi.String("string"),
		},
		IamRoleArn: pulumi.String("string"),
		Region:     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")
        .region("string")
        .build())
    .name("string")
    .executeOnDelegate(false)
    .fixedDelayBackoffStrategy(AwsConnectorFixedDelayBackoffStrategyArgs.builder()
        .fixedBackoff(0)
        .retryCount(0)
        .build())
    .forceDelete(false)
    .fullJitterBackoffStrategy(AwsConnectorFullJitterBackoffStrategyArgs.builder()
        .baseDelay(0)
        .maxBackoffTime(0)
        .retryCount(0)
        .build())
    .equalJitterBackoffStrategy(AwsConnectorEqualJitterBackoffStrategyArgs.builder()
        .baseDelay(0)
        .maxBackoffTime(0)
        .retryCount(0)
        .build())
    .irsa(AwsConnectorIrsaArgs.builder()
        .delegateSelectors("string")
        .region("string")
        .build())
    .description("string")
    .manual(AwsConnectorManualArgs.builder()
        .secretKeyRef("string")
        .accessKey("string")
        .accessKeyRef("string")
        .delegateSelectors("string")
        .region("string")
        .sessionTokenRef("string")
        .build())
    .crossAccountAccess(AwsConnectorCrossAccountAccessArgs.builder()
        .roleArn("string")
        .externalId("string")
        .build())
    .oidcAuthentication(AwsConnectorOidcAuthenticationArgs.builder()
        .delegateSelectors("string")
        .iamRoleArn("string")
        .region("string")
        .build())
    .orgId("string")
    .projectId("string")
    .tags("string")
    .build());
aws_connector_resource = harness.platform.AwsConnector("awsConnectorResource",
    identifier="string",
    inherit_from_delegate={
        "delegate_selectors": ["string"],
        "region": "string",
    },
    name="string",
    execute_on_delegate=False,
    fixed_delay_backoff_strategy={
        "fixed_backoff": 0,
        "retry_count": 0,
    },
    force_delete=False,
    full_jitter_backoff_strategy={
        "base_delay": 0,
        "max_backoff_time": 0,
        "retry_count": 0,
    },
    equal_jitter_backoff_strategy={
        "base_delay": 0,
        "max_backoff_time": 0,
        "retry_count": 0,
    },
    irsa={
        "delegate_selectors": ["string"],
        "region": "string",
    },
    description="string",
    manual={
        "secret_key_ref": "string",
        "access_key": "string",
        "access_key_ref": "string",
        "delegate_selectors": ["string"],
        "region": "string",
        "session_token_ref": "string",
    },
    cross_account_access={
        "role_arn": "string",
        "external_id": "string",
    },
    oidc_authentication={
        "delegate_selectors": ["string"],
        "iam_role_arn": "string",
        "region": "string",
    },
    org_id="string",
    project_id="string",
    tags=["string"])
const awsConnectorResource = new harness.platform.AwsConnector("awsConnectorResource", {
    identifier: "string",
    inheritFromDelegate: {
        delegateSelectors: ["string"],
        region: "string",
    },
    name: "string",
    executeOnDelegate: false,
    fixedDelayBackoffStrategy: {
        fixedBackoff: 0,
        retryCount: 0,
    },
    forceDelete: false,
    fullJitterBackoffStrategy: {
        baseDelay: 0,
        maxBackoffTime: 0,
        retryCount: 0,
    },
    equalJitterBackoffStrategy: {
        baseDelay: 0,
        maxBackoffTime: 0,
        retryCount: 0,
    },
    irsa: {
        delegateSelectors: ["string"],
        region: "string",
    },
    description: "string",
    manual: {
        secretKeyRef: "string",
        accessKey: "string",
        accessKeyRef: "string",
        delegateSelectors: ["string"],
        region: "string",
        sessionTokenRef: "string",
    },
    crossAccountAccess: {
        roleArn: "string",
        externalId: "string",
    },
    oidcAuthentication: {
        delegateSelectors: ["string"],
        iamRoleArn: "string",
        region: "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
    executeOnDelegate: false
    fixedDelayBackoffStrategy:
        fixedBackoff: 0
        retryCount: 0
    forceDelete: false
    fullJitterBackoffStrategy:
        baseDelay: 0
        maxBackoffTime: 0
        retryCount: 0
    identifier: string
    inheritFromDelegate:
        delegateSelectors:
            - string
        region: string
    irsa:
        delegateSelectors:
            - string
        region: string
    manual:
        accessKey: string
        accessKeyRef: string
        delegateSelectors:
            - string
        region: string
        secretKeyRef: string
        sessionTokenRef: string
    name: string
    oidcAuthentication:
        delegateSelectors:
            - string
        iamRoleArn: string
        region: 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AwsConnector resource accepts the following input properties:
- Identifier string
- Unique identifier of the resource.
- CrossAccount AwsAccess 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.
- EqualJitter AwsBackoff Strategy Connector Equal Jitter Backoff Strategy 
- Equal Jitter BackOff Strategy.
- ExecuteOn boolDelegate 
- Enable this flag to execute on Delegate
- FixedDelay AwsBackoff Strategy Connector Fixed Delay Backoff Strategy 
- Fixed Delay BackOff Strategy.
- ForceDelete bool
- Enable this flag for force deletion of connector
- FullJitter AwsBackoff Strategy Connector Full Jitter Backoff Strategy 
- Full Jitter BackOff Strategy.
- InheritFrom AwsDelegate Connector Inherit From Delegate 
- Inherit credentials from the delegate.
- Irsa
AwsConnector Irsa 
- Use IAM role for service accounts.
- Manual
AwsConnector Manual 
- Use IAM role for service accounts.
- Name string
- Name of the resource.
- OidcAuthentication AwsConnector Oidc Authentication 
- Authentication using harness oidc.
- OrgId string
- Unique identifier of the organization.
- ProjectId string
- Unique identifier of the project.
- List<string>
- Tags to associate with the resource.
- Identifier string
- Unique identifier of the resource.
- CrossAccount AwsAccess Connector Cross Account Access Args 
- 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.
- EqualJitter AwsBackoff Strategy Connector Equal Jitter Backoff Strategy Args 
- Equal Jitter BackOff Strategy.
- ExecuteOn boolDelegate 
- Enable this flag to execute on Delegate
- FixedDelay AwsBackoff Strategy Connector Fixed Delay Backoff Strategy Args 
- Fixed Delay BackOff Strategy.
- ForceDelete bool
- Enable this flag for force deletion of connector
- FullJitter AwsBackoff Strategy Connector Full Jitter Backoff Strategy Args 
- Full Jitter BackOff Strategy.
- InheritFrom AwsDelegate Connector Inherit From Delegate Args 
- Inherit credentials from the delegate.
- Irsa
AwsConnector Irsa Args 
- Use IAM role for service accounts.
- Manual
AwsConnector Manual Args 
- Use IAM role for service accounts.
- Name string
- Name of the resource.
- OidcAuthentication AwsConnector Oidc Authentication Args 
- Authentication using harness oidc.
- OrgId string
- Unique identifier of the organization.
- ProjectId string
- Unique identifier of the project.
- []string
- Tags to associate with the resource.
- identifier String
- Unique identifier of the resource.
- crossAccount AwsAccess 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.
- equalJitter AwsBackoff Strategy Connector Equal Jitter Backoff Strategy 
- Equal Jitter BackOff Strategy.
- executeOn BooleanDelegate 
- Enable this flag to execute on Delegate
- fixedDelay AwsBackoff Strategy Connector Fixed Delay Backoff Strategy 
- Fixed Delay BackOff Strategy.
- forceDelete Boolean
- Enable this flag for force deletion of connector
- fullJitter AwsBackoff Strategy Connector Full Jitter Backoff Strategy 
- Full Jitter BackOff Strategy.
- inheritFrom AwsDelegate Connector Inherit From Delegate 
- Inherit credentials from the delegate.
- irsa
AwsConnector Irsa 
- Use IAM role for service accounts.
- manual
AwsConnector Manual 
- Use IAM role for service accounts.
- name String
- Name of the resource.
- oidcAuthentication AwsConnector Oidc Authentication 
- Authentication using harness oidc.
- orgId String
- Unique identifier of the organization.
- projectId String
- Unique identifier of the project.
- List<String>
- Tags to associate with the resource.
- identifier string
- Unique identifier of the resource.
- crossAccount AwsAccess 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.
- equalJitter AwsBackoff Strategy Connector Equal Jitter Backoff Strategy 
- Equal Jitter BackOff Strategy.
- executeOn booleanDelegate 
- Enable this flag to execute on Delegate
- fixedDelay AwsBackoff Strategy Connector Fixed Delay Backoff Strategy 
- Fixed Delay BackOff Strategy.
- forceDelete boolean
- Enable this flag for force deletion of connector
- fullJitter AwsBackoff Strategy Connector Full Jitter Backoff Strategy 
- Full Jitter BackOff Strategy.
- inheritFrom AwsDelegate Connector Inherit From Delegate 
- Inherit credentials from the delegate.
- irsa
AwsConnector Irsa 
- Use IAM role for service accounts.
- manual
AwsConnector Manual 
- Use IAM role for service accounts.
- name string
- Name of the resource.
- oidcAuthentication AwsConnector Oidc Authentication 
- Authentication using harness oidc.
- orgId string
- Unique identifier of the organization.
- projectId string
- Unique identifier of the project.
- string[]
- Tags to associate with the resource.
- identifier str
- Unique identifier of the resource.
- cross_account_ Awsaccess Connector Cross Account Access Args 
- 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_ Awsbackoff_ strategy Connector Equal Jitter Backoff Strategy Args 
- Equal Jitter BackOff Strategy.
- execute_on_ booldelegate 
- Enable this flag to execute on Delegate
- fixed_delay_ Awsbackoff_ strategy Connector Fixed Delay Backoff Strategy Args 
- Fixed Delay BackOff Strategy.
- force_delete bool
- Enable this flag for force deletion of connector
- full_jitter_ Awsbackoff_ strategy Connector Full Jitter Backoff Strategy Args 
- Full Jitter BackOff Strategy.
- inherit_from_ Awsdelegate Connector Inherit From Delegate Args 
- Inherit credentials from the delegate.
- irsa
AwsConnector Irsa Args 
- Use IAM role for service accounts.
- manual
AwsConnector Manual Args 
- Use IAM role for service accounts.
- name str
- Name of the resource.
- oidc_authentication AwsConnector Oidc Authentication Args 
- Authentication using harness oidc.
- org_id str
- Unique identifier of the organization.
- project_id str
- Unique identifier of the project.
- Sequence[str]
- Tags to associate with the resource.
- identifier String
- Unique identifier of the resource.
- crossAccount Property MapAccess 
- 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.
- equalJitter Property MapBackoff Strategy 
- Equal Jitter BackOff Strategy.
- executeOn BooleanDelegate 
- Enable this flag to execute on Delegate
- fixedDelay Property MapBackoff Strategy 
- Fixed Delay BackOff Strategy.
- forceDelete Boolean
- Enable this flag for force deletion of connector
- fullJitter Property MapBackoff Strategy 
- Full Jitter BackOff Strategy.
- inheritFrom Property MapDelegate 
- 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.
- oidcAuthentication Property Map
- Authentication using harness oidc.
- orgId String
- Unique identifier of the organization.
- projectId String
- Unique identifier of the project.
- 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,
        execute_on_delegate: Optional[bool] = None,
        fixed_delay_backoff_strategy: Optional[AwsConnectorFixedDelayBackoffStrategyArgs] = None,
        force_delete: Optional[bool] = 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,
        oidc_authentication: Optional[AwsConnectorOidcAuthenticationArgs] = None,
        org_id: Optional[str] = None,
        project_id: Optional[str] = None,
        tags: Optional[Sequence[str]] = None) -> AwsConnectorfunc 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)resources:  _:    type: harness:platform:AwsConnector    get:      id: ${id}- 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.
- CrossAccount AwsAccess 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.
- EqualJitter AwsBackoff Strategy Connector Equal Jitter Backoff Strategy 
- Equal Jitter BackOff Strategy.
- ExecuteOn boolDelegate 
- Enable this flag to execute on Delegate
- FixedDelay AwsBackoff Strategy Connector Fixed Delay Backoff Strategy 
- Fixed Delay BackOff Strategy.
- ForceDelete bool
- Enable this flag for force deletion of connector
- FullJitter AwsBackoff Strategy Connector Full Jitter Backoff Strategy 
- Full Jitter BackOff Strategy.
- Identifier string
- Unique identifier of the resource.
- InheritFrom AwsDelegate Connector Inherit From Delegate 
- Inherit credentials from the delegate.
- Irsa
AwsConnector Irsa 
- Use IAM role for service accounts.
- Manual
AwsConnector Manual 
- Use IAM role for service accounts.
- Name string
- Name of the resource.
- OidcAuthentication AwsConnector Oidc Authentication 
- Authentication using harness oidc.
- OrgId string
- Unique identifier of the organization.
- ProjectId string
- Unique identifier of the project.
- List<string>
- Tags to associate with the resource.
- CrossAccount AwsAccess Connector Cross Account Access Args 
- 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.
- EqualJitter AwsBackoff Strategy Connector Equal Jitter Backoff Strategy Args 
- Equal Jitter BackOff Strategy.
- ExecuteOn boolDelegate 
- Enable this flag to execute on Delegate
- FixedDelay AwsBackoff Strategy Connector Fixed Delay Backoff Strategy Args 
- Fixed Delay BackOff Strategy.
- ForceDelete bool
- Enable this flag for force deletion of connector
- FullJitter AwsBackoff Strategy Connector Full Jitter Backoff Strategy Args 
- Full Jitter BackOff Strategy.
- Identifier string
- Unique identifier of the resource.
- InheritFrom AwsDelegate Connector Inherit From Delegate Args 
- Inherit credentials from the delegate.
- Irsa
AwsConnector Irsa Args 
- Use IAM role for service accounts.
- Manual
AwsConnector Manual Args 
- Use IAM role for service accounts.
- Name string
- Name of the resource.
- OidcAuthentication AwsConnector Oidc Authentication Args 
- Authentication using harness oidc.
- OrgId string
- Unique identifier of the organization.
- ProjectId string
- Unique identifier of the project.
- []string
- Tags to associate with the resource.
- crossAccount AwsAccess 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.
- equalJitter AwsBackoff Strategy Connector Equal Jitter Backoff Strategy 
- Equal Jitter BackOff Strategy.
- executeOn BooleanDelegate 
- Enable this flag to execute on Delegate
- fixedDelay AwsBackoff Strategy Connector Fixed Delay Backoff Strategy 
- Fixed Delay BackOff Strategy.
- forceDelete Boolean
- Enable this flag for force deletion of connector
- fullJitter AwsBackoff Strategy Connector Full Jitter Backoff Strategy 
- Full Jitter BackOff Strategy.
- identifier String
- Unique identifier of the resource.
- inheritFrom AwsDelegate Connector Inherit From Delegate 
- Inherit credentials from the delegate.
- irsa
AwsConnector Irsa 
- Use IAM role for service accounts.
- manual
AwsConnector Manual 
- Use IAM role for service accounts.
- name String
- Name of the resource.
- oidcAuthentication AwsConnector Oidc Authentication 
- Authentication using harness oidc.
- orgId String
- Unique identifier of the organization.
- projectId String
- Unique identifier of the project.
- List<String>
- Tags to associate with the resource.
- crossAccount AwsAccess 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.
- equalJitter AwsBackoff Strategy Connector Equal Jitter Backoff Strategy 
- Equal Jitter BackOff Strategy.
- executeOn booleanDelegate 
- Enable this flag to execute on Delegate
- fixedDelay AwsBackoff Strategy Connector Fixed Delay Backoff Strategy 
- Fixed Delay BackOff Strategy.
- forceDelete boolean
- Enable this flag for force deletion of connector
- fullJitter AwsBackoff Strategy Connector Full Jitter Backoff Strategy 
- Full Jitter BackOff Strategy.
- identifier string
- Unique identifier of the resource.
- inheritFrom AwsDelegate Connector Inherit From Delegate 
- Inherit credentials from the delegate.
- irsa
AwsConnector Irsa 
- Use IAM role for service accounts.
- manual
AwsConnector Manual 
- Use IAM role for service accounts.
- name string
- Name of the resource.
- oidcAuthentication AwsConnector Oidc Authentication 
- Authentication using harness oidc.
- orgId string
- Unique identifier of the organization.
- projectId string
- Unique identifier of the project.
- string[]
- Tags to associate with the resource.
- cross_account_ Awsaccess Connector Cross Account Access Args 
- 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_ Awsbackoff_ strategy Connector Equal Jitter Backoff Strategy Args 
- Equal Jitter BackOff Strategy.
- execute_on_ booldelegate 
- Enable this flag to execute on Delegate
- fixed_delay_ Awsbackoff_ strategy Connector Fixed Delay Backoff Strategy Args 
- Fixed Delay BackOff Strategy.
- force_delete bool
- Enable this flag for force deletion of connector
- full_jitter_ Awsbackoff_ strategy Connector Full Jitter Backoff Strategy Args 
- Full Jitter BackOff Strategy.
- identifier str
- Unique identifier of the resource.
- inherit_from_ Awsdelegate Connector Inherit From Delegate Args 
- Inherit credentials from the delegate.
- irsa
AwsConnector Irsa Args 
- Use IAM role for service accounts.
- manual
AwsConnector Manual Args 
- Use IAM role for service accounts.
- name str
- Name of the resource.
- oidc_authentication AwsConnector Oidc Authentication Args 
- Authentication using harness oidc.
- org_id str
- Unique identifier of the organization.
- project_id str
- Unique identifier of the project.
- Sequence[str]
- Tags to associate with the resource.
- crossAccount Property MapAccess 
- 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.
- equalJitter Property MapBackoff Strategy 
- Equal Jitter BackOff Strategy.
- executeOn BooleanDelegate 
- Enable this flag to execute on Delegate
- fixedDelay Property MapBackoff Strategy 
- Fixed Delay BackOff Strategy.
- forceDelete Boolean
- Enable this flag for force deletion of connector
- fullJitter Property MapBackoff Strategy 
- Full Jitter BackOff Strategy.
- identifier String
- Unique identifier of the resource.
- inheritFrom Property MapDelegate 
- 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.
- oidcAuthentication Property Map
- Authentication using harness oidc.
- orgId String
- Unique identifier of the organization.
- projectId String
- Unique identifier of the project.
- 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.
- MaxBackoff intTime 
- Max BackOff Time.
- RetryCount int
- Retry Count.
- BaseDelay int
- Base delay.
- MaxBackoff intTime 
- Max BackOff Time.
- RetryCount int
- Retry Count.
- baseDelay Integer
- Base delay.
- maxBackoff IntegerTime 
- Max BackOff Time.
- retryCount Integer
- Retry Count.
- baseDelay number
- Base delay.
- maxBackoff numberTime 
- Max BackOff Time.
- retryCount number
- Retry Count.
- base_delay int
- Base delay.
- max_backoff_ inttime 
- Max BackOff Time.
- retry_count int
- Retry Count.
- baseDelay Number
- Base delay.
- maxBackoff NumberTime 
- 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.
- MaxBackoff intTime 
- Max BackOff Time.
- RetryCount int
- Retry Count.
- BaseDelay int
- Base delay.
- MaxBackoff intTime 
- Max BackOff Time.
- RetryCount int
- Retry Count.
- baseDelay Integer
- Base delay.
- maxBackoff IntegerTime 
- Max BackOff Time.
- retryCount Integer
- Retry Count.
- baseDelay number
- Base delay.
- maxBackoff numberTime 
- Max BackOff Time.
- retryCount number
- Retry Count.
- base_delay int
- Base delay.
- max_backoff_ inttime 
- Max BackOff Time.
- retry_count int
- Retry Count.
- baseDelay Number
- Base delay.
- maxBackoff NumberTime 
- Max BackOff Time.
- retryCount Number
- Retry Count.
AwsConnectorInheritFromDelegate, AwsConnectorInheritFromDelegateArgs          
- DelegateSelectors List<string>
- The delegates to inherit the credentials from.
- Region string
- Test Region to perform Connection test of AWS Connector.
- DelegateSelectors []string
- The delegates to inherit the credentials from.
- Region string
- Test Region to perform Connection test of AWS Connector.
- delegateSelectors List<String>
- The delegates to inherit the credentials from.
- region String
- Test Region to perform Connection test of AWS Connector.
- delegateSelectors string[]
- The delegates to inherit the credentials from.
- region string
- Test Region to perform Connection test of AWS Connector.
- delegate_selectors Sequence[str]
- The delegates to inherit the credentials from.
- region str
- Test Region to perform Connection test of AWS Connector.
- delegateSelectors List<String>
- The delegates to inherit the credentials from.
- region String
- Test Region to perform Connection test of AWS Connector.
AwsConnectorIrsa, AwsConnectorIrsaArgs      
- DelegateSelectors List<string>
- The delegates to inherit the credentials from.
- Region string
- Test Region to perform Connection test of AWS Connector.
- DelegateSelectors []string
- The delegates to inherit the credentials from.
- Region string
- Test Region to perform Connection test of AWS Connector.
- delegateSelectors List<String>
- The delegates to inherit the credentials from.
- region String
- Test Region to perform Connection test of AWS Connector.
- delegateSelectors string[]
- The delegates to inherit the credentials from.
- region string
- Test Region to perform Connection test of AWS Connector.
- delegate_selectors Sequence[str]
- The delegates to inherit the credentials from.
- region str
- Test Region to perform Connection test of AWS Connector.
- delegateSelectors List<String>
- The delegates to inherit the credentials from.
- region String
- Test Region to perform Connection test of AWS Connector.
AwsConnectorManual, AwsConnectorManualArgs      
- SecretKey stringRef 
- Reference to the Harness secret containing the aws secret key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- AccessKey string
- AWS access key.
- AccessKey stringRef 
- Reference to the Harness secret containing the aws access key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- DelegateSelectors List<string>
- Connect only use delegates with these tags.
- Region string
- Test Region to perform Connection test of AWS Connector.
- SessionToken stringRef 
- Reference to the Harness secret containing the aws session token.
- SecretKey stringRef 
- Reference to the Harness secret containing the aws secret key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- AccessKey string
- AWS access key.
- AccessKey stringRef 
- Reference to the Harness secret containing the aws access key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- DelegateSelectors []string
- Connect only use delegates with these tags.
- Region string
- Test Region to perform Connection test of AWS Connector.
- SessionToken stringRef 
- Reference to the Harness secret containing the aws session token.
- secretKey StringRef 
- Reference to the Harness secret containing the aws secret key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- accessKey String
- AWS access key.
- accessKey StringRef 
- Reference to the Harness secret containing the aws access key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- delegateSelectors List<String>
- Connect only use delegates with these tags.
- region String
- Test Region to perform Connection test of AWS Connector.
- sessionToken StringRef 
- Reference to the Harness secret containing the aws session token.
- secretKey stringRef 
- Reference to the Harness secret containing the aws secret key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- accessKey string
- AWS access key.
- accessKey stringRef 
- Reference to the Harness secret containing the aws access key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- delegateSelectors string[]
- Connect only use delegates with these tags.
- region string
- Test Region to perform Connection test of AWS Connector.
- sessionToken stringRef 
- Reference to the Harness secret containing the aws session token.
- secret_key_ strref 
- Reference to the Harness secret containing the aws secret key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- access_key str
- AWS access key.
- access_key_ strref 
- Reference to the Harness secret containing the aws access key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- delegate_selectors Sequence[str]
- Connect only use delegates with these tags.
- region str
- Test Region to perform Connection test of AWS Connector.
- session_token_ strref 
- Reference to the Harness secret containing the aws session token.
- secretKey StringRef 
- Reference to the Harness secret containing the aws secret key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- accessKey String
- AWS access key.
- accessKey StringRef 
- Reference to the Harness secret containing the aws access key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
- delegateSelectors List<String>
- Connect only use delegates with these tags.
- region String
- Test Region to perform Connection test of AWS Connector.
- sessionToken StringRef 
- Reference to the Harness secret containing the aws session token.
AwsConnectorOidcAuthentication, AwsConnectorOidcAuthenticationArgs        
- DelegateSelectors List<string>
- The delegates to inherit the credentials from.
- IamRole stringArn 
- The IAM Role to assume the credentials from.
- Region string
- Test Region to perform Connection test of AWS Connector. 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
- The delegates to inherit the credentials from.
- IamRole stringArn 
- The IAM Role to assume the credentials from.
- Region string
- Test Region to perform Connection test of AWS Connector. 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>
- The delegates to inherit the credentials from.
- iamRole StringArn 
- The IAM Role to assume the credentials from.
- region String
- Test Region to perform Connection test of AWS Connector. 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[]
- The delegates to inherit the credentials from.
- iamRole stringArn 
- The IAM Role to assume the credentials from.
- region string
- Test Region to perform Connection test of AWS Connector. 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]
- The delegates to inherit the credentials from.
- iam_role_ strarn 
- The IAM Role to assume the credentials from.
- region str
- Test Region to perform Connection test of AWS Connector. 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>
- The delegates to inherit the credentials from.
- iamRole StringArn 
- The IAM Role to assume the credentials from.
- region String
- Test Region to perform Connection test of AWS Connector. 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}.
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 pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the harnessTerraform Provider.
