AttachmentAccepterArgs

data class AttachmentAccepterArgs(val attachmentId: Output<String>? = null, val attachmentType: Output<String>? = null) : ConvertibleToJava<AttachmentAccepterArgs>

Resource for managing an AWS NetworkManager Attachment Accepter.

Example Usage

Example with VPC attachment

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.networkmanager.AttachmentAccepter;
import com.pulumi.aws.networkmanager.AttachmentAccepterArgs;
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 test = new AttachmentAccepter("test", AttachmentAccepterArgs.builder()
.attachmentId(aws_networkmanager_vpc_attachment.vpc().id())
.attachmentType(aws_networkmanager_vpc_attachment.vpc().attachment_type())
.build());
}
}

Example with site-to-site VPN attachment

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.networkmanager.AttachmentAccepter;
import com.pulumi.aws.networkmanager.AttachmentAccepterArgs;
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 test = new AttachmentAccepter("test", AttachmentAccepterArgs.builder()
.attachmentId(aws_networkmanager_site_to_site_vpn_attachment.vpn().id())
.attachmentType(aws_networkmanager_site_to_site_vpn_attachment.vpn().attachment_type())
.build());
}
}

Constructors

Link copied to clipboard
constructor(attachmentId: Output<String>? = null, attachmentType: Output<String>? = null)

Properties

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

The ID of the attachment.

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

The type of attachment. Valid values can be found in the AWS Documentation

Functions

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