harness.platform.AwsKmsConnector
Resource for creating an AWS KMS connector.
Create AwsKmsConnector Resource
new AwsKmsConnector(name: string, args: AwsKmsConnectorArgs, opts?: CustomResourceOptions);
@overload
def AwsKmsConnector(resource_name: str,
opts: Optional[ResourceOptions] = None,
arn_ref: Optional[str] = None,
credentials: Optional[AwsKmsConnectorCredentialsArgs] = None,
delegate_selectors: Optional[Sequence[str]] = None,
description: Optional[str] = None,
identifier: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Sequence[str]] = None)
@overload
def AwsKmsConnector(resource_name: str,
args: AwsKmsConnectorArgs,
opts: Optional[ResourceOptions] = None)
func NewAwsKmsConnector(ctx *Context, name string, args AwsKmsConnectorArgs, opts ...ResourceOption) (*AwsKmsConnector, error)
public AwsKmsConnector(string name, AwsKmsConnectorArgs args, CustomResourceOptions? opts = null)
public AwsKmsConnector(String name, AwsKmsConnectorArgs args)
public AwsKmsConnector(String name, AwsKmsConnectorArgs args, CustomResourceOptions options)
type: harness:platform:AwsKmsConnector
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AwsKmsConnectorArgs
- 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 AwsKmsConnectorArgs
- 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 AwsKmsConnectorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AwsKmsConnectorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AwsKmsConnectorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AwsKmsConnector 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 AwsKmsConnector resource accepts the following input properties:
- Arn
Ref string A reference to the Harness secret containing the ARN of the AWS KMS.
- Credentials
Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Aws Kms Connector Credentials Args The credentials to use for connecting to aws.
- Identifier string
Unique identifier of the resource.
- Region string
The AWS region where the AWS Secret Manager is.
- Delegate
Selectors List<string> Connect using only the delegates which have these tags.
- Description string
Description of the resource.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- List<string>
Tags to associate with the resource. Tags should be in the form
name:value
.
- Arn
Ref string A reference to the Harness secret containing the ARN of the AWS KMS.
- Credentials
Aws
Kms Connector Credentials Args The credentials to use for connecting to aws.
- Identifier string
Unique identifier of the resource.
- Region string
The AWS region where the AWS Secret Manager is.
- Delegate
Selectors []string Connect using only the delegates which have these tags.
- Description string
Description of the resource.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- []string
Tags to associate with the resource. Tags should be in the form
name:value
.
- arn
Ref String A reference to the Harness secret containing the ARN of the AWS KMS.
- credentials
Aws
Kms Connector Credentials Args The credentials to use for connecting to aws.
- identifier String
Unique identifier of the resource.
- region String
The AWS region where the AWS Secret Manager is.
- delegate
Selectors List<String> Connect using only the delegates which have these tags.
- description String
Description of the resource.
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.
- arn
Ref string A reference to the Harness secret containing the ARN of the AWS KMS.
- credentials
Aws
Kms Connector Credentials Args The credentials to use for connecting to aws.
- identifier string
Unique identifier of the resource.
- region string
The AWS region where the AWS Secret Manager is.
- delegate
Selectors string[] Connect using only the delegates which have these tags.
- description string
Description of the resource.
- name string
Name of the resource.
- org
Id string Unique identifier of the Organization.
- project
Id string Unique identifier of the Project.
- string[]
Tags to associate with the resource. Tags should be in the form
name:value
.
- arn_
ref str A reference to the Harness secret containing the ARN of the AWS KMS.
- credentials
Aws
Kms Connector Credentials Args The credentials to use for connecting to aws.
- identifier str
Unique identifier of the resource.
- region str
The AWS region where the AWS Secret Manager is.
- delegate_
selectors Sequence[str] Connect using only the delegates which have these tags.
- description str
Description of the resource.
- name str
Name of the resource.
- org_
id str Unique identifier of the Organization.
- project_
id str Unique identifier of the Project.
- Sequence[str]
Tags to associate with the resource. Tags should be in the form
name:value
.
- arn
Ref String A reference to the Harness secret containing the ARN of the AWS KMS.
- credentials Property Map
The credentials to use for connecting to aws.
- identifier String
Unique identifier of the resource.
- region String
The AWS region where the AWS Secret Manager is.
- delegate
Selectors List<String> Connect using only the delegates which have these tags.
- description String
Description of the resource.
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.
Outputs
All input properties are implicitly available as output properties. Additionally, the AwsKmsConnector 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 AwsKmsConnector Resource
Get an existing AwsKmsConnector 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?: AwsKmsConnectorState, opts?: CustomResourceOptions): AwsKmsConnector
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn_ref: Optional[str] = None,
credentials: Optional[AwsKmsConnectorCredentialsArgs] = None,
delegate_selectors: Optional[Sequence[str]] = None,
description: Optional[str] = None,
identifier: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Sequence[str]] = None) -> AwsKmsConnector
func GetAwsKmsConnector(ctx *Context, name string, id IDInput, state *AwsKmsConnectorState, opts ...ResourceOption) (*AwsKmsConnector, error)
public static AwsKmsConnector Get(string name, Input<string> id, AwsKmsConnectorState? state, CustomResourceOptions? opts = null)
public static AwsKmsConnector get(String name, Output<String> id, AwsKmsConnectorState 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.
- Arn
Ref string A reference to the Harness secret containing the ARN of the AWS KMS.
- Credentials
Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Aws Kms Connector Credentials Args The credentials to use for connecting to aws.
- Delegate
Selectors List<string> Connect using only the delegates which have these tags.
- Description string
Description of the resource.
- Identifier string
Unique identifier of the resource.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- Region string
The AWS region where the AWS Secret Manager is.
- List<string>
Tags to associate with the resource. Tags should be in the form
name:value
.
- Arn
Ref string A reference to the Harness secret containing the ARN of the AWS KMS.
- Credentials
Aws
Kms Connector Credentials Args The credentials to use for connecting to aws.
- Delegate
Selectors []string Connect using only the delegates which have these tags.
- Description string
Description of the resource.
- Identifier string
Unique identifier of the resource.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- Region string
The AWS region where the AWS Secret Manager is.
- []string
Tags to associate with the resource. Tags should be in the form
name:value
.
- arn
Ref String A reference to the Harness secret containing the ARN of the AWS KMS.
- credentials
Aws
Kms Connector Credentials Args The credentials to use for connecting to aws.
- delegate
Selectors List<String> Connect using only the delegates which have these tags.
- description String
Description of the resource.
- identifier String
Unique identifier of the resource.
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- region String
The AWS region where the AWS Secret Manager is.
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.
- arn
Ref string A reference to the Harness secret containing the ARN of the AWS KMS.
- credentials
Aws
Kms Connector Credentials Args The credentials to use for connecting to aws.
- delegate
Selectors string[] Connect using only the delegates which have these tags.
- description string
Description of the resource.
- identifier string
Unique identifier of the resource.
- name string
Name of the resource.
- org
Id string Unique identifier of the Organization.
- project
Id string Unique identifier of the Project.
- region string
The AWS region where the AWS Secret Manager is.
- string[]
Tags to associate with the resource. Tags should be in the form
name:value
.
- arn_
ref str A reference to the Harness secret containing the ARN of the AWS KMS.
- credentials
Aws
Kms Connector Credentials Args The credentials to use for connecting to aws.
- delegate_
selectors Sequence[str] Connect using only the delegates which have these tags.
- description str
Description of the resource.
- identifier str
Unique identifier of the resource.
- name str
Name of the resource.
- org_
id str Unique identifier of the Organization.
- project_
id str Unique identifier of the Project.
- region str
The AWS region where the AWS Secret Manager is.
- Sequence[str]
Tags to associate with the resource. Tags should be in the form
name:value
.
- arn
Ref String A reference to the Harness secret containing the ARN of the AWS KMS.
- credentials Property Map
The credentials to use for connecting to aws.
- delegate
Selectors List<String> Connect using only the delegates which have these tags.
- description String
Description of the resource.
- identifier String
Unique identifier of the resource.
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- region String
The AWS region where the AWS Secret Manager is.
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.
Supporting Types
AwsKmsConnectorCredentials
- Assume
Role Lbrlabs.Pulumi Package. Harness. Platform. Inputs. Aws Kms Connector Credentials Assume Role Connect using STS assume role.
- Inherit
From boolDelegate Inherit the credentials from from the delegate.
- Manual
Lbrlabs.
Pulumi Package. Harness. Platform. Inputs. Aws Kms Connector Credentials Manual Specify the AWS key and secret used for authenticating.
- Assume
Role AwsKms Connector Credentials Assume Role Connect using STS assume role.
- Inherit
From boolDelegate Inherit the credentials from from the delegate.
- Manual
Aws
Kms Connector Credentials Manual Specify the AWS key and secret used for authenticating.
- assume
Role AwsKms Connector Credentials Assume Role Connect using STS assume role.
- inherit
From BooleanDelegate Inherit the credentials from from the delegate.
- manual
Aws
Kms Connector Credentials Manual Specify the AWS key and secret used for authenticating.
- assume
Role AwsKms Connector Credentials Assume Role Connect using STS assume role.
- inherit
From booleanDelegate Inherit the credentials from from the delegate.
- manual
Aws
Kms Connector Credentials Manual Specify the AWS key and secret used for authenticating.
- assume_
role AwsKms Connector Credentials Assume Role Connect using STS assume role.
- inherit_
from_ booldelegate Inherit the credentials from from the delegate.
- manual
Aws
Kms Connector Credentials Manual Specify the AWS key and secret used for authenticating.
- assume
Role Property Map Connect using STS assume role.
- inherit
From BooleanDelegate Inherit the credentials from from the delegate.
- manual Property Map
Specify the AWS key and secret used for authenticating.
AwsKmsConnectorCredentialsAssumeRole
- Duration int
- Role
Arn string - External
Id string
- Duration int
- Role
Arn string - External
Id string
- duration Integer
- role
Arn String - external
Id String
- duration number
- role
Arn string - external
Id string
- duration int
- role_
arn str - external_
id str
- duration Number
- role
Arn String - external
Id String
AwsKmsConnectorCredentialsManual
- Access
Key stringRef - Secret
Key stringRef
- Access
Key stringRef - Secret
Key stringRef
- access
Key StringRef - secret
Key StringRef
- access
Key stringRef - secret
Key stringRef
- access_
key_ strref - secret_
key_ strref
- access
Key StringRef - secret
Key StringRef
Package Details
- Repository
- harness lbrlabs/pulumi-harness
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
harness
Terraform Provider.