ConnectionArgs

data class ConnectionArgs(val connectionName: Output<String>? = null, val providerType: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ConnectionArgs>

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

Constructors

Link copied to clipboard
constructor(connectionName: Output<String>? = null, providerType: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

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

Name of the connection.

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

Source repository provider. Valid values: GITHUB.

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

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.

Functions

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