get static method
EgressOnlyInternetGateway
get(
- String name,
- Input<
String> id, { - EgressOnlyInternetGatewayState? state,
- CustomResourceOptions? options,
Gets an existing EgressOnlyInternetGateway resource's state with the given name and id.
Implementation
static EgressOnlyInternetGateway get(
String name,
pulumi.Input<String> id, {
EgressOnlyInternetGatewayState? state,
pulumi.CustomResourceOptions? options,
}) {
return EgressOnlyInternetGateway._get(
name,
state: state?.toMap(),
options: pulumi.CustomResourceOptions(id: id).merge(options),
);
}