import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data source for listing AWS VPC Lattice Service Network Service Associations. * * ## Example Usage * * ### By Service Network Identifier * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const testSn = aws.vpclattice.getServiceNetworkServiceAssociations({ * serviceNetworkIdentifier: testSnAwsVpclatticeServiceNetwork.id, * }); * ``` * * ### By Service Identifier * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const testSvc = aws.vpclattice.getServiceNetworkServiceAssociations({ * serviceIdentifier: testSvcAwsVpclatticeService.id, * }); * ``` */ export declare function getServiceNetworkServiceAssociations(args?: GetServiceNetworkServiceAssociationsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getServiceNetworkServiceAssociations. */ export interface GetServiceNetworkServiceAssociationsArgs { /** * 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; /** * ID or ARN of the VPC Lattice Service for which you want to list the Service Network Service Associations. Use either `serviceIdentifier` or `serviceNetworkIdentifier` but not both. */ serviceIdentifier?: string; /** * ID or ARN of the VPC Lattice Service Network for which you want to list the Service Network Service Associations. Use either `serviceNetworkIdentifier` or `serviceIdentifier` but not both. */ serviceNetworkIdentifier?: string; } /** * A collection of values returned by getServiceNetworkServiceAssociations. */ export interface GetServiceNetworkServiceAssociationsResult { /** * List of objects containing Service Network Service Associations. Each object has the following attributes: */ readonly items: outputs.vpclattice.GetServiceNetworkServiceAssociationsItem[]; readonly region: string; readonly serviceIdentifier?: string; readonly serviceNetworkIdentifier?: string; } /** * Data source for listing AWS VPC Lattice Service Network Service Associations. * * ## Example Usage * * ### By Service Network Identifier * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const testSn = aws.vpclattice.getServiceNetworkServiceAssociations({ * serviceNetworkIdentifier: testSnAwsVpclatticeServiceNetwork.id, * }); * ``` * * ### By Service Identifier * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const testSvc = aws.vpclattice.getServiceNetworkServiceAssociations({ * serviceIdentifier: testSvcAwsVpclatticeService.id, * }); * ``` */ export declare function getServiceNetworkServiceAssociationsOutput(args?: GetServiceNetworkServiceAssociationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getServiceNetworkServiceAssociations. */ export interface GetServiceNetworkServiceAssociationsOutputArgs { /** * 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; /** * ID or ARN of the VPC Lattice Service for which you want to list the Service Network Service Associations. Use either `serviceIdentifier` or `serviceNetworkIdentifier` but not both. */ serviceIdentifier?: pulumi.Input; /** * ID or ARN of the VPC Lattice Service Network for which you want to list the Service Network Service Associations. Use either `serviceNetworkIdentifier` or `serviceIdentifier` but not both. */ serviceNetworkIdentifier?: pulumi.Input; } //# sourceMappingURL=getServiceNetworkServiceAssociations.d.ts.map