import * as Provider from "../../Provider.ts"; import { Resource } from "../../Resource.ts"; import type { Providers } from "../Providers.ts"; export interface PortfolioProductAssociationProps { /** * ID of the portfolio the product is added to. Changing it replaces the * association. */ portfolioId: string; /** * ID of the product to add to the portfolio. Changing it replaces the * association. */ productId: string; } export interface PortfolioProductAssociation extends Resource<"AWS.ServiceCatalog.PortfolioProductAssociation", PortfolioProductAssociationProps, { /** ID of the portfolio. */ portfolioId: string; /** ID of the associated product. */ productId: string; }, never, Providers> { } /** * Associates a Service Catalog product with a portfolio, making the product * launchable by the portfolio's principals. * * ### Associating a Product * **Example:** Add a product to a portfolio * ```typescript * import * as ServiceCatalog from "alchemy/AWS/ServiceCatalog"; * * yield* ServiceCatalog.PortfolioProductAssociation("ToolsVpc", { * portfolioId: portfolio.portfolioId, * productId: product.productId, * }); * ``` * * @resource */ export declare const PortfolioProductAssociation: import("../../Resource.ts").ResourceClass; export declare const PortfolioProductAssociationProvider: () => import("effect/Layer").Layer, never, import("@distilled.cloud/aws/Credentials").Credentials | import("effect/unstable/http/HttpClient").HttpClient>; //# sourceMappingURL=PortfolioProductAssociation.d.ts.map