AWS CodeStar Connections Connections Host

This page shows how to write Terraform and CloudFormation for AWS CodeStar Connections Connections Host and write them securely.

code-icon

Fix issues in your cloud & app configurations

Test for misconfigurations of this resource in your cloud.

get-started-button

Terraform Example (aws_codestarconnections_host)

Provides a CodeStar Host.

NOTE: The aws_codestarconnections_host resource is created in the state PENDING. Authentication with the host provider must be completed in the AWS Console. For more information visit Set up a pending host.

Parameters

The following arguments are supported:

  • name - (Required) The name of the host to be created. The name must be unique in the calling AWS account.
  • provider_endpoint - (Required) The endpoint of the infrastructure to be represented by the host after it is created.
  • provider_type - (Required) The name of the external provider where your third-party code repository is configured.
  • vpc_configuration - (Optional) The VPC configuration to be provisioned for the host. A VPC must be configured, and the infrastructure to be represented by the host must already be connected to the VPC.

A vpc_configuration block supports the following arguments:

  • security_group_ids - (Required) he ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
  • subnet_ids - (Required) The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
  • tls_certificate - (Optional) The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
  • vpc_id - (Required) The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.

In addition to all arguments above, the following attributes are exported:

  • id - The CodeStar Host ARN.
  • arn - The CodeStar Host ARN.
  • status - The CodeStar Host status. Possible values are PENDING, AVAILABLE, VPC_CONFIG_DELETING, VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.

Example Usage (from GitHub)

An example could not be found in GitHub.

CloudFormation Example (AWS::CodeStarConnections::Connection)

The AWS::CodeStarConnections::Connection resource can be used to connect external source providers with services like AWS CodePipeline. Note: A connection created through AWS CloudFormation is in PENDING status by default. You can make its status AVAILABLE by updating the connection in the console.

Parameters

Frequently asked questions

What is AWS CodeStar Connections Connections Host?

AWS CodeStar Connections Connections Host is a resource for CodeStar Connections of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.