Expand description
Manages an EC2 Availability Zone Group, such as updating its opt-in status.
NOTE: This is an advanced resource. The provider will automatically assume management of the EC2 Availability Zone Group without import and perform no actions on removal from configuration.
§Example Usage
ⓘ
use pulumi_wasm_rust::Output;
use pulumi_wasm_rust::{add_export, pulumi_main};
#[pulumi_main]
fn test_main() -> Result<(), Error> {
let example = availability_zone_group::create(
"example",
AvailabilityZoneGroupArgs::builder()
.group_name("us-west-2-lax-1")
.opt_in_status("opted-in")
.build_struct(),
);
}
§Import
Using pulumi import
, import EC2 Availability Zone Groups using the group name. For example:
$ pulumi import aws:ec2/availabilityZoneGroup:AvailabilityZoneGroup example us-west-2-lax-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