We recommend new projects start with resources from the AWS provider.
aws-native.codeconnections.Connection
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Schema for AWS::CodeConnections::Connection resource which can be used to connect external source providers with other AWS services (i.e. AWS CodePipeline)
Create Connection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Connection(name: string, args?: ConnectionArgs, opts?: CustomResourceOptions);
@overload
def Connection(resource_name: str,
args: Optional[ConnectionArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Connection(resource_name: str,
opts: Optional[ResourceOptions] = None,
connection_name: Optional[str] = None,
host_arn: Optional[str] = None,
provider_type: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewConnection(ctx *Context, name string, args *ConnectionArgs, opts ...ResourceOption) (*Connection, error)
public Connection(string name, ConnectionArgs? args = null, CustomResourceOptions? opts = null)
public Connection(String name, ConnectionArgs args)
public Connection(String name, ConnectionArgs args, CustomResourceOptions options)
type: aws-native:codeconnections:Connection
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 ConnectionArgs
- 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 ConnectionArgs
- 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 ConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Connection 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 Connection resource accepts the following input properties:
- Connection
Name string - The name of the connection. Connection names must be unique in an AWS user account.
- Host
Arn string - The host arn configured to represent the infrastructure where your third-party provider is installed. You must specify either a ProviderType or a HostArn.
- Provider
Type string - The name of the external provider where your third-party code repository is configured. You must specify either a ProviderType or a HostArn.
- List<Pulumi.
Aws Native. Inputs. Tag> - Specifies the tags applied to a connection.
- Connection
Name string - The name of the connection. Connection names must be unique in an AWS user account.
- Host
Arn string - The host arn configured to represent the infrastructure where your third-party provider is installed. You must specify either a ProviderType or a HostArn.
- Provider
Type string - The name of the external provider where your third-party code repository is configured. You must specify either a ProviderType or a HostArn.
- Tag
Args - Specifies the tags applied to a connection.
- connection
Name String - The name of the connection. Connection names must be unique in an AWS user account.
- host
Arn String - The host arn configured to represent the infrastructure where your third-party provider is installed. You must specify either a ProviderType or a HostArn.
- provider
Type String - The name of the external provider where your third-party code repository is configured. You must specify either a ProviderType or a HostArn.
- List<Tag>
- Specifies the tags applied to a connection.
- connection
Name string - The name of the connection. Connection names must be unique in an AWS user account.
- host
Arn string - The host arn configured to represent the infrastructure where your third-party provider is installed. You must specify either a ProviderType or a HostArn.
- provider
Type string - The name of the external provider where your third-party code repository is configured. You must specify either a ProviderType or a HostArn.
- Tag[]
- Specifies the tags applied to a connection.
- connection_
name str - The name of the connection. Connection names must be unique in an AWS user account.
- host_
arn str - The host arn configured to represent the infrastructure where your third-party provider is installed. You must specify either a ProviderType or a HostArn.
- provider_
type str - The name of the external provider where your third-party code repository is configured. You must specify either a ProviderType or a HostArn.
- Sequence[Tag
Args] - Specifies the tags applied to a connection.
- connection
Name String - The name of the connection. Connection names must be unique in an AWS user account.
- host
Arn String - The host arn configured to represent the infrastructure where your third-party provider is installed. You must specify either a ProviderType or a HostArn.
- provider
Type String - The name of the external provider where your third-party code repository is configured. You must specify either a ProviderType or a HostArn.
- List<Property Map>
- Specifies the tags applied to a connection.
Outputs
All input properties are implicitly available as output properties. Additionally, the Connection resource produces the following output properties:
- Connection
Arn string - The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.
- Connection
Status string - The current status of the connection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner
Account stringId - The name of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.
- Connection
Arn string - The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.
- Connection
Status string - The current status of the connection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner
Account stringId - The name of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.
- connection
Arn String - The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.
- connection
Status String - The current status of the connection.
- id String
- The provider-assigned unique ID for this managed resource.
- owner
Account StringId - The name of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.
- connection
Arn string - The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.
- connection
Status string - The current status of the connection.
- id string
- The provider-assigned unique ID for this managed resource.
- owner
Account stringId - The name of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.
- connection_
arn str - The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.
- connection_
status str - The current status of the connection.
- id str
- The provider-assigned unique ID for this managed resource.
- owner_
account_ strid - The name of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.
- connection
Arn String - The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.
- connection
Status String - The current status of the connection.
- id String
- The provider-assigned unique ID for this managed resource.
- owner
Account StringId - The name of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.
Supporting Types
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.