Host

class Host : KotlinCustomResource

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.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.codestarconnections.Host;
import com.pulumi.aws.codestarconnections.HostArgs;
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 example = new Host("example", HostArgs.builder()
.providerEndpoint("https://example.com")
.providerType("GitHubEnterpriseServer")
.build());
}
}

Import

CodeStar Host can be imported using the ARN, e.g.,

$ pulumi import aws:codestarconnections/host:Host example-host arn:aws:codestar-connections:us-west-1:0123456789:host/79d4d357-a2ee-41e4-b350-2fe39ae59448

Properties

Link copied to clipboard
val arn: Output<String>

The CodeStar Host ARN.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name of the host to be created. The name must be unique in the calling AWS account.

Link copied to clipboard

The endpoint of the infrastructure to be represented by the host after it is created.

Link copied to clipboard
val providerType: Output<String>

The name of the external provider where your third-party code repository is configured.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Output<String>

The CodeStar Host status. Possible values are PENDING, AVAILABLE, VPC_CONFIG_DELETING, VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

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.