LinkArgs

data class LinkArgs(val bandwidth: Output<LinkBandwidthArgs>? = null, val description: Output<String>? = null, val globalNetworkId: Output<String>? = null, val providerName: Output<String>? = null, val siteId: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val type: Output<String>? = null) : ConvertibleToJava<LinkArgs>

Creates a link for a site.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.networkmanager.Link;
import com.pulumi.aws.networkmanager.LinkArgs;
import com.pulumi.aws.networkmanager.inputs.LinkBandwidthArgs;
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 Link("example", LinkArgs.builder()
.globalNetworkId(aws_networkmanager_global_network.example().id())
.siteId(aws_networkmanager_site.example().id())
.bandwidth(LinkBandwidthArgs.builder()
.uploadSpeed(10)
.downloadSpeed(50)
.build())
.providerName("MegaCorp")
.build());
}
}

Import

aws_networkmanager_link can be imported using the link ARN, e.g.

$ pulumi import aws:networkmanager/link:Link example arn:aws:networkmanager::123456789012:link/global-network-0d47f6t230mz46dy4/link-444555aaabbb11223

Constructors

Link copied to clipboard
constructor(bandwidth: Output<LinkBandwidthArgs>? = null, description: Output<String>? = null, globalNetworkId: Output<String>? = null, providerName: Output<String>? = null, siteId: Output<String>? = null, tags: Output<Map<String, String>>? = null, type: Output<String>? = null)

Properties

Link copied to clipboard
val bandwidth: Output<LinkBandwidthArgs>? = null

The upload speed and download speed in Mbps. Documented below.

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

A description of the link.

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

The ID of the global network.

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

The provider of the link.

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

The ID of the site.

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

Key-value tags for the link. 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 type: Output<String>? = null

The type of the link.

Functions

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