Attachment Accepter
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());
}
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The type of attachment. Valid values can be found in the AWS Documentation
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard