Skip to content

ListPipelineEndpointConnections

Source: src/AWS/OSIS/ListPipelineEndpointConnections.ts

Runtime binding for osis:ListPipelineEndpointConnections.

Lists the VPC endpoint connections attached to pipelines in the account — including endpoints owned by other accounts — so an ops function can audit who can ingest into your pipelines (pair with RevokePipelineEndpointConnections to cut off access). Account-level: no resource argument. Provide the implementation with Effect.provide(AWS.OSIS.ListPipelineEndpointConnectionsHttp).

// init — account-level binding, no resource argument
const listConnections = yield* AWS.OSIS.ListPipelineEndpointConnections();
// runtime
const { PipelineEndpointConnections } = yield* listConnections();
for (const connection of PipelineEndpointConnections ?? []) {
yield* Effect.log(
`${connection.EndpointId} (owner ${connection.VpcEndpointOwner})`,
);
}