Try AWS Native preview for resources not in the classic version.
aws.servicecatalog.getLaunchPaths
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
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:
- Product
Id string Product identifier.
The following arguments are optional:
- Accept
Language string - Language code. Valid values:
en
(English),jp
(Japanese),zh
(Chinese). Default value isen
.
- Product
Id string Product identifier.
The following arguments are optional:
- Accept
Language string - Language code. Valid values:
en
(English),jp
(Japanese),zh
(Chinese). Default value isen
.
- product
Id String Product identifier.
The following arguments are optional:
- accept
Language String - Language code. Valid values:
en
(English),jp
(Japanese),zh
(Chinese). Default value isen
.
- product
Id string Product identifier.
The following arguments are optional:
- accept
Language 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
.
- product
Id String Product identifier.
The following arguments are optional:
- accept
Language 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.
- Product
Id string - Summaries
List<Get
Launch Paths Summary> - Block with information about the launch path. See details below.
- Accept
Language string
- Id string
- The provider-assigned unique ID for this managed resource.
- Product
Id string - Summaries
[]Get
Launch Paths Summary - Block with information about the launch path. See details below.
- Accept
Language string
- id String
- The provider-assigned unique ID for this managed resource.
- product
Id String - summaries
List<Get
Launch Paths Summary> - Block with information about the launch path. See details below.
- accept
Language String
- id string
- The provider-assigned unique ID for this managed resource.
- product
Id string - summaries
Get
Launch Paths Summary[] - Block with information about the launch path. See details below.
- accept
Language string
- id str
- The provider-assigned unique ID for this managed resource.
- product_
id str - summaries
Sequence[Get
Launch 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.
- product
Id String - summaries List<Property Map>
- Block with information about the launch path. See details below.
- accept
Language String
Supporting Types
GetLaunchPathsSummary
- Constraint
Summaries 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.
- Path
Id string - Identifier of the product path.
- Dictionary<string, string>
- Tags associated with this product path.
- Constraint
Summaries []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.
- Path
Id string - Identifier of the product path.
- map[string]string
- Tags associated with this product path.
- constraint
Summaries 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.
- path
Id String - Identifier of the product path.
- Map<String,String>
- Tags associated with this product path.
- constraint
Summaries 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.
- path
Id 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.
- constraint
Summaries 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.
- path
Id 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
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.