@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
89 lines (88 loc) • 2.87 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Data source for managing an AWS OpenSearch Serverless VPC Endpoint.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.opensearch.getServerlessVpcEndpoint({
* vpcEndpointId: "vpce-829a4487959e2a839",
* });
* ```
*/
export declare function getServerlessVpcEndpoint(args: GetServerlessVpcEndpointArgs, opts?: pulumi.InvokeOptions): Promise<GetServerlessVpcEndpointResult>;
/**
* A collection of arguments for invoking getServerlessVpcEndpoint.
*/
export interface GetServerlessVpcEndpointArgs {
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: string;
/**
* The unique identifier of the endpoint.
*/
vpcEndpointId: string;
}
/**
* A collection of values returned by getServerlessVpcEndpoint.
*/
export interface GetServerlessVpcEndpointResult {
/**
* The date the endpoint was created.
*/
readonly createdDate: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The name of the endpoint.
*/
readonly name: string;
readonly region: string;
/**
* The IDs of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
*/
readonly securityGroupIds: string[];
/**
* The IDs of the subnets from which you access OpenSearch Serverless.
*/
readonly subnetIds: string[];
readonly vpcEndpointId: string;
/**
* The ID of the VPC from which you access OpenSearch Serverless.
*/
readonly vpcId: string;
}
/**
* Data source for managing an AWS OpenSearch Serverless VPC Endpoint.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.opensearch.getServerlessVpcEndpoint({
* vpcEndpointId: "vpce-829a4487959e2a839",
* });
* ```
*/
export declare function getServerlessVpcEndpointOutput(args: GetServerlessVpcEndpointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServerlessVpcEndpointResult>;
/**
* A collection of arguments for invoking getServerlessVpcEndpoint.
*/
export interface GetServerlessVpcEndpointOutputArgs {
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: pulumi.Input<string>;
/**
* The unique identifier of the endpoint.
*/
vpcEndpointId: pulumi.Input<string>;
}