pulumi_wasm_providers_aws_mini::ec2

Module vpc_block_public_access_options

source
Expand description

Resource for managing an AWS VPC Block Public Access Options.

§Example Usage

§Basic Usage

use pulumi_wasm_rust::Output;
use pulumi_wasm_rust::{add_export, pulumi_main};
#[pulumi_main]
fn test_main() -> Result<(), Error> {
    let example = vpc_block_public_access_options::create(
        "example",
        VpcBlockPublicAccessOptionsArgs::builder()
            .internet_gateway_block_mode("block-bidirectional")
            .build_struct(),
    );
}

§Import

Using pulumi import, import VPC Block Public Access Options using the aws_region. For example:

$ pulumi import aws:ec2/vpcBlockPublicAccessOptions:VpcBlockPublicAccessOptions example us-east-1

Structs§

Functions§

  • Registers a new resource with the given unique name and arguments