1. Packages
  2. AWS
  3. API Docs
  4. servicecatalog
  5. getLaunchPaths
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

aws.servicecatalog.getLaunchPaths

Explore with Pulumi AI

aws logo
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws:servicecatalog/getLaunchPaths:getLaunchPaths
      arguments:
        # arguments dictionary

    The 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 is en.
    ProductId string

    Product identifier.

    The following arguments are optional:

    AcceptLanguage string
    Language code. Valid values: en (English), jp (Japanese), zh (Chinese). Default value is en.
    productId String

    Product identifier.

    The following arguments are optional:

    acceptLanguage String
    Language code. Valid values: en (English), jp (Japanese), zh (Chinese). Default value is en.
    productId string

    Product identifier.

    The following arguments are optional:

    acceptLanguage string
    Language code. Valid values: en (English), jp (Japanese), zh (Chinese). Default value is en.
    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 is en.
    productId String

    Product identifier.

    The following arguments are optional:

    acceptLanguage String
    Language code. Valid values: en (English), jp (Japanese), zh (Chinese). Default value is en.

    getLaunchPaths Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    ProductId string
    Summaries List<GetLaunchPathsSummary>
    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 []GetLaunchPathsSummary
    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<GetLaunchPathsSummary>
    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 GetLaunchPathsSummary[]
    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[GetLaunchPathsSummary]
    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<GetLaunchPathsSummaryConstraintSummary>
    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.
    Tags Dictionary<string, string>
    Tags associated with this product path.
    ConstraintSummaries []GetLaunchPathsSummaryConstraintSummary
    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.
    Tags map[string]string
    Tags associated with this product path.
    constraintSummaries List<GetLaunchPathsSummaryConstraintSummary>
    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.
    tags Map<String,String>
    Tags associated with this product path.
    constraintSummaries GetLaunchPathsSummaryConstraintSummary[]
    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.
    tags {[key: string]: string}
    Tags associated with this product path.
    constraint_summaries Sequence[GetLaunchPathsSummaryConstraintSummary]
    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.
    tags 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.
    tags 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, and TEMPLATE.
    Description string
    Description of the constraint.
    Type string
    Type of constraint. Valid values are LAUNCH, NOTIFICATION, STACKSET, and TEMPLATE.
    description String
    Description of the constraint.
    type String
    Type of constraint. Valid values are LAUNCH, NOTIFICATION, STACKSET, and TEMPLATE.
    description string
    Description of the constraint.
    type string
    Type of constraint. Valid values are LAUNCH, NOTIFICATION, STACKSET, and TEMPLATE.
    description str
    Description of the constraint.
    type str
    Type of constraint. Valid values are LAUNCH, NOTIFICATION, STACKSET, and TEMPLATE.
    description String
    Description of the constraint.
    type String
    Type of constraint. Valid values are LAUNCH, NOTIFICATION, STACKSET, and TEMPLATE.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi