HostArgs

data class HostArgs(val name: Output<String>? = null, val providerEndpoint: Output<String>? = null, val providerType: Output<String>? = null, val vpcConfiguration: Output<HostVpcConfigurationArgs>? = null) : ConvertibleToJava<HostArgs>

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

Constructors

Link copied to clipboard
constructor(name: Output<String>? = null, providerEndpoint: Output<String>? = null, providerType: Output<String>? = null, vpcConfiguration: Output<HostVpcConfigurationArgs>? = null)

Properties

Link copied to clipboard
val name: Output<String>? = null

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

Link copied to clipboard
val providerEndpoint: Output<String>? = null

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

Link copied to clipboard
val providerType: Output<String>? = null

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

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.

Functions

Link copied to clipboard
open override fun toJava(): HostArgs