pub struct InternetGatewayResult {
pub arn: Output<String>,
pub owner_id: Output<String>,
pub tags: Output<Option<HashMap<String, String>>>,
pub tags_all: Output<HashMap<String, String>>,
pub vpc_id: Output<String>,
}
Fields§
§arn: Output<String>
The ARN of the Internet Gateway.
owner_id: Output<String>
The ID of the AWS account that owns the internet gateway.
A map of tags to assign to the resource. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Note: It’s recommended to denote that the AWS Instance or Elastic IP depends on the Internet Gateway. For example:
ⓘ
use pulumi_wasm_rust::Output;
use pulumi_wasm_rust::{add_export, pulumi_main};
#[pulumi_main]
fn test_main() -> Result<(), Error> {
let foo = instance::create("foo", InstanceArgs::builder().build_struct());
let gw = internet_gateway::create(
"gw",
InternetGatewayArgs::builder().vpc_id("${main.id}").build_struct(),
);
}
A map of tags assigned to the resource, including those inherited from the provider default_tags
configuration block.
vpc_id: Output<String>
The VPC ID to create in. See the aws.ec2.InternetGatewayAttachment resource for an alternate way to attach an Internet Gateway to a VPC.
Auto Trait Implementations§
impl Freeze for InternetGatewayResult
impl RefUnwindSafe for InternetGatewayResult
impl Send for InternetGatewayResult
impl Sync for InternetGatewayResult
impl Unpin for InternetGatewayResult
impl UnwindSafe for InternetGatewayResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more