Connection

class Connection : KotlinCustomResource

Manages an App Runner Connection.

NOTE: After creation, you must complete the authentication handshake using the App Runner console.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.apprunner.Connection;
import com.pulumi.aws.apprunner.ConnectionArgs;
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 Connection("example", ConnectionArgs.builder()
.connectionName("example")
.providerType("GITHUB")
.tags(Map.of("Name", "example-apprunner-connection"))
.build());
}
}

Import

App Runner Connections can be imported by using the connection_name, e.g.,

$ pulumi import aws:apprunner/connection:Connection example example

Properties

Link copied to clipboard
val arn: Output<String>

ARN of the connection.

Link copied to clipboard
val connectionName: Output<String>

Name of the connection.

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

Source repository provider. Valid values: GITHUB.

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

Current state of the App Runner connection. When the state is AVAILABLE, you can use the connection to create an aws.apprunner.Service resource.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>