aws.servicecatalog.getLaunchPaths
Explore with Pulumi AI
Lists the paths to the specified product. A path is how the user has access to a specified product, and is necessary when provisioning a product. A path also determines the constraints put on the product.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.servicecatalog.getLaunchPaths({
    productId: "prod-yakog5pdriver",
});
import pulumi
import pulumi_aws as aws
example = aws.servicecatalog.get_launch_paths(product_id="prod-yakog5pdriver")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/servicecatalog"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicecatalog.GetLaunchPaths(ctx, &servicecatalog.GetLaunchPathsArgs{
			ProductId: "prod-yakog5pdriver",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = Aws.ServiceCatalog.GetLaunchPaths.Invoke(new()
    {
        ProductId = "prod-yakog5pdriver",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.servicecatalog.ServicecatalogFunctions;
import com.pulumi.aws.servicecatalog.inputs.GetLaunchPathsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = ServicecatalogFunctions.getLaunchPaths(GetLaunchPathsArgs.builder()
            .productId("prod-yakog5pdriver")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: aws:servicecatalog:getLaunchPaths
      arguments:
        productId: prod-yakog5pdriver
Using getLaunchPaths
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getLaunchPaths(args: GetLaunchPathsArgs, opts?: InvokeOptions): Promise<GetLaunchPathsResult>
function getLaunchPathsOutput(args: GetLaunchPathsOutputArgs, opts?: InvokeOptions): Output<GetLaunchPathsResult>def get_launch_paths(accept_language: Optional[str] = None,
                     product_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetLaunchPathsResult
def get_launch_paths_output(accept_language: Optional[pulumi.Input[str]] = None,
                     product_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetLaunchPathsResult]func GetLaunchPaths(ctx *Context, args *GetLaunchPathsArgs, opts ...InvokeOption) (*GetLaunchPathsResult, error)
func GetLaunchPathsOutput(ctx *Context, args *GetLaunchPathsOutputArgs, opts ...InvokeOption) GetLaunchPathsResultOutput> Note: This function is named GetLaunchPaths in the Go SDK.
public static class GetLaunchPaths 
{
    public static Task<GetLaunchPathsResult> InvokeAsync(GetLaunchPathsArgs args, InvokeOptions? opts = null)
    public static Output<GetLaunchPathsResult> Invoke(GetLaunchPathsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLaunchPathsResult> getLaunchPaths(GetLaunchPathsArgs args, InvokeOptions options)
public static Output<GetLaunchPathsResult> getLaunchPaths(GetLaunchPathsArgs args, InvokeOptions options)
fn::invoke:
  function: aws:servicecatalog/getLaunchPaths:getLaunchPaths
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ProductId string
- Product identifier. - The following arguments are optional: 
- AcceptLanguage string
- Language code. Valid values: en(English),jp(Japanese),zh(Chinese). Default value isen.
- ProductId string
- Product identifier. - The following arguments are optional: 
- AcceptLanguage string
- Language code. Valid values: en(English),jp(Japanese),zh(Chinese). Default value isen.
- productId String
- Product identifier. - The following arguments are optional: 
- acceptLanguage String
- Language code. Valid values: en(English),jp(Japanese),zh(Chinese). Default value isen.
- productId string
- Product identifier. - The following arguments are optional: 
- acceptLanguage string
- Language code. Valid values: en(English),jp(Japanese),zh(Chinese). Default value isen.
- product_id str
- Product identifier. - The following arguments are optional: 
- accept_language str
- Language code. Valid values: en(English),jp(Japanese),zh(Chinese). Default value isen.
- productId String
- Product identifier. - The following arguments are optional: 
- acceptLanguage String
- Language code. Valid values: en(English),jp(Japanese),zh(Chinese). Default value isen.
getLaunchPaths Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- ProductId string
- Summaries
List<GetLaunch Paths Summary> 
- Block with information about the launch path. See details below.
- AcceptLanguage string
- Id string
- The provider-assigned unique ID for this managed resource.
- ProductId string
- Summaries
[]GetLaunch Paths Summary 
- Block with information about the launch path. See details below.
- AcceptLanguage string
- id String
- The provider-assigned unique ID for this managed resource.
- productId String
- summaries
List<GetLaunch Paths Summary> 
- Block with information about the launch path. See details below.
- acceptLanguage String
- id string
- The provider-assigned unique ID for this managed resource.
- productId string
- summaries
GetLaunch Paths Summary[] 
- Block with information about the launch path. See details below.
- acceptLanguage string
- id str
- The provider-assigned unique ID for this managed resource.
- product_id str
- summaries
Sequence[GetLaunch Paths Summary] 
- Block with information about the launch path. See details below.
- accept_language str
- id String
- The provider-assigned unique ID for this managed resource.
- productId String
- summaries List<Property Map>
- Block with information about the launch path. See details below.
- acceptLanguage String
Supporting Types
GetLaunchPathsSummary   
- ConstraintSummaries List<GetLaunch Paths Summary Constraint Summary> 
- Block for constraints on the portfolio-product relationship. See details below.
- Name string
- Name of the portfolio to which the path was assigned.
- PathId string
- Identifier of the product path.
- Dictionary<string, string>
- Tags associated with this product path.
- ConstraintSummaries []GetLaunch Paths Summary Constraint Summary 
- Block for constraints on the portfolio-product relationship. See details below.
- Name string
- Name of the portfolio to which the path was assigned.
- PathId string
- Identifier of the product path.
- map[string]string
- Tags associated with this product path.
- constraintSummaries List<GetLaunch Paths Summary Constraint Summary> 
- Block for constraints on the portfolio-product relationship. See details below.
- name String
- Name of the portfolio to which the path was assigned.
- pathId String
- Identifier of the product path.
- Map<String,String>
- Tags associated with this product path.
- constraintSummaries GetLaunch Paths Summary Constraint Summary[] 
- Block for constraints on the portfolio-product relationship. See details below.
- name string
- Name of the portfolio to which the path was assigned.
- pathId string
- Identifier of the product path.
- {[key: string]: string}
- Tags associated with this product path.
- constraint_summaries Sequence[GetLaunch Paths Summary Constraint Summary] 
- Block for constraints on the portfolio-product relationship. See details below.
- name str
- Name of the portfolio to which the path was assigned.
- path_id str
- Identifier of the product path.
- Mapping[str, str]
- Tags associated with this product path.
- constraintSummaries List<Property Map>
- Block for constraints on the portfolio-product relationship. See details below.
- name String
- Name of the portfolio to which the path was assigned.
- pathId String
- Identifier of the product path.
- Map<String>
- Tags associated with this product path.
GetLaunchPathsSummaryConstraintSummary     
- Description string
- Description of the constraint.
- Type string
- Type of constraint. Valid values are LAUNCH,NOTIFICATION,STACKSET, andTEMPLATE.
- Description string
- Description of the constraint.
- Type string
- Type of constraint. Valid values are LAUNCH,NOTIFICATION,STACKSET, andTEMPLATE.
- description String
- Description of the constraint.
- type String
- Type of constraint. Valid values are LAUNCH,NOTIFICATION,STACKSET, andTEMPLATE.
- description string
- Description of the constraint.
- type string
- Type of constraint. Valid values are LAUNCH,NOTIFICATION,STACKSET, andTEMPLATE.
- description str
- Description of the constraint.
- type str
- Type of constraint. Valid values are LAUNCH,NOTIFICATION,STACKSET, andTEMPLATE.
- description String
- Description of the constraint.
- type String
- Type of constraint. Valid values are LAUNCH,NOTIFICATION,STACKSET, andTEMPLATE.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.