Host
Provides a CodeStar Host.
NOTE: The
aws.codestarconnections.Host
resource is created in the statePENDING
. 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());
}
}
Content copied to clipboard
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
Content copied to clipboard
Properties
Link copied to clipboard
The endpoint of the infrastructure to be represented by the host after it is created.
Link copied to clipboard
The name of the external provider where your third-party code repository is configured.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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.