GetInternetGateway
aws.ec2.InternetGateway provides details about a specific Internet Gateway.
Using GetInternetGateway
function getInternetGateway(args: GetInternetGatewayArgs, opts?: InvokeOptions): Promise<GetInternetGatewayResult>function get_internet_gateway(filters=None, internet_gateway_id=None, tags=None, opts=None)func LookupInternetGateway(ctx *Context, args *LookupInternetGatewayArgs, opts ...InvokeOption) (*LookupInternetGatewayResult, error)Note: This function is named
LookupInternetGatewayin the Go SDK.
public static class GetInternetGateway {
public static Task<GetInternetGatewayResult> InvokeAsync(GetInternetGatewayArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Filters
List<Get
Internet Gateway Filter Args> Custom filter block as described below.
- Internet
Gateway stringId The id of the specific Internet Gateway to retrieve.
- Dictionary<string, string>
A map of tags, each pair of which must exactly match a pair on the desired Internet Gateway.
- Filters
[]Get
Internet Gateway Filter Custom filter block as described below.
- Internet
Gateway stringId The id of the specific Internet Gateway to retrieve.
- map[string]string
A map of tags, each pair of which must exactly match a pair on the desired Internet Gateway.
- filters
Get
Internet Gateway Filter[] Custom filter block as described below.
- internet
Gateway stringId The id of the specific Internet Gateway to retrieve.
- {[key: string]: string}
A map of tags, each pair of which must exactly match a pair on the desired Internet Gateway.
- filters
List[Get
Internet Gateway Filter] Custom filter block as described below.
- internet_
gateway_ strid The id of the specific Internet Gateway to retrieve.
- Dict[str, str]
A map of tags, each pair of which must exactly match a pair on the desired Internet Gateway.
GetInternetGateway Result
The following output properties are available:
- Arn string
The ARN of the Internet Gateway.
- Attachments
List<Get
Internet Gateway Attachment> - Id string
The provider-assigned unique ID for this managed resource.
- Internet
Gateway stringId - Owner
Id string The ID of the AWS account that owns the internet gateway.
- Dictionary<string, string>
- Filters
List<Get
Internet Gateway Filter>
- Arn string
The ARN of the Internet Gateway.
- Attachments
[]Get
Internet Gateway Attachment - Id string
The provider-assigned unique ID for this managed resource.
- Internet
Gateway stringId - Owner
Id string The ID of the AWS account that owns the internet gateway.
- map[string]string
- Filters
[]Get
Internet Gateway Filter
- arn string
The ARN of the Internet Gateway.
- attachments
Get
Internet Gateway Attachment[] - id string
The provider-assigned unique ID for this managed resource.
- internet
Gateway stringId - owner
Id string The ID of the AWS account that owns the internet gateway.
- {[key: string]: string}
- filters
Get
Internet Gateway Filter[]
- arn str
The ARN of the Internet Gateway.
- attachments
List[Get
Internet Gateway Attachment] - id str
The provider-assigned unique ID for this managed resource.
- internet_
gateway_ strid - owner_
id str The ID of the AWS account that owns the internet gateway.
- Dict[str, str]
- filters
List[Get
Internet Gateway Filter]
Supporting Types
GetInternetGatewayAttachment
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetInternetGatewayFilter
- Name string
The name of the field to filter by, as defined by the underlying AWS API.
- Values List<string>
Set of values that are accepted for the given field. An Internet Gateway will be selected if any one of the given values matches.
- Name string
The name of the field to filter by, as defined by the underlying AWS API.
- Values []string
Set of values that are accepted for the given field. An Internet Gateway will be selected if any one of the given values matches.
- name string
The name of the field to filter by, as defined by the underlying AWS API.
- values string[]
Set of values that are accepted for the given field. An Internet Gateway will be selected if any one of the given values matches.
- name str
The name of the field to filter by, as defined by the underlying AWS API.
- values List[str]
Set of values that are accepted for the given field. An Internet Gateway will be selected if any one of the given values matches.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.