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§
- Use builder syntax to set the inputs and finish with
build_struct()
.
Functions§
- Registers a new resource with the given unique name and arguments