We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.0.1 published on Tuesday, Oct 1, 2024 by Pulumi
aws-native.ec2.getVpcGatewayAttachment
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.0.1 published on Tuesday, Oct 1, 2024 by Pulumi
Resource Type definition for AWS::EC2::VPCGatewayAttachment
Using getVpcGatewayAttachment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVpcGatewayAttachment(args: GetVpcGatewayAttachmentArgs, opts?: InvokeOptions): Promise<GetVpcGatewayAttachmentResult>
function getVpcGatewayAttachmentOutput(args: GetVpcGatewayAttachmentOutputArgs, opts?: InvokeOptions): Output<GetVpcGatewayAttachmentResult>
def get_vpc_gateway_attachment(attachment_type: Optional[str] = None,
vpc_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcGatewayAttachmentResult
def get_vpc_gateway_attachment_output(attachment_type: Optional[pulumi.Input[str]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVpcGatewayAttachmentResult]
func LookupVpcGatewayAttachment(ctx *Context, args *LookupVpcGatewayAttachmentArgs, opts ...InvokeOption) (*LookupVpcGatewayAttachmentResult, error)
func LookupVpcGatewayAttachmentOutput(ctx *Context, args *LookupVpcGatewayAttachmentOutputArgs, opts ...InvokeOption) LookupVpcGatewayAttachmentResultOutput
> Note: This function is named LookupVpcGatewayAttachment
in the Go SDK.
public static class GetVpcGatewayAttachment
{
public static Task<GetVpcGatewayAttachmentResult> InvokeAsync(GetVpcGatewayAttachmentArgs args, InvokeOptions? opts = null)
public static Output<GetVpcGatewayAttachmentResult> Invoke(GetVpcGatewayAttachmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVpcGatewayAttachmentResult> getVpcGatewayAttachment(GetVpcGatewayAttachmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:ec2:getVpcGatewayAttachment
arguments:
# arguments dictionary
The following arguments are supported:
- Attachment
Type string - Used to identify if this resource is an Internet Gateway or Vpn Gateway Attachment
- Vpc
Id string - The ID of the VPC.
- Attachment
Type string - Used to identify if this resource is an Internet Gateway or Vpn Gateway Attachment
- Vpc
Id string - The ID of the VPC.
- attachment
Type String - Used to identify if this resource is an Internet Gateway or Vpn Gateway Attachment
- vpc
Id String - The ID of the VPC.
- attachment
Type string - Used to identify if this resource is an Internet Gateway or Vpn Gateway Attachment
- vpc
Id string - The ID of the VPC.
- attachment_
type str - Used to identify if this resource is an Internet Gateway or Vpn Gateway Attachment
- vpc_
id str - The ID of the VPC.
- attachment
Type String - Used to identify if this resource is an Internet Gateway or Vpn Gateway Attachment
- vpc
Id String - The ID of the VPC.
getVpcGatewayAttachment Result
The following output properties are available:
- Attachment
Type string - Used to identify if this resource is an Internet Gateway or Vpn Gateway Attachment
- Internet
Gateway stringId - The ID of the internet gateway. You must specify either InternetGatewayId or VpnGatewayId, but not both.
- Vpn
Gateway stringId - The ID of the virtual private gateway. You must specify either InternetGatewayId or VpnGatewayId, but not both.
- Attachment
Type string - Used to identify if this resource is an Internet Gateway or Vpn Gateway Attachment
- Internet
Gateway stringId - The ID of the internet gateway. You must specify either InternetGatewayId or VpnGatewayId, but not both.
- Vpn
Gateway stringId - The ID of the virtual private gateway. You must specify either InternetGatewayId or VpnGatewayId, but not both.
- attachment
Type String - Used to identify if this resource is an Internet Gateway or Vpn Gateway Attachment
- internet
Gateway StringId - The ID of the internet gateway. You must specify either InternetGatewayId or VpnGatewayId, but not both.
- vpn
Gateway StringId - The ID of the virtual private gateway. You must specify either InternetGatewayId or VpnGatewayId, but not both.
- attachment
Type string - Used to identify if this resource is an Internet Gateway or Vpn Gateway Attachment
- internet
Gateway stringId - The ID of the internet gateway. You must specify either InternetGatewayId or VpnGatewayId, but not both.
- vpn
Gateway stringId - The ID of the virtual private gateway. You must specify either InternetGatewayId or VpnGatewayId, but not both.
- attachment_
type str - Used to identify if this resource is an Internet Gateway or Vpn Gateway Attachment
- internet_
gateway_ strid - The ID of the internet gateway. You must specify either InternetGatewayId or VpnGatewayId, but not both.
- vpn_
gateway_ strid - The ID of the virtual private gateway. You must specify either InternetGatewayId or VpnGatewayId, but not both.
- attachment
Type String - Used to identify if this resource is an Internet Gateway or Vpn Gateway Attachment
- internet
Gateway StringId - The ID of the internet gateway. You must specify either InternetGatewayId or VpnGatewayId, but not both.
- vpn
Gateway StringId - The ID of the virtual private gateway. You must specify either InternetGatewayId or VpnGatewayId, but not both.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.0.1 published on Tuesday, Oct 1, 2024 by Pulumi