servicecatalog

package
v4.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BudgetResourceAssociation added in v4.7.0

type BudgetResourceAssociation struct {
	pulumi.CustomResourceState

	// Budget name.
	BudgetName pulumi.StringOutput `pulumi:"budgetName"`
	// Resource identifier.
	ResourceId pulumi.StringOutput `pulumi:"resourceId"`
}

Manages a Service Catalog Budget Resource Association.

> **Tip:** A "resource" is either a Service Catalog portfolio or product.

## Example Usage ### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/servicecatalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicecatalog.NewBudgetResourceAssociation(ctx, "example", &servicecatalog.BudgetResourceAssociationArgs{
			BudgetName: pulumi.String("budget-pjtvyakdlyo3m"),
			ResourceId: pulumi.String("prod-dnigbtea24ste"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_servicecatalog_budget_resource_association` can be imported using the budget name and resource ID, e.g.

```sh

$ pulumi import aws:servicecatalog/budgetResourceAssociation:BudgetResourceAssociation example budget-pjtvyakdlyo3m:prod-dnigbtea24ste

```

func GetBudgetResourceAssociation added in v4.7.0

func GetBudgetResourceAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BudgetResourceAssociationState, opts ...pulumi.ResourceOption) (*BudgetResourceAssociation, error)

GetBudgetResourceAssociation gets an existing BudgetResourceAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewBudgetResourceAssociation added in v4.7.0

func NewBudgetResourceAssociation(ctx *pulumi.Context,
	name string, args *BudgetResourceAssociationArgs, opts ...pulumi.ResourceOption) (*BudgetResourceAssociation, error)

NewBudgetResourceAssociation registers a new resource with the given unique name, arguments, and options.

func (*BudgetResourceAssociation) ElementType added in v4.7.0

func (*BudgetResourceAssociation) ElementType() reflect.Type

func (*BudgetResourceAssociation) ToBudgetResourceAssociationOutput added in v4.7.0

func (i *BudgetResourceAssociation) ToBudgetResourceAssociationOutput() BudgetResourceAssociationOutput

func (*BudgetResourceAssociation) ToBudgetResourceAssociationOutputWithContext added in v4.7.0

func (i *BudgetResourceAssociation) ToBudgetResourceAssociationOutputWithContext(ctx context.Context) BudgetResourceAssociationOutput

func (*BudgetResourceAssociation) ToBudgetResourceAssociationPtrOutput added in v4.7.0

func (i *BudgetResourceAssociation) ToBudgetResourceAssociationPtrOutput() BudgetResourceAssociationPtrOutput

func (*BudgetResourceAssociation) ToBudgetResourceAssociationPtrOutputWithContext added in v4.7.0

func (i *BudgetResourceAssociation) ToBudgetResourceAssociationPtrOutputWithContext(ctx context.Context) BudgetResourceAssociationPtrOutput

type BudgetResourceAssociationArgs added in v4.7.0

type BudgetResourceAssociationArgs struct {
	// Budget name.
	BudgetName pulumi.StringInput
	// Resource identifier.
	ResourceId pulumi.StringInput
}

The set of arguments for constructing a BudgetResourceAssociation resource.

func (BudgetResourceAssociationArgs) ElementType added in v4.7.0

type BudgetResourceAssociationArray added in v4.7.0

type BudgetResourceAssociationArray []BudgetResourceAssociationInput

func (BudgetResourceAssociationArray) ElementType added in v4.7.0

func (BudgetResourceAssociationArray) ToBudgetResourceAssociationArrayOutput added in v4.7.0

func (i BudgetResourceAssociationArray) ToBudgetResourceAssociationArrayOutput() BudgetResourceAssociationArrayOutput

func (BudgetResourceAssociationArray) ToBudgetResourceAssociationArrayOutputWithContext added in v4.7.0

func (i BudgetResourceAssociationArray) ToBudgetResourceAssociationArrayOutputWithContext(ctx context.Context) BudgetResourceAssociationArrayOutput

type BudgetResourceAssociationArrayInput added in v4.7.0

type BudgetResourceAssociationArrayInput interface {
	pulumi.Input

	ToBudgetResourceAssociationArrayOutput() BudgetResourceAssociationArrayOutput
	ToBudgetResourceAssociationArrayOutputWithContext(context.Context) BudgetResourceAssociationArrayOutput
}

BudgetResourceAssociationArrayInput is an input type that accepts BudgetResourceAssociationArray and BudgetResourceAssociationArrayOutput values. You can construct a concrete instance of `BudgetResourceAssociationArrayInput` via:

BudgetResourceAssociationArray{ BudgetResourceAssociationArgs{...} }

type BudgetResourceAssociationArrayOutput added in v4.7.0

type BudgetResourceAssociationArrayOutput struct{ *pulumi.OutputState }

func (BudgetResourceAssociationArrayOutput) ElementType added in v4.7.0

func (BudgetResourceAssociationArrayOutput) Index added in v4.7.0

func (BudgetResourceAssociationArrayOutput) ToBudgetResourceAssociationArrayOutput added in v4.7.0

func (o BudgetResourceAssociationArrayOutput) ToBudgetResourceAssociationArrayOutput() BudgetResourceAssociationArrayOutput

func (BudgetResourceAssociationArrayOutput) ToBudgetResourceAssociationArrayOutputWithContext added in v4.7.0

func (o BudgetResourceAssociationArrayOutput) ToBudgetResourceAssociationArrayOutputWithContext(ctx context.Context) BudgetResourceAssociationArrayOutput

type BudgetResourceAssociationInput added in v4.7.0

type BudgetResourceAssociationInput interface {
	pulumi.Input

	ToBudgetResourceAssociationOutput() BudgetResourceAssociationOutput
	ToBudgetResourceAssociationOutputWithContext(ctx context.Context) BudgetResourceAssociationOutput
}

type BudgetResourceAssociationMap added in v4.7.0

type BudgetResourceAssociationMap map[string]BudgetResourceAssociationInput

func (BudgetResourceAssociationMap) ElementType added in v4.7.0

func (BudgetResourceAssociationMap) ToBudgetResourceAssociationMapOutput added in v4.7.0

func (i BudgetResourceAssociationMap) ToBudgetResourceAssociationMapOutput() BudgetResourceAssociationMapOutput

func (BudgetResourceAssociationMap) ToBudgetResourceAssociationMapOutputWithContext added in v4.7.0

func (i BudgetResourceAssociationMap) ToBudgetResourceAssociationMapOutputWithContext(ctx context.Context) BudgetResourceAssociationMapOutput

type BudgetResourceAssociationMapInput added in v4.7.0

type BudgetResourceAssociationMapInput interface {
	pulumi.Input

	ToBudgetResourceAssociationMapOutput() BudgetResourceAssociationMapOutput
	ToBudgetResourceAssociationMapOutputWithContext(context.Context) BudgetResourceAssociationMapOutput
}

BudgetResourceAssociationMapInput is an input type that accepts BudgetResourceAssociationMap and BudgetResourceAssociationMapOutput values. You can construct a concrete instance of `BudgetResourceAssociationMapInput` via:

BudgetResourceAssociationMap{ "key": BudgetResourceAssociationArgs{...} }

type BudgetResourceAssociationMapOutput added in v4.7.0

type BudgetResourceAssociationMapOutput struct{ *pulumi.OutputState }

func (BudgetResourceAssociationMapOutput) ElementType added in v4.7.0

func (BudgetResourceAssociationMapOutput) MapIndex added in v4.7.0

func (BudgetResourceAssociationMapOutput) ToBudgetResourceAssociationMapOutput added in v4.7.0

func (o BudgetResourceAssociationMapOutput) ToBudgetResourceAssociationMapOutput() BudgetResourceAssociationMapOutput

func (BudgetResourceAssociationMapOutput) ToBudgetResourceAssociationMapOutputWithContext added in v4.7.0

func (o BudgetResourceAssociationMapOutput) ToBudgetResourceAssociationMapOutputWithContext(ctx context.Context) BudgetResourceAssociationMapOutput

type BudgetResourceAssociationOutput added in v4.7.0

type BudgetResourceAssociationOutput struct{ *pulumi.OutputState }

func (BudgetResourceAssociationOutput) ElementType added in v4.7.0

func (BudgetResourceAssociationOutput) ToBudgetResourceAssociationOutput added in v4.7.0

func (o BudgetResourceAssociationOutput) ToBudgetResourceAssociationOutput() BudgetResourceAssociationOutput

func (BudgetResourceAssociationOutput) ToBudgetResourceAssociationOutputWithContext added in v4.7.0

func (o BudgetResourceAssociationOutput) ToBudgetResourceAssociationOutputWithContext(ctx context.Context) BudgetResourceAssociationOutput

func (BudgetResourceAssociationOutput) ToBudgetResourceAssociationPtrOutput added in v4.7.0

func (o BudgetResourceAssociationOutput) ToBudgetResourceAssociationPtrOutput() BudgetResourceAssociationPtrOutput

func (BudgetResourceAssociationOutput) ToBudgetResourceAssociationPtrOutputWithContext added in v4.7.0

func (o BudgetResourceAssociationOutput) ToBudgetResourceAssociationPtrOutputWithContext(ctx context.Context) BudgetResourceAssociationPtrOutput

type BudgetResourceAssociationPtrInput added in v4.7.0

type BudgetResourceAssociationPtrInput interface {
	pulumi.Input

	ToBudgetResourceAssociationPtrOutput() BudgetResourceAssociationPtrOutput
	ToBudgetResourceAssociationPtrOutputWithContext(ctx context.Context) BudgetResourceAssociationPtrOutput
}

type BudgetResourceAssociationPtrOutput added in v4.7.0

type BudgetResourceAssociationPtrOutput struct{ *pulumi.OutputState }

func (BudgetResourceAssociationPtrOutput) Elem added in v4.15.0

func (BudgetResourceAssociationPtrOutput) ElementType added in v4.7.0

func (BudgetResourceAssociationPtrOutput) ToBudgetResourceAssociationPtrOutput added in v4.7.0

func (o BudgetResourceAssociationPtrOutput) ToBudgetResourceAssociationPtrOutput() BudgetResourceAssociationPtrOutput

func (BudgetResourceAssociationPtrOutput) ToBudgetResourceAssociationPtrOutputWithContext added in v4.7.0

func (o BudgetResourceAssociationPtrOutput) ToBudgetResourceAssociationPtrOutputWithContext(ctx context.Context) BudgetResourceAssociationPtrOutput

type BudgetResourceAssociationState added in v4.7.0

type BudgetResourceAssociationState struct {
	// Budget name.
	BudgetName pulumi.StringPtrInput
	// Resource identifier.
	ResourceId pulumi.StringPtrInput
}

func (BudgetResourceAssociationState) ElementType added in v4.7.0

type Constraint added in v4.6.0

type Constraint struct {
	pulumi.CustomResourceState

	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage pulumi.StringPtrOutput `pulumi:"acceptLanguage"`
	// Description of the constraint.
	Description pulumi.StringOutput `pulumi:"description"`
	// Owner of the constraint.
	Owner pulumi.StringOutput `pulumi:"owner"`
	// Constraint parameters in JSON format. The syntax depends on the constraint type. See details below.
	Parameters pulumi.StringOutput `pulumi:"parameters"`
	// Portfolio identifier.
	PortfolioId pulumi.StringOutput `pulumi:"portfolioId"`
	// Product identifier.
	ProductId pulumi.StringOutput `pulumi:"productId"`
	Status    pulumi.StringOutput `pulumi:"status"`
	// Type of constraint. Valid values are `LAUNCH`, `NOTIFICATION`, `RESOURCE_UPDATE`, `STACKSET`, and `TEMPLATE`.
	Type pulumi.StringOutput `pulumi:"type"`
}

Manages a Service Catalog Constraint.

> **NOTE:** This resource does not associate a Service Catalog product and portfolio. However, the product and portfolio must be associated (see the `servicecatalog.ProductPortfolioAssociation` resource) prior to creating a constraint or you will receive an error.

## Example Usage ### Basic Usage

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/servicecatalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"RoleArn": "arn:aws:iam::123456789012:role/LaunchRole",
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err := servicecatalog.NewConstraint(ctx, "example", &servicecatalog.ConstraintArgs{
			Description: pulumi.String("Back off, man. I'm a scientist."),
			PortfolioId: pulumi.Any(aws_servicecatalog_portfolio.Example.Id),
			ProductId:   pulumi.Any(aws_servicecatalog_product.Example.Id),
			Type:        pulumi.String("LAUNCH"),
			Parameters:  pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_servicecatalog_constraint` can be imported using the constraint ID, e.g.

```sh

$ pulumi import aws:servicecatalog/constraint:Constraint example cons-nmdkb6cgxfcrs

```

func GetConstraint added in v4.6.0

func GetConstraint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConstraintState, opts ...pulumi.ResourceOption) (*Constraint, error)

GetConstraint gets an existing Constraint resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewConstraint added in v4.6.0

func NewConstraint(ctx *pulumi.Context,
	name string, args *ConstraintArgs, opts ...pulumi.ResourceOption) (*Constraint, error)

NewConstraint registers a new resource with the given unique name, arguments, and options.

func (*Constraint) ElementType added in v4.6.0

func (*Constraint) ElementType() reflect.Type

func (*Constraint) ToConstraintOutput added in v4.6.0

func (i *Constraint) ToConstraintOutput() ConstraintOutput

func (*Constraint) ToConstraintOutputWithContext added in v4.6.0

func (i *Constraint) ToConstraintOutputWithContext(ctx context.Context) ConstraintOutput

func (*Constraint) ToConstraintPtrOutput added in v4.6.0

func (i *Constraint) ToConstraintPtrOutput() ConstraintPtrOutput

func (*Constraint) ToConstraintPtrOutputWithContext added in v4.6.0

func (i *Constraint) ToConstraintPtrOutputWithContext(ctx context.Context) ConstraintPtrOutput

type ConstraintArgs added in v4.6.0

type ConstraintArgs struct {
	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage pulumi.StringPtrInput
	// Description of the constraint.
	Description pulumi.StringPtrInput
	// Constraint parameters in JSON format. The syntax depends on the constraint type. See details below.
	Parameters pulumi.StringInput
	// Portfolio identifier.
	PortfolioId pulumi.StringInput
	// Product identifier.
	ProductId pulumi.StringInput
	// Type of constraint. Valid values are `LAUNCH`, `NOTIFICATION`, `RESOURCE_UPDATE`, `STACKSET`, and `TEMPLATE`.
	Type pulumi.StringInput
}

The set of arguments for constructing a Constraint resource.

func (ConstraintArgs) ElementType added in v4.6.0

func (ConstraintArgs) ElementType() reflect.Type

type ConstraintArray added in v4.6.0

type ConstraintArray []ConstraintInput

func (ConstraintArray) ElementType added in v4.6.0

func (ConstraintArray) ElementType() reflect.Type

func (ConstraintArray) ToConstraintArrayOutput added in v4.6.0

func (i ConstraintArray) ToConstraintArrayOutput() ConstraintArrayOutput

func (ConstraintArray) ToConstraintArrayOutputWithContext added in v4.6.0

func (i ConstraintArray) ToConstraintArrayOutputWithContext(ctx context.Context) ConstraintArrayOutput

type ConstraintArrayInput added in v4.6.0

type ConstraintArrayInput interface {
	pulumi.Input

	ToConstraintArrayOutput() ConstraintArrayOutput
	ToConstraintArrayOutputWithContext(context.Context) ConstraintArrayOutput
}

ConstraintArrayInput is an input type that accepts ConstraintArray and ConstraintArrayOutput values. You can construct a concrete instance of `ConstraintArrayInput` via:

ConstraintArray{ ConstraintArgs{...} }

type ConstraintArrayOutput added in v4.6.0

type ConstraintArrayOutput struct{ *pulumi.OutputState }

func (ConstraintArrayOutput) ElementType added in v4.6.0

func (ConstraintArrayOutput) ElementType() reflect.Type

func (ConstraintArrayOutput) Index added in v4.6.0

func (ConstraintArrayOutput) ToConstraintArrayOutput added in v4.6.0

func (o ConstraintArrayOutput) ToConstraintArrayOutput() ConstraintArrayOutput

func (ConstraintArrayOutput) ToConstraintArrayOutputWithContext added in v4.6.0

func (o ConstraintArrayOutput) ToConstraintArrayOutputWithContext(ctx context.Context) ConstraintArrayOutput

type ConstraintInput added in v4.6.0

type ConstraintInput interface {
	pulumi.Input

	ToConstraintOutput() ConstraintOutput
	ToConstraintOutputWithContext(ctx context.Context) ConstraintOutput
}

type ConstraintMap added in v4.6.0

type ConstraintMap map[string]ConstraintInput

func (ConstraintMap) ElementType added in v4.6.0

func (ConstraintMap) ElementType() reflect.Type

func (ConstraintMap) ToConstraintMapOutput added in v4.6.0

func (i ConstraintMap) ToConstraintMapOutput() ConstraintMapOutput

func (ConstraintMap) ToConstraintMapOutputWithContext added in v4.6.0

func (i ConstraintMap) ToConstraintMapOutputWithContext(ctx context.Context) ConstraintMapOutput

type ConstraintMapInput added in v4.6.0

type ConstraintMapInput interface {
	pulumi.Input

	ToConstraintMapOutput() ConstraintMapOutput
	ToConstraintMapOutputWithContext(context.Context) ConstraintMapOutput
}

ConstraintMapInput is an input type that accepts ConstraintMap and ConstraintMapOutput values. You can construct a concrete instance of `ConstraintMapInput` via:

ConstraintMap{ "key": ConstraintArgs{...} }

type ConstraintMapOutput added in v4.6.0

type ConstraintMapOutput struct{ *pulumi.OutputState }

func (ConstraintMapOutput) ElementType added in v4.6.0

func (ConstraintMapOutput) ElementType() reflect.Type

func (ConstraintMapOutput) MapIndex added in v4.6.0

func (ConstraintMapOutput) ToConstraintMapOutput added in v4.6.0

func (o ConstraintMapOutput) ToConstraintMapOutput() ConstraintMapOutput

func (ConstraintMapOutput) ToConstraintMapOutputWithContext added in v4.6.0

func (o ConstraintMapOutput) ToConstraintMapOutputWithContext(ctx context.Context) ConstraintMapOutput

type ConstraintOutput added in v4.6.0

type ConstraintOutput struct{ *pulumi.OutputState }

func (ConstraintOutput) ElementType added in v4.6.0

func (ConstraintOutput) ElementType() reflect.Type

func (ConstraintOutput) ToConstraintOutput added in v4.6.0

func (o ConstraintOutput) ToConstraintOutput() ConstraintOutput

func (ConstraintOutput) ToConstraintOutputWithContext added in v4.6.0

func (o ConstraintOutput) ToConstraintOutputWithContext(ctx context.Context) ConstraintOutput

func (ConstraintOutput) ToConstraintPtrOutput added in v4.6.0

func (o ConstraintOutput) ToConstraintPtrOutput() ConstraintPtrOutput

func (ConstraintOutput) ToConstraintPtrOutputWithContext added in v4.6.0

func (o ConstraintOutput) ToConstraintPtrOutputWithContext(ctx context.Context) ConstraintPtrOutput

type ConstraintPtrInput added in v4.6.0

type ConstraintPtrInput interface {
	pulumi.Input

	ToConstraintPtrOutput() ConstraintPtrOutput
	ToConstraintPtrOutputWithContext(ctx context.Context) ConstraintPtrOutput
}

type ConstraintPtrOutput added in v4.6.0

type ConstraintPtrOutput struct{ *pulumi.OutputState }

func (ConstraintPtrOutput) Elem added in v4.15.0

func (ConstraintPtrOutput) ElementType added in v4.6.0

func (ConstraintPtrOutput) ElementType() reflect.Type

func (ConstraintPtrOutput) ToConstraintPtrOutput added in v4.6.0

func (o ConstraintPtrOutput) ToConstraintPtrOutput() ConstraintPtrOutput

func (ConstraintPtrOutput) ToConstraintPtrOutputWithContext added in v4.6.0

func (o ConstraintPtrOutput) ToConstraintPtrOutputWithContext(ctx context.Context) ConstraintPtrOutput

type ConstraintState added in v4.6.0

type ConstraintState struct {
	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage pulumi.StringPtrInput
	// Description of the constraint.
	Description pulumi.StringPtrInput
	// Owner of the constraint.
	Owner pulumi.StringPtrInput
	// Constraint parameters in JSON format. The syntax depends on the constraint type. See details below.
	Parameters pulumi.StringPtrInput
	// Portfolio identifier.
	PortfolioId pulumi.StringPtrInput
	// Product identifier.
	ProductId pulumi.StringPtrInput
	Status    pulumi.StringPtrInput
	// Type of constraint. Valid values are `LAUNCH`, `NOTIFICATION`, `RESOURCE_UPDATE`, `STACKSET`, and `TEMPLATE`.
	Type pulumi.StringPtrInput
}

func (ConstraintState) ElementType added in v4.6.0

func (ConstraintState) ElementType() reflect.Type

type GetLaunchPathsArgs added in v4.11.0

type GetLaunchPathsArgs struct {
	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage *string `pulumi:"acceptLanguage"`
	// Product identifier.
	ProductId string `pulumi:"productId"`
}

A collection of arguments for invoking getLaunchPaths.

type GetLaunchPathsResult added in v4.11.0

type GetLaunchPathsResult struct {
	AcceptLanguage *string `pulumi:"acceptLanguage"`
	// The provider-assigned unique ID for this managed resource.
	Id        string `pulumi:"id"`
	ProductId string `pulumi:"productId"`
	// Block with information about the launch path. See details below.
	Summaries []GetLaunchPathsSummary `pulumi:"summaries"`
}

A collection of values returned by getLaunchPaths.

func GetLaunchPaths added in v4.11.0

func GetLaunchPaths(ctx *pulumi.Context, args *GetLaunchPathsArgs, opts ...pulumi.InvokeOption) (*GetLaunchPathsResult, error)

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

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/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
	})
}

```

type GetLaunchPathsSummary added in v4.11.0

type GetLaunchPathsSummary struct {
	// Block for constraints on the portfolio-product relationship. See details below.
	ConstraintSummaries []GetLaunchPathsSummaryConstraintSummary `pulumi:"constraintSummaries"`
	// Name of the portfolio to which the path was assigned.
	Name string `pulumi:"name"`
	// Identifier of the product path.
	PathId string `pulumi:"pathId"`
	// Tags associated with this product path.
	Tags map[string]string `pulumi:"tags"`
}

type GetLaunchPathsSummaryArgs added in v4.11.0

type GetLaunchPathsSummaryArgs struct {
	// Block for constraints on the portfolio-product relationship. See details below.
	ConstraintSummaries GetLaunchPathsSummaryConstraintSummaryArrayInput `pulumi:"constraintSummaries"`
	// Name of the portfolio to which the path was assigned.
	Name pulumi.StringInput `pulumi:"name"`
	// Identifier of the product path.
	PathId pulumi.StringInput `pulumi:"pathId"`
	// Tags associated with this product path.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

func (GetLaunchPathsSummaryArgs) ElementType added in v4.11.0

func (GetLaunchPathsSummaryArgs) ElementType() reflect.Type

func (GetLaunchPathsSummaryArgs) ToGetLaunchPathsSummaryOutput added in v4.11.0

func (i GetLaunchPathsSummaryArgs) ToGetLaunchPathsSummaryOutput() GetLaunchPathsSummaryOutput

func (GetLaunchPathsSummaryArgs) ToGetLaunchPathsSummaryOutputWithContext added in v4.11.0

func (i GetLaunchPathsSummaryArgs) ToGetLaunchPathsSummaryOutputWithContext(ctx context.Context) GetLaunchPathsSummaryOutput

type GetLaunchPathsSummaryArray added in v4.11.0

type GetLaunchPathsSummaryArray []GetLaunchPathsSummaryInput

func (GetLaunchPathsSummaryArray) ElementType added in v4.11.0

func (GetLaunchPathsSummaryArray) ElementType() reflect.Type

func (GetLaunchPathsSummaryArray) ToGetLaunchPathsSummaryArrayOutput added in v4.11.0

func (i GetLaunchPathsSummaryArray) ToGetLaunchPathsSummaryArrayOutput() GetLaunchPathsSummaryArrayOutput

func (GetLaunchPathsSummaryArray) ToGetLaunchPathsSummaryArrayOutputWithContext added in v4.11.0

func (i GetLaunchPathsSummaryArray) ToGetLaunchPathsSummaryArrayOutputWithContext(ctx context.Context) GetLaunchPathsSummaryArrayOutput

type GetLaunchPathsSummaryArrayInput added in v4.11.0

type GetLaunchPathsSummaryArrayInput interface {
	pulumi.Input

	ToGetLaunchPathsSummaryArrayOutput() GetLaunchPathsSummaryArrayOutput
	ToGetLaunchPathsSummaryArrayOutputWithContext(context.Context) GetLaunchPathsSummaryArrayOutput
}

GetLaunchPathsSummaryArrayInput is an input type that accepts GetLaunchPathsSummaryArray and GetLaunchPathsSummaryArrayOutput values. You can construct a concrete instance of `GetLaunchPathsSummaryArrayInput` via:

GetLaunchPathsSummaryArray{ GetLaunchPathsSummaryArgs{...} }

type GetLaunchPathsSummaryArrayOutput added in v4.11.0

type GetLaunchPathsSummaryArrayOutput struct{ *pulumi.OutputState }

func (GetLaunchPathsSummaryArrayOutput) ElementType added in v4.11.0

func (GetLaunchPathsSummaryArrayOutput) Index added in v4.11.0

func (GetLaunchPathsSummaryArrayOutput) ToGetLaunchPathsSummaryArrayOutput added in v4.11.0

func (o GetLaunchPathsSummaryArrayOutput) ToGetLaunchPathsSummaryArrayOutput() GetLaunchPathsSummaryArrayOutput

func (GetLaunchPathsSummaryArrayOutput) ToGetLaunchPathsSummaryArrayOutputWithContext added in v4.11.0

func (o GetLaunchPathsSummaryArrayOutput) ToGetLaunchPathsSummaryArrayOutputWithContext(ctx context.Context) GetLaunchPathsSummaryArrayOutput

type GetLaunchPathsSummaryConstraintSummary added in v4.11.0

type GetLaunchPathsSummaryConstraintSummary struct {
	// Description of the constraint.
	Description string `pulumi:"description"`
	// Type of constraint. Valid values are `LAUNCH`, `NOTIFICATION`, `STACKSET`, and `TEMPLATE`.
	Type string `pulumi:"type"`
}

type GetLaunchPathsSummaryConstraintSummaryArgs added in v4.11.0

type GetLaunchPathsSummaryConstraintSummaryArgs struct {
	// Description of the constraint.
	Description pulumi.StringInput `pulumi:"description"`
	// Type of constraint. Valid values are `LAUNCH`, `NOTIFICATION`, `STACKSET`, and `TEMPLATE`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetLaunchPathsSummaryConstraintSummaryArgs) ElementType added in v4.11.0

func (GetLaunchPathsSummaryConstraintSummaryArgs) ToGetLaunchPathsSummaryConstraintSummaryOutput added in v4.11.0

func (i GetLaunchPathsSummaryConstraintSummaryArgs) ToGetLaunchPathsSummaryConstraintSummaryOutput() GetLaunchPathsSummaryConstraintSummaryOutput

func (GetLaunchPathsSummaryConstraintSummaryArgs) ToGetLaunchPathsSummaryConstraintSummaryOutputWithContext added in v4.11.0

func (i GetLaunchPathsSummaryConstraintSummaryArgs) ToGetLaunchPathsSummaryConstraintSummaryOutputWithContext(ctx context.Context) GetLaunchPathsSummaryConstraintSummaryOutput

type GetLaunchPathsSummaryConstraintSummaryArray added in v4.11.0

type GetLaunchPathsSummaryConstraintSummaryArray []GetLaunchPathsSummaryConstraintSummaryInput

func (GetLaunchPathsSummaryConstraintSummaryArray) ElementType added in v4.11.0

func (GetLaunchPathsSummaryConstraintSummaryArray) ToGetLaunchPathsSummaryConstraintSummaryArrayOutput added in v4.11.0

func (i GetLaunchPathsSummaryConstraintSummaryArray) ToGetLaunchPathsSummaryConstraintSummaryArrayOutput() GetLaunchPathsSummaryConstraintSummaryArrayOutput

func (GetLaunchPathsSummaryConstraintSummaryArray) ToGetLaunchPathsSummaryConstraintSummaryArrayOutputWithContext added in v4.11.0

func (i GetLaunchPathsSummaryConstraintSummaryArray) ToGetLaunchPathsSummaryConstraintSummaryArrayOutputWithContext(ctx context.Context) GetLaunchPathsSummaryConstraintSummaryArrayOutput

type GetLaunchPathsSummaryConstraintSummaryArrayInput added in v4.11.0

type GetLaunchPathsSummaryConstraintSummaryArrayInput interface {
	pulumi.Input

	ToGetLaunchPathsSummaryConstraintSummaryArrayOutput() GetLaunchPathsSummaryConstraintSummaryArrayOutput
	ToGetLaunchPathsSummaryConstraintSummaryArrayOutputWithContext(context.Context) GetLaunchPathsSummaryConstraintSummaryArrayOutput
}

GetLaunchPathsSummaryConstraintSummaryArrayInput is an input type that accepts GetLaunchPathsSummaryConstraintSummaryArray and GetLaunchPathsSummaryConstraintSummaryArrayOutput values. You can construct a concrete instance of `GetLaunchPathsSummaryConstraintSummaryArrayInput` via:

GetLaunchPathsSummaryConstraintSummaryArray{ GetLaunchPathsSummaryConstraintSummaryArgs{...} }

type GetLaunchPathsSummaryConstraintSummaryArrayOutput added in v4.11.0

type GetLaunchPathsSummaryConstraintSummaryArrayOutput struct{ *pulumi.OutputState }

func (GetLaunchPathsSummaryConstraintSummaryArrayOutput) ElementType added in v4.11.0

func (GetLaunchPathsSummaryConstraintSummaryArrayOutput) Index added in v4.11.0

func (GetLaunchPathsSummaryConstraintSummaryArrayOutput) ToGetLaunchPathsSummaryConstraintSummaryArrayOutput added in v4.11.0

func (o GetLaunchPathsSummaryConstraintSummaryArrayOutput) ToGetLaunchPathsSummaryConstraintSummaryArrayOutput() GetLaunchPathsSummaryConstraintSummaryArrayOutput

func (GetLaunchPathsSummaryConstraintSummaryArrayOutput) ToGetLaunchPathsSummaryConstraintSummaryArrayOutputWithContext added in v4.11.0

func (o GetLaunchPathsSummaryConstraintSummaryArrayOutput) ToGetLaunchPathsSummaryConstraintSummaryArrayOutputWithContext(ctx context.Context) GetLaunchPathsSummaryConstraintSummaryArrayOutput

type GetLaunchPathsSummaryConstraintSummaryInput added in v4.11.0

type GetLaunchPathsSummaryConstraintSummaryInput interface {
	pulumi.Input

	ToGetLaunchPathsSummaryConstraintSummaryOutput() GetLaunchPathsSummaryConstraintSummaryOutput
	ToGetLaunchPathsSummaryConstraintSummaryOutputWithContext(context.Context) GetLaunchPathsSummaryConstraintSummaryOutput
}

GetLaunchPathsSummaryConstraintSummaryInput is an input type that accepts GetLaunchPathsSummaryConstraintSummaryArgs and GetLaunchPathsSummaryConstraintSummaryOutput values. You can construct a concrete instance of `GetLaunchPathsSummaryConstraintSummaryInput` via:

GetLaunchPathsSummaryConstraintSummaryArgs{...}

type GetLaunchPathsSummaryConstraintSummaryOutput added in v4.11.0

type GetLaunchPathsSummaryConstraintSummaryOutput struct{ *pulumi.OutputState }

func (GetLaunchPathsSummaryConstraintSummaryOutput) Description added in v4.11.0

Description of the constraint.

func (GetLaunchPathsSummaryConstraintSummaryOutput) ElementType added in v4.11.0

func (GetLaunchPathsSummaryConstraintSummaryOutput) ToGetLaunchPathsSummaryConstraintSummaryOutput added in v4.11.0

func (o GetLaunchPathsSummaryConstraintSummaryOutput) ToGetLaunchPathsSummaryConstraintSummaryOutput() GetLaunchPathsSummaryConstraintSummaryOutput

func (GetLaunchPathsSummaryConstraintSummaryOutput) ToGetLaunchPathsSummaryConstraintSummaryOutputWithContext added in v4.11.0

func (o GetLaunchPathsSummaryConstraintSummaryOutput) ToGetLaunchPathsSummaryConstraintSummaryOutputWithContext(ctx context.Context) GetLaunchPathsSummaryConstraintSummaryOutput

func (GetLaunchPathsSummaryConstraintSummaryOutput) Type added in v4.11.0

Type of constraint. Valid values are `LAUNCH`, `NOTIFICATION`, `STACKSET`, and `TEMPLATE`.

type GetLaunchPathsSummaryInput added in v4.11.0

type GetLaunchPathsSummaryInput interface {
	pulumi.Input

	ToGetLaunchPathsSummaryOutput() GetLaunchPathsSummaryOutput
	ToGetLaunchPathsSummaryOutputWithContext(context.Context) GetLaunchPathsSummaryOutput
}

GetLaunchPathsSummaryInput is an input type that accepts GetLaunchPathsSummaryArgs and GetLaunchPathsSummaryOutput values. You can construct a concrete instance of `GetLaunchPathsSummaryInput` via:

GetLaunchPathsSummaryArgs{...}

type GetLaunchPathsSummaryOutput added in v4.11.0

type GetLaunchPathsSummaryOutput struct{ *pulumi.OutputState }

func (GetLaunchPathsSummaryOutput) ConstraintSummaries added in v4.11.0

Block for constraints on the portfolio-product relationship. See details below.

func (GetLaunchPathsSummaryOutput) ElementType added in v4.11.0

func (GetLaunchPathsSummaryOutput) Name added in v4.11.0

Name of the portfolio to which the path was assigned.

func (GetLaunchPathsSummaryOutput) PathId added in v4.11.0

Identifier of the product path.

func (GetLaunchPathsSummaryOutput) Tags added in v4.11.0

Tags associated with this product path.

func (GetLaunchPathsSummaryOutput) ToGetLaunchPathsSummaryOutput added in v4.11.0

func (o GetLaunchPathsSummaryOutput) ToGetLaunchPathsSummaryOutput() GetLaunchPathsSummaryOutput

func (GetLaunchPathsSummaryOutput) ToGetLaunchPathsSummaryOutputWithContext added in v4.11.0

func (o GetLaunchPathsSummaryOutput) ToGetLaunchPathsSummaryOutputWithContext(ctx context.Context) GetLaunchPathsSummaryOutput

type GetPortfolioConstraintsArgs added in v4.11.0

type GetPortfolioConstraintsArgs struct {
	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage *string `pulumi:"acceptLanguage"`
	// Portfolio identifier.
	PortfolioId string `pulumi:"portfolioId"`
	// Product identifier.
	ProductId *string `pulumi:"productId"`
}

A collection of arguments for invoking getPortfolioConstraints.

type GetPortfolioConstraintsDetail added in v4.11.0

type GetPortfolioConstraintsDetail struct {
	// Identifier of the constraint.
	ConstraintId string `pulumi:"constraintId"`
	// Description of the constraint.
	Description string `pulumi:"description"`
	Owner       string `pulumi:"owner"`
	// Portfolio identifier.
	PortfolioId string `pulumi:"portfolioId"`
	// Product identifier.
	ProductId string `pulumi:"productId"`
	// Type of constraint. Valid values are `LAUNCH`, `NOTIFICATION`, `STACKSET`, and `TEMPLATE`.
	Type string `pulumi:"type"`
}

type GetPortfolioConstraintsDetailArgs added in v4.11.0

type GetPortfolioConstraintsDetailArgs struct {
	// Identifier of the constraint.
	ConstraintId pulumi.StringInput `pulumi:"constraintId"`
	// Description of the constraint.
	Description pulumi.StringInput `pulumi:"description"`
	Owner       pulumi.StringInput `pulumi:"owner"`
	// Portfolio identifier.
	PortfolioId pulumi.StringInput `pulumi:"portfolioId"`
	// Product identifier.
	ProductId pulumi.StringInput `pulumi:"productId"`
	// Type of constraint. Valid values are `LAUNCH`, `NOTIFICATION`, `STACKSET`, and `TEMPLATE`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetPortfolioConstraintsDetailArgs) ElementType added in v4.11.0

func (GetPortfolioConstraintsDetailArgs) ToGetPortfolioConstraintsDetailOutput added in v4.11.0

func (i GetPortfolioConstraintsDetailArgs) ToGetPortfolioConstraintsDetailOutput() GetPortfolioConstraintsDetailOutput

func (GetPortfolioConstraintsDetailArgs) ToGetPortfolioConstraintsDetailOutputWithContext added in v4.11.0

func (i GetPortfolioConstraintsDetailArgs) ToGetPortfolioConstraintsDetailOutputWithContext(ctx context.Context) GetPortfolioConstraintsDetailOutput

type GetPortfolioConstraintsDetailArray added in v4.11.0

type GetPortfolioConstraintsDetailArray []GetPortfolioConstraintsDetailInput

func (GetPortfolioConstraintsDetailArray) ElementType added in v4.11.0

func (GetPortfolioConstraintsDetailArray) ToGetPortfolioConstraintsDetailArrayOutput added in v4.11.0

func (i GetPortfolioConstraintsDetailArray) ToGetPortfolioConstraintsDetailArrayOutput() GetPortfolioConstraintsDetailArrayOutput

func (GetPortfolioConstraintsDetailArray) ToGetPortfolioConstraintsDetailArrayOutputWithContext added in v4.11.0

func (i GetPortfolioConstraintsDetailArray) ToGetPortfolioConstraintsDetailArrayOutputWithContext(ctx context.Context) GetPortfolioConstraintsDetailArrayOutput

type GetPortfolioConstraintsDetailArrayInput added in v4.11.0

type GetPortfolioConstraintsDetailArrayInput interface {
	pulumi.Input

	ToGetPortfolioConstraintsDetailArrayOutput() GetPortfolioConstraintsDetailArrayOutput
	ToGetPortfolioConstraintsDetailArrayOutputWithContext(context.Context) GetPortfolioConstraintsDetailArrayOutput
}

GetPortfolioConstraintsDetailArrayInput is an input type that accepts GetPortfolioConstraintsDetailArray and GetPortfolioConstraintsDetailArrayOutput values. You can construct a concrete instance of `GetPortfolioConstraintsDetailArrayInput` via:

GetPortfolioConstraintsDetailArray{ GetPortfolioConstraintsDetailArgs{...} }

type GetPortfolioConstraintsDetailArrayOutput added in v4.11.0

type GetPortfolioConstraintsDetailArrayOutput struct{ *pulumi.OutputState }

func (GetPortfolioConstraintsDetailArrayOutput) ElementType added in v4.11.0

func (GetPortfolioConstraintsDetailArrayOutput) Index added in v4.11.0

func (GetPortfolioConstraintsDetailArrayOutput) ToGetPortfolioConstraintsDetailArrayOutput added in v4.11.0

func (o GetPortfolioConstraintsDetailArrayOutput) ToGetPortfolioConstraintsDetailArrayOutput() GetPortfolioConstraintsDetailArrayOutput

func (GetPortfolioConstraintsDetailArrayOutput) ToGetPortfolioConstraintsDetailArrayOutputWithContext added in v4.11.0

func (o GetPortfolioConstraintsDetailArrayOutput) ToGetPortfolioConstraintsDetailArrayOutputWithContext(ctx context.Context) GetPortfolioConstraintsDetailArrayOutput

type GetPortfolioConstraintsDetailInput added in v4.11.0

type GetPortfolioConstraintsDetailInput interface {
	pulumi.Input

	ToGetPortfolioConstraintsDetailOutput() GetPortfolioConstraintsDetailOutput
	ToGetPortfolioConstraintsDetailOutputWithContext(context.Context) GetPortfolioConstraintsDetailOutput
}

GetPortfolioConstraintsDetailInput is an input type that accepts GetPortfolioConstraintsDetailArgs and GetPortfolioConstraintsDetailOutput values. You can construct a concrete instance of `GetPortfolioConstraintsDetailInput` via:

GetPortfolioConstraintsDetailArgs{...}

type GetPortfolioConstraintsDetailOutput added in v4.11.0

type GetPortfolioConstraintsDetailOutput struct{ *pulumi.OutputState }

func (GetPortfolioConstraintsDetailOutput) ConstraintId added in v4.11.0

Identifier of the constraint.

func (GetPortfolioConstraintsDetailOutput) Description added in v4.11.0

Description of the constraint.

func (GetPortfolioConstraintsDetailOutput) ElementType added in v4.11.0

func (GetPortfolioConstraintsDetailOutput) Owner added in v4.11.0

func (GetPortfolioConstraintsDetailOutput) PortfolioId added in v4.11.0

Portfolio identifier.

func (GetPortfolioConstraintsDetailOutput) ProductId added in v4.11.0

Product identifier.

func (GetPortfolioConstraintsDetailOutput) ToGetPortfolioConstraintsDetailOutput added in v4.11.0

func (o GetPortfolioConstraintsDetailOutput) ToGetPortfolioConstraintsDetailOutput() GetPortfolioConstraintsDetailOutput

func (GetPortfolioConstraintsDetailOutput) ToGetPortfolioConstraintsDetailOutputWithContext added in v4.11.0

func (o GetPortfolioConstraintsDetailOutput) ToGetPortfolioConstraintsDetailOutputWithContext(ctx context.Context) GetPortfolioConstraintsDetailOutput

func (GetPortfolioConstraintsDetailOutput) Type added in v4.11.0

Type of constraint. Valid values are `LAUNCH`, `NOTIFICATION`, `STACKSET`, and `TEMPLATE`.

type GetPortfolioConstraintsResult added in v4.11.0

type GetPortfolioConstraintsResult struct {
	AcceptLanguage *string `pulumi:"acceptLanguage"`
	// List of information about the constraints. See details below.
	Details []GetPortfolioConstraintsDetail `pulumi:"details"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Identifier of the portfolio the product resides in. The constraint applies only to the instance of the product that lives within this portfolio.
	PortfolioId string `pulumi:"portfolioId"`
	// Identifier of the product the constraint applies to. A constraint applies to a specific instance of a product within a certain portfolio.
	ProductId *string `pulumi:"productId"`
}

A collection of values returned by getPortfolioConstraints.

func GetPortfolioConstraints added in v4.11.0

func GetPortfolioConstraints(ctx *pulumi.Context, args *GetPortfolioConstraintsArgs, opts ...pulumi.InvokeOption) (*GetPortfolioConstraintsResult, error)

Provides information on Service Catalog Portfolio Constraints.

## Example Usage ### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/servicecatalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicecatalog.GetPortfolioConstraints(ctx, &servicecatalog.GetPortfolioConstraintsArgs{
			PortfolioId: "port-3lli3b3an",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupConstraintArgs added in v4.7.0

type LookupConstraintArgs struct {
	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage *string `pulumi:"acceptLanguage"`
	// Description of the constraint.
	Description *string `pulumi:"description"`
	// Constraint identifier.
	Id string `pulumi:"id"`
}

A collection of arguments for invoking getConstraint.

type LookupConstraintResult added in v4.7.0

type LookupConstraintResult struct {
	AcceptLanguage *string `pulumi:"acceptLanguage"`
	// Description of the constraint.
	Description string `pulumi:"description"`
	Id          string `pulumi:"id"`
	// Owner of the constraint.
	Owner string `pulumi:"owner"`
	// Constraint parameters in JSON format.
	Parameters string `pulumi:"parameters"`
	// Portfolio identifier.
	PortfolioId string `pulumi:"portfolioId"`
	// Product identifier.
	ProductId string `pulumi:"productId"`
	// Constraint status.
	Status string `pulumi:"status"`
	// Type of constraint. Valid values are `LAUNCH`, `NOTIFICATION`, `RESOURCE_UPDATE`, `STACKSET`, and `TEMPLATE`.
	Type string `pulumi:"type"`
}

A collection of values returned by getConstraint.

func LookupConstraint added in v4.7.0

func LookupConstraint(ctx *pulumi.Context, args *LookupConstraintArgs, opts ...pulumi.InvokeOption) (*LookupConstraintResult, error)

Provides information on a Service Catalog Constraint.

## Example Usage ### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/servicecatalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "en"
		_, err := servicecatalog.LookupConstraint(ctx, &servicecatalog.LookupConstraintArgs{
			AcceptLanguage: &opt0,
			Id:             "cons-hrvy0335",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupPortfolioArgs added in v4.9.0

type LookupPortfolioArgs struct {
	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage *string `pulumi:"acceptLanguage"`
	// Portfolio identifier.
	Id string `pulumi:"id"`
	// Tags applied to the portfolio.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getPortfolio.

type LookupPortfolioResult added in v4.9.0

type LookupPortfolioResult struct {
	AcceptLanguage *string `pulumi:"acceptLanguage"`
	// Portfolio ARN.
	Arn string `pulumi:"arn"`
	// Time the portfolio was created.
	CreatedTime string `pulumi:"createdTime"`
	// Description of the portfolio
	Description string `pulumi:"description"`
	Id          string `pulumi:"id"`
	// Portfolio name.
	Name string `pulumi:"name"`
	// Name of the person or organization who owns the portfolio.
	ProviderName string `pulumi:"providerName"`
	// Tags applied to the portfolio.
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getPortfolio.

func LookupPortfolio added in v4.9.0

func LookupPortfolio(ctx *pulumi.Context, args *LookupPortfolioArgs, opts ...pulumi.InvokeOption) (*LookupPortfolioResult, error)

Provides information for a Service Catalog Portfolio.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/servicecatalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicecatalog.LookupPortfolio(ctx, &servicecatalog.LookupPortfolioArgs{
			Id: "port-07052002",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupProductArgs added in v4.10.0

type LookupProductArgs struct {
	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage *string `pulumi:"acceptLanguage"`
	// Product ID.
	Id string `pulumi:"id"`
	// Tags to apply to the product.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getProduct.

type LookupProductResult added in v4.10.0

type LookupProductResult struct {
	AcceptLanguage *string `pulumi:"acceptLanguage"`
	// ARN of the product.
	Arn string `pulumi:"arn"`
	// Time when the product was created.
	CreatedTime string `pulumi:"createdTime"`
	// Description of the product.
	Description string `pulumi:"description"`
	// Distributor (i.e., vendor) of the product.
	Distributor string `pulumi:"distributor"`
	// Whether the product has a default path.
	HasDefaultPath bool   `pulumi:"hasDefaultPath"`
	Id             string `pulumi:"id"`
	// Name of the product.
	Name string `pulumi:"name"`
	// Owner of the product.
	Owner string `pulumi:"owner"`
	// Status of the product.
	Status string `pulumi:"status"`
	// Support information about the product.
	SupportDescription string `pulumi:"supportDescription"`
	// Contact email for product support.
	SupportEmail string `pulumi:"supportEmail"`
	// Contact URL for product support.
	SupportUrl string `pulumi:"supportUrl"`
	// Tags to apply to the product.
	Tags map[string]string `pulumi:"tags"`
	// Type of product.
	Type string `pulumi:"type"`
}

A collection of values returned by getProduct.

func LookupProduct added in v4.10.0

func LookupProduct(ctx *pulumi.Context, args *LookupProductArgs, opts ...pulumi.InvokeOption) (*LookupProductResult, error)

Provides information on a Service Catalog Product.

> **Tip:** A "provisioning artifact" is also referred to as a "version." A "distributor" is also referred to as a "vendor."

## Example Usage ### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/servicecatalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicecatalog.LookupProduct(ctx, &servicecatalog.LookupProductArgs{
			Id: "prod-dnigbtea24ste",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type OrganizationsAccess added in v4.5.0

type OrganizationsAccess struct {
	pulumi.CustomResourceState

	// Whether to enable AWS Organizations access.
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
}

Manages Service Catalog AWS Organizations Access, a portfolio sharing feature through AWS Organizations. This allows Service Catalog to receive updates on your organization in order to sync your shares with the current structure. This resource will prompt AWS to set `organizations:EnableAWSServiceAccess` on your behalf so that your shares can be in sync with any changes in your AWS Organizations structure.

> **NOTE:** This resource can only be used by the management account in the organization. In other words, a delegated administrator is not authorized to use the resource.

## Example Usage ### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/servicecatalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicecatalog.NewOrganizationsAccess(ctx, "example", &servicecatalog.OrganizationsAccessArgs{
			Enabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetOrganizationsAccess added in v4.5.0

func GetOrganizationsAccess(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OrganizationsAccessState, opts ...pulumi.ResourceOption) (*OrganizationsAccess, error)

GetOrganizationsAccess gets an existing OrganizationsAccess resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewOrganizationsAccess added in v4.5.0

func NewOrganizationsAccess(ctx *pulumi.Context,
	name string, args *OrganizationsAccessArgs, opts ...pulumi.ResourceOption) (*OrganizationsAccess, error)

NewOrganizationsAccess registers a new resource with the given unique name, arguments, and options.

func (*OrganizationsAccess) ElementType added in v4.5.0

func (*OrganizationsAccess) ElementType() reflect.Type

func (*OrganizationsAccess) ToOrganizationsAccessOutput added in v4.5.0

func (i *OrganizationsAccess) ToOrganizationsAccessOutput() OrganizationsAccessOutput

func (*OrganizationsAccess) ToOrganizationsAccessOutputWithContext added in v4.5.0

func (i *OrganizationsAccess) ToOrganizationsAccessOutputWithContext(ctx context.Context) OrganizationsAccessOutput

func (*OrganizationsAccess) ToOrganizationsAccessPtrOutput added in v4.5.0

func (i *OrganizationsAccess) ToOrganizationsAccessPtrOutput() OrganizationsAccessPtrOutput

func (*OrganizationsAccess) ToOrganizationsAccessPtrOutputWithContext added in v4.5.0

func (i *OrganizationsAccess) ToOrganizationsAccessPtrOutputWithContext(ctx context.Context) OrganizationsAccessPtrOutput

type OrganizationsAccessArgs added in v4.5.0

type OrganizationsAccessArgs struct {
	// Whether to enable AWS Organizations access.
	Enabled pulumi.BoolInput
}

The set of arguments for constructing a OrganizationsAccess resource.

func (OrganizationsAccessArgs) ElementType added in v4.5.0

func (OrganizationsAccessArgs) ElementType() reflect.Type

type OrganizationsAccessArray added in v4.5.0

type OrganizationsAccessArray []OrganizationsAccessInput

func (OrganizationsAccessArray) ElementType added in v4.5.0

func (OrganizationsAccessArray) ElementType() reflect.Type

func (OrganizationsAccessArray) ToOrganizationsAccessArrayOutput added in v4.5.0

func (i OrganizationsAccessArray) ToOrganizationsAccessArrayOutput() OrganizationsAccessArrayOutput

func (OrganizationsAccessArray) ToOrganizationsAccessArrayOutputWithContext added in v4.5.0

func (i OrganizationsAccessArray) ToOrganizationsAccessArrayOutputWithContext(ctx context.Context) OrganizationsAccessArrayOutput

type OrganizationsAccessArrayInput added in v4.5.0

type OrganizationsAccessArrayInput interface {
	pulumi.Input

	ToOrganizationsAccessArrayOutput() OrganizationsAccessArrayOutput
	ToOrganizationsAccessArrayOutputWithContext(context.Context) OrganizationsAccessArrayOutput
}

OrganizationsAccessArrayInput is an input type that accepts OrganizationsAccessArray and OrganizationsAccessArrayOutput values. You can construct a concrete instance of `OrganizationsAccessArrayInput` via:

OrganizationsAccessArray{ OrganizationsAccessArgs{...} }

type OrganizationsAccessArrayOutput added in v4.5.0

type OrganizationsAccessArrayOutput struct{ *pulumi.OutputState }

func (OrganizationsAccessArrayOutput) ElementType added in v4.5.0

func (OrganizationsAccessArrayOutput) Index added in v4.5.0

func (OrganizationsAccessArrayOutput) ToOrganizationsAccessArrayOutput added in v4.5.0

func (o OrganizationsAccessArrayOutput) ToOrganizationsAccessArrayOutput() OrganizationsAccessArrayOutput

func (OrganizationsAccessArrayOutput) ToOrganizationsAccessArrayOutputWithContext added in v4.5.0

func (o OrganizationsAccessArrayOutput) ToOrganizationsAccessArrayOutputWithContext(ctx context.Context) OrganizationsAccessArrayOutput

type OrganizationsAccessInput added in v4.5.0

type OrganizationsAccessInput interface {
	pulumi.Input

	ToOrganizationsAccessOutput() OrganizationsAccessOutput
	ToOrganizationsAccessOutputWithContext(ctx context.Context) OrganizationsAccessOutput
}

type OrganizationsAccessMap added in v4.5.0

type OrganizationsAccessMap map[string]OrganizationsAccessInput

func (OrganizationsAccessMap) ElementType added in v4.5.0

func (OrganizationsAccessMap) ElementType() reflect.Type

func (OrganizationsAccessMap) ToOrganizationsAccessMapOutput added in v4.5.0

func (i OrganizationsAccessMap) ToOrganizationsAccessMapOutput() OrganizationsAccessMapOutput

func (OrganizationsAccessMap) ToOrganizationsAccessMapOutputWithContext added in v4.5.0

func (i OrganizationsAccessMap) ToOrganizationsAccessMapOutputWithContext(ctx context.Context) OrganizationsAccessMapOutput

type OrganizationsAccessMapInput added in v4.5.0

type OrganizationsAccessMapInput interface {
	pulumi.Input

	ToOrganizationsAccessMapOutput() OrganizationsAccessMapOutput
	ToOrganizationsAccessMapOutputWithContext(context.Context) OrganizationsAccessMapOutput
}

OrganizationsAccessMapInput is an input type that accepts OrganizationsAccessMap and OrganizationsAccessMapOutput values. You can construct a concrete instance of `OrganizationsAccessMapInput` via:

OrganizationsAccessMap{ "key": OrganizationsAccessArgs{...} }

type OrganizationsAccessMapOutput added in v4.5.0

type OrganizationsAccessMapOutput struct{ *pulumi.OutputState }

func (OrganizationsAccessMapOutput) ElementType added in v4.5.0

func (OrganizationsAccessMapOutput) MapIndex added in v4.5.0

func (OrganizationsAccessMapOutput) ToOrganizationsAccessMapOutput added in v4.5.0

func (o OrganizationsAccessMapOutput) ToOrganizationsAccessMapOutput() OrganizationsAccessMapOutput

func (OrganizationsAccessMapOutput) ToOrganizationsAccessMapOutputWithContext added in v4.5.0

func (o OrganizationsAccessMapOutput) ToOrganizationsAccessMapOutputWithContext(ctx context.Context) OrganizationsAccessMapOutput

type OrganizationsAccessOutput added in v4.5.0

type OrganizationsAccessOutput struct{ *pulumi.OutputState }

func (OrganizationsAccessOutput) ElementType added in v4.5.0

func (OrganizationsAccessOutput) ElementType() reflect.Type

func (OrganizationsAccessOutput) ToOrganizationsAccessOutput added in v4.5.0

func (o OrganizationsAccessOutput) ToOrganizationsAccessOutput() OrganizationsAccessOutput

func (OrganizationsAccessOutput) ToOrganizationsAccessOutputWithContext added in v4.5.0

func (o OrganizationsAccessOutput) ToOrganizationsAccessOutputWithContext(ctx context.Context) OrganizationsAccessOutput

func (OrganizationsAccessOutput) ToOrganizationsAccessPtrOutput added in v4.5.0

func (o OrganizationsAccessOutput) ToOrganizationsAccessPtrOutput() OrganizationsAccessPtrOutput

func (OrganizationsAccessOutput) ToOrganizationsAccessPtrOutputWithContext added in v4.5.0

func (o OrganizationsAccessOutput) ToOrganizationsAccessPtrOutputWithContext(ctx context.Context) OrganizationsAccessPtrOutput

type OrganizationsAccessPtrInput added in v4.5.0

type OrganizationsAccessPtrInput interface {
	pulumi.Input

	ToOrganizationsAccessPtrOutput() OrganizationsAccessPtrOutput
	ToOrganizationsAccessPtrOutputWithContext(ctx context.Context) OrganizationsAccessPtrOutput
}

type OrganizationsAccessPtrOutput added in v4.5.0

type OrganizationsAccessPtrOutput struct{ *pulumi.OutputState }

func (OrganizationsAccessPtrOutput) Elem added in v4.15.0

func (OrganizationsAccessPtrOutput) ElementType added in v4.5.0

func (OrganizationsAccessPtrOutput) ToOrganizationsAccessPtrOutput added in v4.5.0

func (o OrganizationsAccessPtrOutput) ToOrganizationsAccessPtrOutput() OrganizationsAccessPtrOutput

func (OrganizationsAccessPtrOutput) ToOrganizationsAccessPtrOutputWithContext added in v4.5.0

func (o OrganizationsAccessPtrOutput) ToOrganizationsAccessPtrOutputWithContext(ctx context.Context) OrganizationsAccessPtrOutput

type OrganizationsAccessState added in v4.5.0

type OrganizationsAccessState struct {
	// Whether to enable AWS Organizations access.
	Enabled pulumi.BoolPtrInput
}

func (OrganizationsAccessState) ElementType added in v4.5.0

func (OrganizationsAccessState) ElementType() reflect.Type

type Portfolio

type Portfolio struct {
	pulumi.CustomResourceState

	Arn         pulumi.StringOutput `pulumi:"arn"`
	CreatedTime pulumi.StringOutput `pulumi:"createdTime"`
	// Description of the portfolio
	Description pulumi.StringOutput `pulumi:"description"`
	// The name of the portfolio.
	Name pulumi.StringOutput `pulumi:"name"`
	// Name of the person or organization who owns the portfolio.
	ProviderName pulumi.StringOutput `pulumi:"providerName"`
	// Tags to apply to the connection. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider .
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a resource to create a Service Catalog Portfolio.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/servicecatalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicecatalog.NewPortfolio(ctx, "portfolio", &servicecatalog.PortfolioArgs{
			Description:  pulumi.String("List of my organizations apps"),
			ProviderName: pulumi.String("Brett"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Service Catalog Portfolios can be imported using the `service catalog portfolio id`, e.g.

```sh

$ pulumi import aws:servicecatalog/portfolio:Portfolio testfolio port-12344321

```

func GetPortfolio

func GetPortfolio(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PortfolioState, opts ...pulumi.ResourceOption) (*Portfolio, error)

GetPortfolio gets an existing Portfolio resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPortfolio

func NewPortfolio(ctx *pulumi.Context,
	name string, args *PortfolioArgs, opts ...pulumi.ResourceOption) (*Portfolio, error)

NewPortfolio registers a new resource with the given unique name, arguments, and options.

func (*Portfolio) ElementType

func (*Portfolio) ElementType() reflect.Type

func (*Portfolio) ToPortfolioOutput

func (i *Portfolio) ToPortfolioOutput() PortfolioOutput

func (*Portfolio) ToPortfolioOutputWithContext

func (i *Portfolio) ToPortfolioOutputWithContext(ctx context.Context) PortfolioOutput

func (*Portfolio) ToPortfolioPtrOutput

func (i *Portfolio) ToPortfolioPtrOutput() PortfolioPtrOutput

func (*Portfolio) ToPortfolioPtrOutputWithContext

func (i *Portfolio) ToPortfolioPtrOutputWithContext(ctx context.Context) PortfolioPtrOutput

type PortfolioArgs

type PortfolioArgs struct {
	// Description of the portfolio
	Description pulumi.StringPtrInput
	// The name of the portfolio.
	Name pulumi.StringPtrInput
	// Name of the person or organization who owns the portfolio.
	ProviderName pulumi.StringInput
	// Tags to apply to the connection. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider .
	TagsAll pulumi.StringMapInput
}

The set of arguments for constructing a Portfolio resource.

func (PortfolioArgs) ElementType

func (PortfolioArgs) ElementType() reflect.Type

type PortfolioArray

type PortfolioArray []PortfolioInput

func (PortfolioArray) ElementType

func (PortfolioArray) ElementType() reflect.Type

func (PortfolioArray) ToPortfolioArrayOutput

func (i PortfolioArray) ToPortfolioArrayOutput() PortfolioArrayOutput

func (PortfolioArray) ToPortfolioArrayOutputWithContext

func (i PortfolioArray) ToPortfolioArrayOutputWithContext(ctx context.Context) PortfolioArrayOutput

type PortfolioArrayInput

type PortfolioArrayInput interface {
	pulumi.Input

	ToPortfolioArrayOutput() PortfolioArrayOutput
	ToPortfolioArrayOutputWithContext(context.Context) PortfolioArrayOutput
}

PortfolioArrayInput is an input type that accepts PortfolioArray and PortfolioArrayOutput values. You can construct a concrete instance of `PortfolioArrayInput` via:

PortfolioArray{ PortfolioArgs{...} }

type PortfolioArrayOutput

type PortfolioArrayOutput struct{ *pulumi.OutputState }

func (PortfolioArrayOutput) ElementType

func (PortfolioArrayOutput) ElementType() reflect.Type

func (PortfolioArrayOutput) Index

func (PortfolioArrayOutput) ToPortfolioArrayOutput

func (o PortfolioArrayOutput) ToPortfolioArrayOutput() PortfolioArrayOutput

func (PortfolioArrayOutput) ToPortfolioArrayOutputWithContext

func (o PortfolioArrayOutput) ToPortfolioArrayOutputWithContext(ctx context.Context) PortfolioArrayOutput

type PortfolioInput

type PortfolioInput interface {
	pulumi.Input

	ToPortfolioOutput() PortfolioOutput
	ToPortfolioOutputWithContext(ctx context.Context) PortfolioOutput
}

type PortfolioMap

type PortfolioMap map[string]PortfolioInput

func (PortfolioMap) ElementType

func (PortfolioMap) ElementType() reflect.Type

func (PortfolioMap) ToPortfolioMapOutput

func (i PortfolioMap) ToPortfolioMapOutput() PortfolioMapOutput

func (PortfolioMap) ToPortfolioMapOutputWithContext

func (i PortfolioMap) ToPortfolioMapOutputWithContext(ctx context.Context) PortfolioMapOutput

type PortfolioMapInput

type PortfolioMapInput interface {
	pulumi.Input

	ToPortfolioMapOutput() PortfolioMapOutput
	ToPortfolioMapOutputWithContext(context.Context) PortfolioMapOutput
}

PortfolioMapInput is an input type that accepts PortfolioMap and PortfolioMapOutput values. You can construct a concrete instance of `PortfolioMapInput` via:

PortfolioMap{ "key": PortfolioArgs{...} }

type PortfolioMapOutput

type PortfolioMapOutput struct{ *pulumi.OutputState }

func (PortfolioMapOutput) ElementType

func (PortfolioMapOutput) ElementType() reflect.Type

func (PortfolioMapOutput) MapIndex

func (PortfolioMapOutput) ToPortfolioMapOutput

func (o PortfolioMapOutput) ToPortfolioMapOutput() PortfolioMapOutput

func (PortfolioMapOutput) ToPortfolioMapOutputWithContext

func (o PortfolioMapOutput) ToPortfolioMapOutputWithContext(ctx context.Context) PortfolioMapOutput

type PortfolioOutput

type PortfolioOutput struct{ *pulumi.OutputState }

func (PortfolioOutput) ElementType

func (PortfolioOutput) ElementType() reflect.Type

func (PortfolioOutput) ToPortfolioOutput

func (o PortfolioOutput) ToPortfolioOutput() PortfolioOutput

func (PortfolioOutput) ToPortfolioOutputWithContext

func (o PortfolioOutput) ToPortfolioOutputWithContext(ctx context.Context) PortfolioOutput

func (PortfolioOutput) ToPortfolioPtrOutput

func (o PortfolioOutput) ToPortfolioPtrOutput() PortfolioPtrOutput

func (PortfolioOutput) ToPortfolioPtrOutputWithContext

func (o PortfolioOutput) ToPortfolioPtrOutputWithContext(ctx context.Context) PortfolioPtrOutput

type PortfolioPtrInput

type PortfolioPtrInput interface {
	pulumi.Input

	ToPortfolioPtrOutput() PortfolioPtrOutput
	ToPortfolioPtrOutputWithContext(ctx context.Context) PortfolioPtrOutput
}

type PortfolioPtrOutput

type PortfolioPtrOutput struct{ *pulumi.OutputState }

func (PortfolioPtrOutput) Elem added in v4.15.0

func (PortfolioPtrOutput) ElementType

func (PortfolioPtrOutput) ElementType() reflect.Type

func (PortfolioPtrOutput) ToPortfolioPtrOutput

func (o PortfolioPtrOutput) ToPortfolioPtrOutput() PortfolioPtrOutput

func (PortfolioPtrOutput) ToPortfolioPtrOutputWithContext

func (o PortfolioPtrOutput) ToPortfolioPtrOutputWithContext(ctx context.Context) PortfolioPtrOutput

type PortfolioShare added in v4.5.0

type PortfolioShare struct {
	pulumi.CustomResourceState

	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage pulumi.StringPtrOutput `pulumi:"acceptLanguage"`
	// Whether the shared portfolio is imported by the recipient account. If the recipient is organizational, the share is automatically imported, and the field is always set to true.
	Accepted pulumi.BoolOutput `pulumi:"accepted"`
	// Portfolio identifier.
	PortfolioId pulumi.StringOutput `pulumi:"portfolioId"`
	// Identifier of the principal with whom you will share the portfolio. Valid values AWS account IDs and ARNs of AWS Organizations and organizational units.
	PrincipalId pulumi.StringOutput `pulumi:"principalId"`
	// Whether to enable sharing of `servicecatalog.TagOption` resources when creating the portfolio share.
	ShareTagOptions pulumi.BoolPtrOutput `pulumi:"shareTagOptions"`
	// Type of portfolio share. Valid values are `ACCOUNT` (an external account), `ORGANIZATION` (a share to every account in an organization), `ORGANIZATIONAL_UNIT`, `ORGANIZATION_MEMBER_ACCOUNT` (a share to an account in an organization).
	Type pulumi.StringOutput `pulumi:"type"`
	// Whether to wait (up to the timeout) for the share to be accepted. Organizational shares are automatically accepted.
	WaitForAcceptance pulumi.BoolPtrOutput `pulumi:"waitForAcceptance"`
}

Manages a Service Catalog Portfolio Share. Shares the specified portfolio with the specified account or organization node. You can share portfolios to an organization, an organizational unit, or a specific account.

If the portfolio share with the specified account or organization node already exists, using this resource to re-create the share will have no effect and will not return an error. You can then use this resource to update the share.

> **NOTE:** Shares to an organization node can only be created by the management account of an organization or by a delegated administrator. If a delegated admin is de-registered, they can no longer create portfolio shares.

> **NOTE:** AWSOrganizationsAccess must be enabled in order to create a portfolio share to an organization node.

> **NOTE:** You can't share a shared resource, including portfolios that contain a shared product.

## Example Usage ### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/servicecatalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicecatalog.NewPortfolioShare(ctx, "example", &servicecatalog.PortfolioShareArgs{
			PrincipalId: pulumi.String("012128675309"),
			PortfolioId: pulumi.Any(aws_servicecatalog_portfolio.Example.Id),
			Type:        pulumi.String("ACCOUNT"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_servicecatalog_portfolio_share` can be imported using the portfolio share ID, e.g.

```sh

$ pulumi import aws:servicecatalog/portfolioShare:PortfolioShare example port-12344321:ACCOUNT:123456789012

```

func GetPortfolioShare added in v4.5.0

func GetPortfolioShare(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PortfolioShareState, opts ...pulumi.ResourceOption) (*PortfolioShare, error)

GetPortfolioShare gets an existing PortfolioShare resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPortfolioShare added in v4.5.0

func NewPortfolioShare(ctx *pulumi.Context,
	name string, args *PortfolioShareArgs, opts ...pulumi.ResourceOption) (*PortfolioShare, error)

NewPortfolioShare registers a new resource with the given unique name, arguments, and options.

func (*PortfolioShare) ElementType added in v4.5.0

func (*PortfolioShare) ElementType() reflect.Type

func (*PortfolioShare) ToPortfolioShareOutput added in v4.5.0

func (i *PortfolioShare) ToPortfolioShareOutput() PortfolioShareOutput

func (*PortfolioShare) ToPortfolioShareOutputWithContext added in v4.5.0

func (i *PortfolioShare) ToPortfolioShareOutputWithContext(ctx context.Context) PortfolioShareOutput

func (*PortfolioShare) ToPortfolioSharePtrOutput added in v4.5.0

func (i *PortfolioShare) ToPortfolioSharePtrOutput() PortfolioSharePtrOutput

func (*PortfolioShare) ToPortfolioSharePtrOutputWithContext added in v4.5.0

func (i *PortfolioShare) ToPortfolioSharePtrOutputWithContext(ctx context.Context) PortfolioSharePtrOutput

type PortfolioShareArgs added in v4.5.0

type PortfolioShareArgs struct {
	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage pulumi.StringPtrInput
	// Portfolio identifier.
	PortfolioId pulumi.StringInput
	// Identifier of the principal with whom you will share the portfolio. Valid values AWS account IDs and ARNs of AWS Organizations and organizational units.
	PrincipalId pulumi.StringInput
	// Whether to enable sharing of `servicecatalog.TagOption` resources when creating the portfolio share.
	ShareTagOptions pulumi.BoolPtrInput
	// Type of portfolio share. Valid values are `ACCOUNT` (an external account), `ORGANIZATION` (a share to every account in an organization), `ORGANIZATIONAL_UNIT`, `ORGANIZATION_MEMBER_ACCOUNT` (a share to an account in an organization).
	Type pulumi.StringInput
	// Whether to wait (up to the timeout) for the share to be accepted. Organizational shares are automatically accepted.
	WaitForAcceptance pulumi.BoolPtrInput
}

The set of arguments for constructing a PortfolioShare resource.

func (PortfolioShareArgs) ElementType added in v4.5.0

func (PortfolioShareArgs) ElementType() reflect.Type

type PortfolioShareArray added in v4.5.0

type PortfolioShareArray []PortfolioShareInput

func (PortfolioShareArray) ElementType added in v4.5.0

func (PortfolioShareArray) ElementType() reflect.Type

func (PortfolioShareArray) ToPortfolioShareArrayOutput added in v4.5.0

func (i PortfolioShareArray) ToPortfolioShareArrayOutput() PortfolioShareArrayOutput

func (PortfolioShareArray) ToPortfolioShareArrayOutputWithContext added in v4.5.0

func (i PortfolioShareArray) ToPortfolioShareArrayOutputWithContext(ctx context.Context) PortfolioShareArrayOutput

type PortfolioShareArrayInput added in v4.5.0

type PortfolioShareArrayInput interface {
	pulumi.Input

	ToPortfolioShareArrayOutput() PortfolioShareArrayOutput
	ToPortfolioShareArrayOutputWithContext(context.Context) PortfolioShareArrayOutput
}

PortfolioShareArrayInput is an input type that accepts PortfolioShareArray and PortfolioShareArrayOutput values. You can construct a concrete instance of `PortfolioShareArrayInput` via:

PortfolioShareArray{ PortfolioShareArgs{...} }

type PortfolioShareArrayOutput added in v4.5.0

type PortfolioShareArrayOutput struct{ *pulumi.OutputState }

func (PortfolioShareArrayOutput) ElementType added in v4.5.0

func (PortfolioShareArrayOutput) ElementType() reflect.Type

func (PortfolioShareArrayOutput) Index added in v4.5.0

func (PortfolioShareArrayOutput) ToPortfolioShareArrayOutput added in v4.5.0

func (o PortfolioShareArrayOutput) ToPortfolioShareArrayOutput() PortfolioShareArrayOutput

func (PortfolioShareArrayOutput) ToPortfolioShareArrayOutputWithContext added in v4.5.0

func (o PortfolioShareArrayOutput) ToPortfolioShareArrayOutputWithContext(ctx context.Context) PortfolioShareArrayOutput

type PortfolioShareInput added in v4.5.0

type PortfolioShareInput interface {
	pulumi.Input

	ToPortfolioShareOutput() PortfolioShareOutput
	ToPortfolioShareOutputWithContext(ctx context.Context) PortfolioShareOutput
}

type PortfolioShareMap added in v4.5.0

type PortfolioShareMap map[string]PortfolioShareInput

func (PortfolioShareMap) ElementType added in v4.5.0

func (PortfolioShareMap) ElementType() reflect.Type

func (PortfolioShareMap) ToPortfolioShareMapOutput added in v4.5.0

func (i PortfolioShareMap) ToPortfolioShareMapOutput() PortfolioShareMapOutput

func (PortfolioShareMap) ToPortfolioShareMapOutputWithContext added in v4.5.0

func (i PortfolioShareMap) ToPortfolioShareMapOutputWithContext(ctx context.Context) PortfolioShareMapOutput

type PortfolioShareMapInput added in v4.5.0

type PortfolioShareMapInput interface {
	pulumi.Input

	ToPortfolioShareMapOutput() PortfolioShareMapOutput
	ToPortfolioShareMapOutputWithContext(context.Context) PortfolioShareMapOutput
}

PortfolioShareMapInput is an input type that accepts PortfolioShareMap and PortfolioShareMapOutput values. You can construct a concrete instance of `PortfolioShareMapInput` via:

PortfolioShareMap{ "key": PortfolioShareArgs{...} }

type PortfolioShareMapOutput added in v4.5.0

type PortfolioShareMapOutput struct{ *pulumi.OutputState }

func (PortfolioShareMapOutput) ElementType added in v4.5.0

func (PortfolioShareMapOutput) ElementType() reflect.Type

func (PortfolioShareMapOutput) MapIndex added in v4.5.0

func (PortfolioShareMapOutput) ToPortfolioShareMapOutput added in v4.5.0

func (o PortfolioShareMapOutput) ToPortfolioShareMapOutput() PortfolioShareMapOutput

func (PortfolioShareMapOutput) ToPortfolioShareMapOutputWithContext added in v4.5.0

func (o PortfolioShareMapOutput) ToPortfolioShareMapOutputWithContext(ctx context.Context) PortfolioShareMapOutput

type PortfolioShareOutput added in v4.5.0

type PortfolioShareOutput struct{ *pulumi.OutputState }

func (PortfolioShareOutput) ElementType added in v4.5.0

func (PortfolioShareOutput) ElementType() reflect.Type

func (PortfolioShareOutput) ToPortfolioShareOutput added in v4.5.0

func (o PortfolioShareOutput) ToPortfolioShareOutput() PortfolioShareOutput

func (PortfolioShareOutput) ToPortfolioShareOutputWithContext added in v4.5.0

func (o PortfolioShareOutput) ToPortfolioShareOutputWithContext(ctx context.Context) PortfolioShareOutput

func (PortfolioShareOutput) ToPortfolioSharePtrOutput added in v4.5.0

func (o PortfolioShareOutput) ToPortfolioSharePtrOutput() PortfolioSharePtrOutput

func (PortfolioShareOutput) ToPortfolioSharePtrOutputWithContext added in v4.5.0

func (o PortfolioShareOutput) ToPortfolioSharePtrOutputWithContext(ctx context.Context) PortfolioSharePtrOutput

type PortfolioSharePtrInput added in v4.5.0

type PortfolioSharePtrInput interface {
	pulumi.Input

	ToPortfolioSharePtrOutput() PortfolioSharePtrOutput
	ToPortfolioSharePtrOutputWithContext(ctx context.Context) PortfolioSharePtrOutput
}

type PortfolioSharePtrOutput added in v4.5.0

type PortfolioSharePtrOutput struct{ *pulumi.OutputState }

func (PortfolioSharePtrOutput) Elem added in v4.15.0

func (PortfolioSharePtrOutput) ElementType added in v4.5.0

func (PortfolioSharePtrOutput) ElementType() reflect.Type

func (PortfolioSharePtrOutput) ToPortfolioSharePtrOutput added in v4.5.0

func (o PortfolioSharePtrOutput) ToPortfolioSharePtrOutput() PortfolioSharePtrOutput

func (PortfolioSharePtrOutput) ToPortfolioSharePtrOutputWithContext added in v4.5.0

func (o PortfolioSharePtrOutput) ToPortfolioSharePtrOutputWithContext(ctx context.Context) PortfolioSharePtrOutput

type PortfolioShareState added in v4.5.0

type PortfolioShareState struct {
	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage pulumi.StringPtrInput
	// Whether the shared portfolio is imported by the recipient account. If the recipient is organizational, the share is automatically imported, and the field is always set to true.
	Accepted pulumi.BoolPtrInput
	// Portfolio identifier.
	PortfolioId pulumi.StringPtrInput
	// Identifier of the principal with whom you will share the portfolio. Valid values AWS account IDs and ARNs of AWS Organizations and organizational units.
	PrincipalId pulumi.StringPtrInput
	// Whether to enable sharing of `servicecatalog.TagOption` resources when creating the portfolio share.
	ShareTagOptions pulumi.BoolPtrInput
	// Type of portfolio share. Valid values are `ACCOUNT` (an external account), `ORGANIZATION` (a share to every account in an organization), `ORGANIZATIONAL_UNIT`, `ORGANIZATION_MEMBER_ACCOUNT` (a share to an account in an organization).
	Type pulumi.StringPtrInput
	// Whether to wait (up to the timeout) for the share to be accepted. Organizational shares are automatically accepted.
	WaitForAcceptance pulumi.BoolPtrInput
}

func (PortfolioShareState) ElementType added in v4.5.0

func (PortfolioShareState) ElementType() reflect.Type

type PortfolioState

type PortfolioState struct {
	Arn         pulumi.StringPtrInput
	CreatedTime pulumi.StringPtrInput
	// Description of the portfolio
	Description pulumi.StringPtrInput
	// The name of the portfolio.
	Name pulumi.StringPtrInput
	// Name of the person or organization who owns the portfolio.
	ProviderName pulumi.StringPtrInput
	// Tags to apply to the connection. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider .
	TagsAll pulumi.StringMapInput
}

func (PortfolioState) ElementType

func (PortfolioState) ElementType() reflect.Type

type PrincipalPortfolioAssociation added in v4.7.0

type PrincipalPortfolioAssociation struct {
	pulumi.CustomResourceState

	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage pulumi.StringPtrOutput `pulumi:"acceptLanguage"`
	// Portfolio identifier.
	PortfolioId pulumi.StringOutput `pulumi:"portfolioId"`
	// Principal ARN.
	PrincipalArn pulumi.StringOutput `pulumi:"principalArn"`
	// Principal type. Setting this argument empty (e.g., `principalType = ""`) will result in an error. Valid value is `IAM`. Default is `IAM`.
	PrincipalType pulumi.StringPtrOutput `pulumi:"principalType"`
}

Manages a Service Catalog Principal Portfolio Association.

## Example Usage ### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/servicecatalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicecatalog.NewPrincipalPortfolioAssociation(ctx, "example", &servicecatalog.PrincipalPortfolioAssociationArgs{
			PortfolioId:  pulumi.String("port-68656c6c6f"),
			PrincipalArn: pulumi.String("arn:aws:iam::123456789012:user/Eleanor"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_servicecatalog_principal_portfolio_association` can be imported using the accept language, principal ARN, and portfolio ID, separated by a comma, e.g.

```sh

$ pulumi import aws:servicecatalog/principalPortfolioAssociation:PrincipalPortfolioAssociation example en,arn:aws:iam::123456789012:user/Eleanor,port-68656c6c6f

```

func GetPrincipalPortfolioAssociation added in v4.7.0

func GetPrincipalPortfolioAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PrincipalPortfolioAssociationState, opts ...pulumi.ResourceOption) (*PrincipalPortfolioAssociation, error)

GetPrincipalPortfolioAssociation gets an existing PrincipalPortfolioAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPrincipalPortfolioAssociation added in v4.7.0

func NewPrincipalPortfolioAssociation(ctx *pulumi.Context,
	name string, args *PrincipalPortfolioAssociationArgs, opts ...pulumi.ResourceOption) (*PrincipalPortfolioAssociation, error)

NewPrincipalPortfolioAssociation registers a new resource with the given unique name, arguments, and options.

func (*PrincipalPortfolioAssociation) ElementType added in v4.7.0

func (*PrincipalPortfolioAssociation) ToPrincipalPortfolioAssociationOutput added in v4.7.0

func (i *PrincipalPortfolioAssociation) ToPrincipalPortfolioAssociationOutput() PrincipalPortfolioAssociationOutput

func (*PrincipalPortfolioAssociation) ToPrincipalPortfolioAssociationOutputWithContext added in v4.7.0

func (i *PrincipalPortfolioAssociation) ToPrincipalPortfolioAssociationOutputWithContext(ctx context.Context) PrincipalPortfolioAssociationOutput

func (*PrincipalPortfolioAssociation) ToPrincipalPortfolioAssociationPtrOutput added in v4.7.0

func (i *PrincipalPortfolioAssociation) ToPrincipalPortfolioAssociationPtrOutput() PrincipalPortfolioAssociationPtrOutput

func (*PrincipalPortfolioAssociation) ToPrincipalPortfolioAssociationPtrOutputWithContext added in v4.7.0

func (i *PrincipalPortfolioAssociation) ToPrincipalPortfolioAssociationPtrOutputWithContext(ctx context.Context) PrincipalPortfolioAssociationPtrOutput

type PrincipalPortfolioAssociationArgs added in v4.7.0

type PrincipalPortfolioAssociationArgs struct {
	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage pulumi.StringPtrInput
	// Portfolio identifier.
	PortfolioId pulumi.StringInput
	// Principal ARN.
	PrincipalArn pulumi.StringInput
	// Principal type. Setting this argument empty (e.g., `principalType = ""`) will result in an error. Valid value is `IAM`. Default is `IAM`.
	PrincipalType pulumi.StringPtrInput
}

The set of arguments for constructing a PrincipalPortfolioAssociation resource.

func (PrincipalPortfolioAssociationArgs) ElementType added in v4.7.0

type PrincipalPortfolioAssociationArray added in v4.7.0

type PrincipalPortfolioAssociationArray []PrincipalPortfolioAssociationInput

func (PrincipalPortfolioAssociationArray) ElementType added in v4.7.0

func (PrincipalPortfolioAssociationArray) ToPrincipalPortfolioAssociationArrayOutput added in v4.7.0

func (i PrincipalPortfolioAssociationArray) ToPrincipalPortfolioAssociationArrayOutput() PrincipalPortfolioAssociationArrayOutput

func (PrincipalPortfolioAssociationArray) ToPrincipalPortfolioAssociationArrayOutputWithContext added in v4.7.0

func (i PrincipalPortfolioAssociationArray) ToPrincipalPortfolioAssociationArrayOutputWithContext(ctx context.Context) PrincipalPortfolioAssociationArrayOutput

type PrincipalPortfolioAssociationArrayInput added in v4.7.0

type PrincipalPortfolioAssociationArrayInput interface {
	pulumi.Input

	ToPrincipalPortfolioAssociationArrayOutput() PrincipalPortfolioAssociationArrayOutput
	ToPrincipalPortfolioAssociationArrayOutputWithContext(context.Context) PrincipalPortfolioAssociationArrayOutput
}

PrincipalPortfolioAssociationArrayInput is an input type that accepts PrincipalPortfolioAssociationArray and PrincipalPortfolioAssociationArrayOutput values. You can construct a concrete instance of `PrincipalPortfolioAssociationArrayInput` via:

PrincipalPortfolioAssociationArray{ PrincipalPortfolioAssociationArgs{...} }

type PrincipalPortfolioAssociationArrayOutput added in v4.7.0

type PrincipalPortfolioAssociationArrayOutput struct{ *pulumi.OutputState }

func (PrincipalPortfolioAssociationArrayOutput) ElementType added in v4.7.0

func (PrincipalPortfolioAssociationArrayOutput) Index added in v4.7.0

func (PrincipalPortfolioAssociationArrayOutput) ToPrincipalPortfolioAssociationArrayOutput added in v4.7.0

func (o PrincipalPortfolioAssociationArrayOutput) ToPrincipalPortfolioAssociationArrayOutput() PrincipalPortfolioAssociationArrayOutput

func (PrincipalPortfolioAssociationArrayOutput) ToPrincipalPortfolioAssociationArrayOutputWithContext added in v4.7.0

func (o PrincipalPortfolioAssociationArrayOutput) ToPrincipalPortfolioAssociationArrayOutputWithContext(ctx context.Context) PrincipalPortfolioAssociationArrayOutput

type PrincipalPortfolioAssociationInput added in v4.7.0

type PrincipalPortfolioAssociationInput interface {
	pulumi.Input

	ToPrincipalPortfolioAssociationOutput() PrincipalPortfolioAssociationOutput
	ToPrincipalPortfolioAssociationOutputWithContext(ctx context.Context) PrincipalPortfolioAssociationOutput
}

type PrincipalPortfolioAssociationMap added in v4.7.0

type PrincipalPortfolioAssociationMap map[string]PrincipalPortfolioAssociationInput

func (PrincipalPortfolioAssociationMap) ElementType added in v4.7.0

func (PrincipalPortfolioAssociationMap) ToPrincipalPortfolioAssociationMapOutput added in v4.7.0

func (i PrincipalPortfolioAssociationMap) ToPrincipalPortfolioAssociationMapOutput() PrincipalPortfolioAssociationMapOutput

func (PrincipalPortfolioAssociationMap) ToPrincipalPortfolioAssociationMapOutputWithContext added in v4.7.0

func (i PrincipalPortfolioAssociationMap) ToPrincipalPortfolioAssociationMapOutputWithContext(ctx context.Context) PrincipalPortfolioAssociationMapOutput

type PrincipalPortfolioAssociationMapInput added in v4.7.0

type PrincipalPortfolioAssociationMapInput interface {
	pulumi.Input

	ToPrincipalPortfolioAssociationMapOutput() PrincipalPortfolioAssociationMapOutput
	ToPrincipalPortfolioAssociationMapOutputWithContext(context.Context) PrincipalPortfolioAssociationMapOutput
}

PrincipalPortfolioAssociationMapInput is an input type that accepts PrincipalPortfolioAssociationMap and PrincipalPortfolioAssociationMapOutput values. You can construct a concrete instance of `PrincipalPortfolioAssociationMapInput` via:

PrincipalPortfolioAssociationMap{ "key": PrincipalPortfolioAssociationArgs{...} }

type PrincipalPortfolioAssociationMapOutput added in v4.7.0

type PrincipalPortfolioAssociationMapOutput struct{ *pulumi.OutputState }

func (PrincipalPortfolioAssociationMapOutput) ElementType added in v4.7.0

func (PrincipalPortfolioAssociationMapOutput) MapIndex added in v4.7.0

func (PrincipalPortfolioAssociationMapOutput) ToPrincipalPortfolioAssociationMapOutput added in v4.7.0

func (o PrincipalPortfolioAssociationMapOutput) ToPrincipalPortfolioAssociationMapOutput() PrincipalPortfolioAssociationMapOutput

func (PrincipalPortfolioAssociationMapOutput) ToPrincipalPortfolioAssociationMapOutputWithContext added in v4.7.0

func (o PrincipalPortfolioAssociationMapOutput) ToPrincipalPortfolioAssociationMapOutputWithContext(ctx context.Context) PrincipalPortfolioAssociationMapOutput

type PrincipalPortfolioAssociationOutput added in v4.7.0

type PrincipalPortfolioAssociationOutput struct{ *pulumi.OutputState }

func (PrincipalPortfolioAssociationOutput) ElementType added in v4.7.0

func (PrincipalPortfolioAssociationOutput) ToPrincipalPortfolioAssociationOutput added in v4.7.0

func (o PrincipalPortfolioAssociationOutput) ToPrincipalPortfolioAssociationOutput() PrincipalPortfolioAssociationOutput

func (PrincipalPortfolioAssociationOutput) ToPrincipalPortfolioAssociationOutputWithContext added in v4.7.0

func (o PrincipalPortfolioAssociationOutput) ToPrincipalPortfolioAssociationOutputWithContext(ctx context.Context) PrincipalPortfolioAssociationOutput

func (PrincipalPortfolioAssociationOutput) ToPrincipalPortfolioAssociationPtrOutput added in v4.7.0

func (o PrincipalPortfolioAssociationOutput) ToPrincipalPortfolioAssociationPtrOutput() PrincipalPortfolioAssociationPtrOutput

func (PrincipalPortfolioAssociationOutput) ToPrincipalPortfolioAssociationPtrOutputWithContext added in v4.7.0

func (o PrincipalPortfolioAssociationOutput) ToPrincipalPortfolioAssociationPtrOutputWithContext(ctx context.Context) PrincipalPortfolioAssociationPtrOutput

type PrincipalPortfolioAssociationPtrInput added in v4.7.0

type PrincipalPortfolioAssociationPtrInput interface {
	pulumi.Input

	ToPrincipalPortfolioAssociationPtrOutput() PrincipalPortfolioAssociationPtrOutput
	ToPrincipalPortfolioAssociationPtrOutputWithContext(ctx context.Context) PrincipalPortfolioAssociationPtrOutput
}

type PrincipalPortfolioAssociationPtrOutput added in v4.7.0

type PrincipalPortfolioAssociationPtrOutput struct{ *pulumi.OutputState }

func (PrincipalPortfolioAssociationPtrOutput) Elem added in v4.15.0

func (PrincipalPortfolioAssociationPtrOutput) ElementType added in v4.7.0

func (PrincipalPortfolioAssociationPtrOutput) ToPrincipalPortfolioAssociationPtrOutput added in v4.7.0

func (o PrincipalPortfolioAssociationPtrOutput) ToPrincipalPortfolioAssociationPtrOutput() PrincipalPortfolioAssociationPtrOutput

func (PrincipalPortfolioAssociationPtrOutput) ToPrincipalPortfolioAssociationPtrOutputWithContext added in v4.7.0

func (o PrincipalPortfolioAssociationPtrOutput) ToPrincipalPortfolioAssociationPtrOutputWithContext(ctx context.Context) PrincipalPortfolioAssociationPtrOutput

type PrincipalPortfolioAssociationState added in v4.7.0

type PrincipalPortfolioAssociationState struct {
	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage pulumi.StringPtrInput
	// Portfolio identifier.
	PortfolioId pulumi.StringPtrInput
	// Principal ARN.
	PrincipalArn pulumi.StringPtrInput
	// Principal type. Setting this argument empty (e.g., `principalType = ""`) will result in an error. Valid value is `IAM`. Default is `IAM`.
	PrincipalType pulumi.StringPtrInput
}

func (PrincipalPortfolioAssociationState) ElementType added in v4.7.0

type Product added in v4.2.0

type Product struct {
	pulumi.CustomResourceState

	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage pulumi.StringPtrOutput `pulumi:"acceptLanguage"`
	// ARN of the product.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Time when the product was created.
	CreatedTime pulumi.StringOutput `pulumi:"createdTime"`
	// Description of the provisioning artifact (i.e., version), including how it differs from the previous provisioning artifact.
	Description pulumi.StringOutput `pulumi:"description"`
	// Distributor (i.e., vendor) of the product.
	Distributor pulumi.StringOutput `pulumi:"distributor"`
	// Whether the product has a default path. If the product does not have a default path, call `ListLaunchPaths` to disambiguate between paths.  Otherwise, `ListLaunchPaths` is not required, and the output of ProductViewSummary can be used directly with `DescribeProvisioningParameters`.
	HasDefaultPath pulumi.BoolOutput `pulumi:"hasDefaultPath"`
	// Name of the provisioning artifact (for example, `v1`, `v2beta`). No spaces are allowed.
	Name pulumi.StringOutput `pulumi:"name"`
	// Owner of the product.
	Owner pulumi.StringOutput `pulumi:"owner"`
	// Configuration block for provisioning artifact (i.e., version) parameters. Detailed below.
	ProvisioningArtifactParameters ProductProvisioningArtifactParametersOutput `pulumi:"provisioningArtifactParameters"`
	// Status of the product.
	Status pulumi.StringOutput `pulumi:"status"`
	// Support information about the product.
	SupportDescription pulumi.StringOutput `pulumi:"supportDescription"`
	// Contact email for product support.
	SupportEmail pulumi.StringOutput `pulumi:"supportEmail"`
	// Contact URL for product support.
	SupportUrl pulumi.StringOutput `pulumi:"supportUrl"`
	// Tags to apply to the product. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider .
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Type of provisioning artifact. Valid values: `CLOUD_FORMATION_TEMPLATE`, `MARKETPLACE_AMI`, `MARKETPLACE_CAR` (Marketplace Clusters and AWS Resources).
	Type pulumi.StringOutput `pulumi:"type"`
}

Manages a Service Catalog Product.

> **NOTE:** The user or role that uses this resources must have the `cloudformation:GetTemplate` IAM policy permission. This policy permission is required when using the `templatePhysicalId` argument.

> A "provisioning artifact" is also referred to as a "version." A "distributor" is also referred to as a "vendor."

## Example Usage ### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/servicecatalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicecatalog.NewProduct(ctx, "example", &servicecatalog.ProductArgs{
			Owner: pulumi.String{
				aws_security_group.Example.Id,
			},
			Type: pulumi.Any(aws_subnet.Main.Id),
			ProvisioningArtifactParameters: &servicecatalog.ProductProvisioningArtifactParametersArgs{
				TemplateUrl: pulumi.String("https://s3.amazonaws.com/cf-templates-ozkq9d3hgiq2-us-east-1/temp1.json"),
			},
			Tags: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_servicecatalog_product` can be imported using the product ID, e.g.

```sh

$ pulumi import aws:servicecatalog/product:Product example prod-dnigbtea24ste

```

func GetProduct added in v4.2.0

func GetProduct(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProductState, opts ...pulumi.ResourceOption) (*Product, error)

GetProduct gets an existing Product resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProduct added in v4.2.0

func NewProduct(ctx *pulumi.Context,
	name string, args *ProductArgs, opts ...pulumi.ResourceOption) (*Product, error)

NewProduct registers a new resource with the given unique name, arguments, and options.

func (*Product) ElementType added in v4.2.0

func (*Product) ElementType() reflect.Type

func (*Product) ToProductOutput added in v4.2.0

func (i *Product) ToProductOutput() ProductOutput

func (*Product) ToProductOutputWithContext added in v4.2.0

func (i *Product) ToProductOutputWithContext(ctx context.Context) ProductOutput

func (*Product) ToProductPtrOutput added in v4.2.0

func (i *Product) ToProductPtrOutput() ProductPtrOutput

func (*Product) ToProductPtrOutputWithContext added in v4.2.0

func (i *Product) ToProductPtrOutputWithContext(ctx context.Context) ProductPtrOutput

type ProductArgs added in v4.2.0

type ProductArgs struct {
	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage pulumi.StringPtrInput
	// Description of the provisioning artifact (i.e., version), including how it differs from the previous provisioning artifact.
	Description pulumi.StringPtrInput
	// Distributor (i.e., vendor) of the product.
	Distributor pulumi.StringPtrInput
	// Name of the provisioning artifact (for example, `v1`, `v2beta`). No spaces are allowed.
	Name pulumi.StringPtrInput
	// Owner of the product.
	Owner pulumi.StringInput
	// Configuration block for provisioning artifact (i.e., version) parameters. Detailed below.
	ProvisioningArtifactParameters ProductProvisioningArtifactParametersInput
	// Support information about the product.
	SupportDescription pulumi.StringPtrInput
	// Contact email for product support.
	SupportEmail pulumi.StringPtrInput
	// Contact URL for product support.
	SupportUrl pulumi.StringPtrInput
	// Tags to apply to the product. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider .
	TagsAll pulumi.StringMapInput
	// Type of provisioning artifact. Valid values: `CLOUD_FORMATION_TEMPLATE`, `MARKETPLACE_AMI`, `MARKETPLACE_CAR` (Marketplace Clusters and AWS Resources).
	Type pulumi.StringInput
}

The set of arguments for constructing a Product resource.

func (ProductArgs) ElementType added in v4.2.0

func (ProductArgs) ElementType() reflect.Type

type ProductArray added in v4.2.0

type ProductArray []ProductInput

func (ProductArray) ElementType added in v4.2.0

func (ProductArray) ElementType() reflect.Type

func (ProductArray) ToProductArrayOutput added in v4.2.0

func (i ProductArray) ToProductArrayOutput() ProductArrayOutput

func (ProductArray) ToProductArrayOutputWithContext added in v4.2.0

func (i ProductArray) ToProductArrayOutputWithContext(ctx context.Context) ProductArrayOutput

type ProductArrayInput added in v4.2.0

type ProductArrayInput interface {
	pulumi.Input

	ToProductArrayOutput() ProductArrayOutput
	ToProductArrayOutputWithContext(context.Context) ProductArrayOutput
}

ProductArrayInput is an input type that accepts ProductArray and ProductArrayOutput values. You can construct a concrete instance of `ProductArrayInput` via:

ProductArray{ ProductArgs{...} }

type ProductArrayOutput added in v4.2.0

type ProductArrayOutput struct{ *pulumi.OutputState }

func (ProductArrayOutput) ElementType added in v4.2.0

func (ProductArrayOutput) ElementType() reflect.Type

func (ProductArrayOutput) Index added in v4.2.0

func (ProductArrayOutput) ToProductArrayOutput added in v4.2.0

func (o ProductArrayOutput) ToProductArrayOutput() ProductArrayOutput

func (ProductArrayOutput) ToProductArrayOutputWithContext added in v4.2.0

func (o ProductArrayOutput) ToProductArrayOutputWithContext(ctx context.Context) ProductArrayOutput

type ProductInput added in v4.2.0

type ProductInput interface {
	pulumi.Input

	ToProductOutput() ProductOutput
	ToProductOutputWithContext(ctx context.Context) ProductOutput
}

type ProductMap added in v4.2.0

type ProductMap map[string]ProductInput

func (ProductMap) ElementType added in v4.2.0

func (ProductMap) ElementType() reflect.Type

func (ProductMap) ToProductMapOutput added in v4.2.0

func (i ProductMap) ToProductMapOutput() ProductMapOutput

func (ProductMap) ToProductMapOutputWithContext added in v4.2.0

func (i ProductMap) ToProductMapOutputWithContext(ctx context.Context) ProductMapOutput

type ProductMapInput added in v4.2.0

type ProductMapInput interface {
	pulumi.Input

	ToProductMapOutput() ProductMapOutput
	ToProductMapOutputWithContext(context.Context) ProductMapOutput
}

ProductMapInput is an input type that accepts ProductMap and ProductMapOutput values. You can construct a concrete instance of `ProductMapInput` via:

ProductMap{ "key": ProductArgs{...} }

type ProductMapOutput added in v4.2.0

type ProductMapOutput struct{ *pulumi.OutputState }

func (ProductMapOutput) ElementType added in v4.2.0

func (ProductMapOutput) ElementType() reflect.Type

func (ProductMapOutput) MapIndex added in v4.2.0

func (ProductMapOutput) ToProductMapOutput added in v4.2.0

func (o ProductMapOutput) ToProductMapOutput() ProductMapOutput

func (ProductMapOutput) ToProductMapOutputWithContext added in v4.2.0

func (o ProductMapOutput) ToProductMapOutputWithContext(ctx context.Context) ProductMapOutput

type ProductOutput added in v4.2.0

type ProductOutput struct{ *pulumi.OutputState }

func (ProductOutput) ElementType added in v4.2.0

func (ProductOutput) ElementType() reflect.Type

func (ProductOutput) ToProductOutput added in v4.2.0

func (o ProductOutput) ToProductOutput() ProductOutput

func (ProductOutput) ToProductOutputWithContext added in v4.2.0

func (o ProductOutput) ToProductOutputWithContext(ctx context.Context) ProductOutput

func (ProductOutput) ToProductPtrOutput added in v4.2.0

func (o ProductOutput) ToProductPtrOutput() ProductPtrOutput

func (ProductOutput) ToProductPtrOutputWithContext added in v4.2.0

func (o ProductOutput) ToProductPtrOutputWithContext(ctx context.Context) ProductPtrOutput

type ProductPortfolioAssociation added in v4.6.0

type ProductPortfolioAssociation struct {
	pulumi.CustomResourceState

	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage pulumi.StringPtrOutput `pulumi:"acceptLanguage"`
	// Portfolio identifier.
	PortfolioId pulumi.StringOutput `pulumi:"portfolioId"`
	// Product identifier.
	ProductId pulumi.StringOutput `pulumi:"productId"`
	// Identifier of the source portfolio.
	SourcePortfolioId pulumi.StringPtrOutput `pulumi:"sourcePortfolioId"`
}

Manages a Service Catalog Product Portfolio Association.

## Example Usage ### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/servicecatalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicecatalog.NewProductPortfolioAssociation(ctx, "example", &servicecatalog.ProductPortfolioAssociationArgs{
			PortfolioId: pulumi.String("port-68656c6c6f"),
			ProductId:   pulumi.String("prod-dnigbtea24ste"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_servicecatalog_product_portfolio_association` can be imported using the accept language, portfolio ID, and product ID, e.g.

```sh

$ pulumi import aws:servicecatalog/productPortfolioAssociation:ProductPortfolioAssociation example en:port-68656c6c6f:prod-dnigbtea24ste

```

func GetProductPortfolioAssociation added in v4.6.0

func GetProductPortfolioAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProductPortfolioAssociationState, opts ...pulumi.ResourceOption) (*ProductPortfolioAssociation, error)

GetProductPortfolioAssociation gets an existing ProductPortfolioAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProductPortfolioAssociation added in v4.6.0

func NewProductPortfolioAssociation(ctx *pulumi.Context,
	name string, args *ProductPortfolioAssociationArgs, opts ...pulumi.ResourceOption) (*ProductPortfolioAssociation, error)

NewProductPortfolioAssociation registers a new resource with the given unique name, arguments, and options.

func (*ProductPortfolioAssociation) ElementType added in v4.6.0

func (*ProductPortfolioAssociation) ElementType() reflect.Type

func (*ProductPortfolioAssociation) ToProductPortfolioAssociationOutput added in v4.6.0

func (i *ProductPortfolioAssociation) ToProductPortfolioAssociationOutput() ProductPortfolioAssociationOutput

func (*ProductPortfolioAssociation) ToProductPortfolioAssociationOutputWithContext added in v4.6.0

func (i *ProductPortfolioAssociation) ToProductPortfolioAssociationOutputWithContext(ctx context.Context) ProductPortfolioAssociationOutput

func (*ProductPortfolioAssociation) ToProductPortfolioAssociationPtrOutput added in v4.6.0

func (i *ProductPortfolioAssociation) ToProductPortfolioAssociationPtrOutput() ProductPortfolioAssociationPtrOutput

func (*ProductPortfolioAssociation) ToProductPortfolioAssociationPtrOutputWithContext added in v4.6.0

func (i *ProductPortfolioAssociation) ToProductPortfolioAssociationPtrOutputWithContext(ctx context.Context) ProductPortfolioAssociationPtrOutput

type ProductPortfolioAssociationArgs added in v4.6.0

type ProductPortfolioAssociationArgs struct {
	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage pulumi.StringPtrInput
	// Portfolio identifier.
	PortfolioId pulumi.StringInput
	// Product identifier.
	ProductId pulumi.StringInput
	// Identifier of the source portfolio.
	SourcePortfolioId pulumi.StringPtrInput
}

The set of arguments for constructing a ProductPortfolioAssociation resource.

func (ProductPortfolioAssociationArgs) ElementType added in v4.6.0

type ProductPortfolioAssociationArray added in v4.6.0

type ProductPortfolioAssociationArray []ProductPortfolioAssociationInput

func (ProductPortfolioAssociationArray) ElementType added in v4.6.0

func (ProductPortfolioAssociationArray) ToProductPortfolioAssociationArrayOutput added in v4.6.0

func (i ProductPortfolioAssociationArray) ToProductPortfolioAssociationArrayOutput() ProductPortfolioAssociationArrayOutput

func (ProductPortfolioAssociationArray) ToProductPortfolioAssociationArrayOutputWithContext added in v4.6.0

func (i ProductPortfolioAssociationArray) ToProductPortfolioAssociationArrayOutputWithContext(ctx context.Context) ProductPortfolioAssociationArrayOutput

type ProductPortfolioAssociationArrayInput added in v4.6.0

type ProductPortfolioAssociationArrayInput interface {
	pulumi.Input

	ToProductPortfolioAssociationArrayOutput() ProductPortfolioAssociationArrayOutput
	ToProductPortfolioAssociationArrayOutputWithContext(context.Context) ProductPortfolioAssociationArrayOutput
}

ProductPortfolioAssociationArrayInput is an input type that accepts ProductPortfolioAssociationArray and ProductPortfolioAssociationArrayOutput values. You can construct a concrete instance of `ProductPortfolioAssociationArrayInput` via:

ProductPortfolioAssociationArray{ ProductPortfolioAssociationArgs{...} }

type ProductPortfolioAssociationArrayOutput added in v4.6.0

type ProductPortfolioAssociationArrayOutput struct{ *pulumi.OutputState }

func (ProductPortfolioAssociationArrayOutput) ElementType added in v4.6.0

func (ProductPortfolioAssociationArrayOutput) Index added in v4.6.0

func (ProductPortfolioAssociationArrayOutput) ToProductPortfolioAssociationArrayOutput added in v4.6.0

func (o ProductPortfolioAssociationArrayOutput) ToProductPortfolioAssociationArrayOutput() ProductPortfolioAssociationArrayOutput

func (ProductPortfolioAssociationArrayOutput) ToProductPortfolioAssociationArrayOutputWithContext added in v4.6.0

func (o ProductPortfolioAssociationArrayOutput) ToProductPortfolioAssociationArrayOutputWithContext(ctx context.Context) ProductPortfolioAssociationArrayOutput

type ProductPortfolioAssociationInput added in v4.6.0

type ProductPortfolioAssociationInput interface {
	pulumi.Input

	ToProductPortfolioAssociationOutput() ProductPortfolioAssociationOutput
	ToProductPortfolioAssociationOutputWithContext(ctx context.Context) ProductPortfolioAssociationOutput
}

type ProductPortfolioAssociationMap added in v4.6.0

type ProductPortfolioAssociationMap map[string]ProductPortfolioAssociationInput

func (ProductPortfolioAssociationMap) ElementType added in v4.6.0

func (ProductPortfolioAssociationMap) ToProductPortfolioAssociationMapOutput added in v4.6.0

func (i ProductPortfolioAssociationMap) ToProductPortfolioAssociationMapOutput() ProductPortfolioAssociationMapOutput

func (ProductPortfolioAssociationMap) ToProductPortfolioAssociationMapOutputWithContext added in v4.6.0

func (i ProductPortfolioAssociationMap) ToProductPortfolioAssociationMapOutputWithContext(ctx context.Context) ProductPortfolioAssociationMapOutput

type ProductPortfolioAssociationMapInput added in v4.6.0

type ProductPortfolioAssociationMapInput interface {
	pulumi.Input

	ToProductPortfolioAssociationMapOutput() ProductPortfolioAssociationMapOutput
	ToProductPortfolioAssociationMapOutputWithContext(context.Context) ProductPortfolioAssociationMapOutput
}

ProductPortfolioAssociationMapInput is an input type that accepts ProductPortfolioAssociationMap and ProductPortfolioAssociationMapOutput values. You can construct a concrete instance of `ProductPortfolioAssociationMapInput` via:

ProductPortfolioAssociationMap{ "key": ProductPortfolioAssociationArgs{...} }

type ProductPortfolioAssociationMapOutput added in v4.6.0

type ProductPortfolioAssociationMapOutput struct{ *pulumi.OutputState }

func (ProductPortfolioAssociationMapOutput) ElementType added in v4.6.0

func (ProductPortfolioAssociationMapOutput) MapIndex added in v4.6.0

func (ProductPortfolioAssociationMapOutput) ToProductPortfolioAssociationMapOutput added in v4.6.0

func (o ProductPortfolioAssociationMapOutput) ToProductPortfolioAssociationMapOutput() ProductPortfolioAssociationMapOutput

func (ProductPortfolioAssociationMapOutput) ToProductPortfolioAssociationMapOutputWithContext added in v4.6.0

func (o ProductPortfolioAssociationMapOutput) ToProductPortfolioAssociationMapOutputWithContext(ctx context.Context) ProductPortfolioAssociationMapOutput

type ProductPortfolioAssociationOutput added in v4.6.0

type ProductPortfolioAssociationOutput struct{ *pulumi.OutputState }

func (ProductPortfolioAssociationOutput) ElementType added in v4.6.0

func (ProductPortfolioAssociationOutput) ToProductPortfolioAssociationOutput added in v4.6.0

func (o ProductPortfolioAssociationOutput) ToProductPortfolioAssociationOutput() ProductPortfolioAssociationOutput

func (ProductPortfolioAssociationOutput) ToProductPortfolioAssociationOutputWithContext added in v4.6.0

func (o ProductPortfolioAssociationOutput) ToProductPortfolioAssociationOutputWithContext(ctx context.Context) ProductPortfolioAssociationOutput

func (ProductPortfolioAssociationOutput) ToProductPortfolioAssociationPtrOutput added in v4.6.0

func (o ProductPortfolioAssociationOutput) ToProductPortfolioAssociationPtrOutput() ProductPortfolioAssociationPtrOutput

func (ProductPortfolioAssociationOutput) ToProductPortfolioAssociationPtrOutputWithContext added in v4.6.0

func (o ProductPortfolioAssociationOutput) ToProductPortfolioAssociationPtrOutputWithContext(ctx context.Context) ProductPortfolioAssociationPtrOutput

type ProductPortfolioAssociationPtrInput added in v4.6.0

type ProductPortfolioAssociationPtrInput interface {
	pulumi.Input

	ToProductPortfolioAssociationPtrOutput() ProductPortfolioAssociationPtrOutput
	ToProductPortfolioAssociationPtrOutputWithContext(ctx context.Context) ProductPortfolioAssociationPtrOutput
}

type ProductPortfolioAssociationPtrOutput added in v4.6.0

type ProductPortfolioAssociationPtrOutput struct{ *pulumi.OutputState }

func (ProductPortfolioAssociationPtrOutput) Elem added in v4.15.0

func (ProductPortfolioAssociationPtrOutput) ElementType added in v4.6.0

func (ProductPortfolioAssociationPtrOutput) ToProductPortfolioAssociationPtrOutput added in v4.6.0

func (o ProductPortfolioAssociationPtrOutput) ToProductPortfolioAssociationPtrOutput() ProductPortfolioAssociationPtrOutput

func (ProductPortfolioAssociationPtrOutput) ToProductPortfolioAssociationPtrOutputWithContext added in v4.6.0

func (o ProductPortfolioAssociationPtrOutput) ToProductPortfolioAssociationPtrOutputWithContext(ctx context.Context) ProductPortfolioAssociationPtrOutput

type ProductPortfolioAssociationState added in v4.6.0

type ProductPortfolioAssociationState struct {
	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage pulumi.StringPtrInput
	// Portfolio identifier.
	PortfolioId pulumi.StringPtrInput
	// Product identifier.
	ProductId pulumi.StringPtrInput
	// Identifier of the source portfolio.
	SourcePortfolioId pulumi.StringPtrInput
}

func (ProductPortfolioAssociationState) ElementType added in v4.6.0

type ProductProvisioningArtifactParameters added in v4.2.0

type ProductProvisioningArtifactParameters struct {
	// Description of the provisioning artifact (i.e., version), including how it differs from the previous provisioning artifact.
	Description *string `pulumi:"description"`
	// Whether AWS Service Catalog stops validating the specified provisioning artifact template even if it is invalid.
	DisableTemplateValidation *bool `pulumi:"disableTemplateValidation"`
	// Name of the provisioning artifact (for example, `v1`, `v2beta`). No spaces are allowed.
	Name *string `pulumi:"name"`
	// Template source as the physical ID of the resource that contains the template. Currently only supports CloudFormation stack ARN. Specify the physical ID as `arn:[partition]:cloudformation:[region]:[account ID]:stack/[stack name]/[resource ID]`.
	TemplatePhysicalId *string `pulumi:"templatePhysicalId"`
	// Template source as URL of the CloudFormation template in Amazon S3.
	TemplateUrl *string `pulumi:"templateUrl"`
	// Type of provisioning artifact. Valid values: `CLOUD_FORMATION_TEMPLATE`, `MARKETPLACE_AMI`, `MARKETPLACE_CAR` (Marketplace Clusters and AWS Resources).
	Type *string `pulumi:"type"`
}

type ProductProvisioningArtifactParametersArgs added in v4.2.0

type ProductProvisioningArtifactParametersArgs struct {
	// Description of the provisioning artifact (i.e., version), including how it differs from the previous provisioning artifact.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Whether AWS Service Catalog stops validating the specified provisioning artifact template even if it is invalid.
	DisableTemplateValidation pulumi.BoolPtrInput `pulumi:"disableTemplateValidation"`
	// Name of the provisioning artifact (for example, `v1`, `v2beta`). No spaces are allowed.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Template source as the physical ID of the resource that contains the template. Currently only supports CloudFormation stack ARN. Specify the physical ID as `arn:[partition]:cloudformation:[region]:[account ID]:stack/[stack name]/[resource ID]`.
	TemplatePhysicalId pulumi.StringPtrInput `pulumi:"templatePhysicalId"`
	// Template source as URL of the CloudFormation template in Amazon S3.
	TemplateUrl pulumi.StringPtrInput `pulumi:"templateUrl"`
	// Type of provisioning artifact. Valid values: `CLOUD_FORMATION_TEMPLATE`, `MARKETPLACE_AMI`, `MARKETPLACE_CAR` (Marketplace Clusters and AWS Resources).
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ProductProvisioningArtifactParametersArgs) ElementType added in v4.2.0

func (ProductProvisioningArtifactParametersArgs) ToProductProvisioningArtifactParametersOutput added in v4.2.0

func (i ProductProvisioningArtifactParametersArgs) ToProductProvisioningArtifactParametersOutput() ProductProvisioningArtifactParametersOutput

func (ProductProvisioningArtifactParametersArgs) ToProductProvisioningArtifactParametersOutputWithContext added in v4.2.0

func (i ProductProvisioningArtifactParametersArgs) ToProductProvisioningArtifactParametersOutputWithContext(ctx context.Context) ProductProvisioningArtifactParametersOutput

func (ProductProvisioningArtifactParametersArgs) ToProductProvisioningArtifactParametersPtrOutput added in v4.2.0

func (i ProductProvisioningArtifactParametersArgs) ToProductProvisioningArtifactParametersPtrOutput() ProductProvisioningArtifactParametersPtrOutput

func (ProductProvisioningArtifactParametersArgs) ToProductProvisioningArtifactParametersPtrOutputWithContext added in v4.2.0

func (i ProductProvisioningArtifactParametersArgs) ToProductProvisioningArtifactParametersPtrOutputWithContext(ctx context.Context) ProductProvisioningArtifactParametersPtrOutput

type ProductProvisioningArtifactParametersInput added in v4.2.0

type ProductProvisioningArtifactParametersInput interface {
	pulumi.Input

	ToProductProvisioningArtifactParametersOutput() ProductProvisioningArtifactParametersOutput
	ToProductProvisioningArtifactParametersOutputWithContext(context.Context) ProductProvisioningArtifactParametersOutput
}

ProductProvisioningArtifactParametersInput is an input type that accepts ProductProvisioningArtifactParametersArgs and ProductProvisioningArtifactParametersOutput values. You can construct a concrete instance of `ProductProvisioningArtifactParametersInput` via:

ProductProvisioningArtifactParametersArgs{...}

type ProductProvisioningArtifactParametersOutput added in v4.2.0

type ProductProvisioningArtifactParametersOutput struct{ *pulumi.OutputState }

func (ProductProvisioningArtifactParametersOutput) Description added in v4.2.0

Description of the provisioning artifact (i.e., version), including how it differs from the previous provisioning artifact.

func (ProductProvisioningArtifactParametersOutput) DisableTemplateValidation added in v4.2.0

Whether AWS Service Catalog stops validating the specified provisioning artifact template even if it is invalid.

func (ProductProvisioningArtifactParametersOutput) ElementType added in v4.2.0

func (ProductProvisioningArtifactParametersOutput) Name added in v4.2.0

Name of the provisioning artifact (for example, `v1`, `v2beta`). No spaces are allowed.

func (ProductProvisioningArtifactParametersOutput) TemplatePhysicalId added in v4.2.0

Template source as the physical ID of the resource that contains the template. Currently only supports CloudFormation stack ARN. Specify the physical ID as `arn:[partition]:cloudformation:[region]:[account ID]:stack/[stack name]/[resource ID]`.

func (ProductProvisioningArtifactParametersOutput) TemplateUrl added in v4.2.0

Template source as URL of the CloudFormation template in Amazon S3.

func (ProductProvisioningArtifactParametersOutput) ToProductProvisioningArtifactParametersOutput added in v4.2.0

func (o ProductProvisioningArtifactParametersOutput) ToProductProvisioningArtifactParametersOutput() ProductProvisioningArtifactParametersOutput

func (ProductProvisioningArtifactParametersOutput) ToProductProvisioningArtifactParametersOutputWithContext added in v4.2.0

func (o ProductProvisioningArtifactParametersOutput) ToProductProvisioningArtifactParametersOutputWithContext(ctx context.Context) ProductProvisioningArtifactParametersOutput

func (ProductProvisioningArtifactParametersOutput) ToProductProvisioningArtifactParametersPtrOutput added in v4.2.0

func (o ProductProvisioningArtifactParametersOutput) ToProductProvisioningArtifactParametersPtrOutput() ProductProvisioningArtifactParametersPtrOutput

func (ProductProvisioningArtifactParametersOutput) ToProductProvisioningArtifactParametersPtrOutputWithContext added in v4.2.0

func (o ProductProvisioningArtifactParametersOutput) ToProductProvisioningArtifactParametersPtrOutputWithContext(ctx context.Context) ProductProvisioningArtifactParametersPtrOutput

func (ProductProvisioningArtifactParametersOutput) Type added in v4.2.0

Type of provisioning artifact. Valid values: `CLOUD_FORMATION_TEMPLATE`, `MARKETPLACE_AMI`, `MARKETPLACE_CAR` (Marketplace Clusters and AWS Resources).

type ProductProvisioningArtifactParametersPtrInput added in v4.2.0

type ProductProvisioningArtifactParametersPtrInput interface {
	pulumi.Input

	ToProductProvisioningArtifactParametersPtrOutput() ProductProvisioningArtifactParametersPtrOutput
	ToProductProvisioningArtifactParametersPtrOutputWithContext(context.Context) ProductProvisioningArtifactParametersPtrOutput
}

ProductProvisioningArtifactParametersPtrInput is an input type that accepts ProductProvisioningArtifactParametersArgs, ProductProvisioningArtifactParametersPtr and ProductProvisioningArtifactParametersPtrOutput values. You can construct a concrete instance of `ProductProvisioningArtifactParametersPtrInput` via:

        ProductProvisioningArtifactParametersArgs{...}

or:

        nil

type ProductProvisioningArtifactParametersPtrOutput added in v4.2.0

type ProductProvisioningArtifactParametersPtrOutput struct{ *pulumi.OutputState }

func (ProductProvisioningArtifactParametersPtrOutput) Description added in v4.2.0

Description of the provisioning artifact (i.e., version), including how it differs from the previous provisioning artifact.

func (ProductProvisioningArtifactParametersPtrOutput) DisableTemplateValidation added in v4.2.0

Whether AWS Service Catalog stops validating the specified provisioning artifact template even if it is invalid.

func (ProductProvisioningArtifactParametersPtrOutput) Elem added in v4.2.0

func (ProductProvisioningArtifactParametersPtrOutput) ElementType added in v4.2.0

func (ProductProvisioningArtifactParametersPtrOutput) Name added in v4.2.0

Name of the provisioning artifact (for example, `v1`, `v2beta`). No spaces are allowed.

func (ProductProvisioningArtifactParametersPtrOutput) TemplatePhysicalId added in v4.2.0

Template source as the physical ID of the resource that contains the template. Currently only supports CloudFormation stack ARN. Specify the physical ID as `arn:[partition]:cloudformation:[region]:[account ID]:stack/[stack name]/[resource ID]`.

func (ProductProvisioningArtifactParametersPtrOutput) TemplateUrl added in v4.2.0

Template source as URL of the CloudFormation template in Amazon S3.

func (ProductProvisioningArtifactParametersPtrOutput) ToProductProvisioningArtifactParametersPtrOutput added in v4.2.0

func (o ProductProvisioningArtifactParametersPtrOutput) ToProductProvisioningArtifactParametersPtrOutput() ProductProvisioningArtifactParametersPtrOutput

func (ProductProvisioningArtifactParametersPtrOutput) ToProductProvisioningArtifactParametersPtrOutputWithContext added in v4.2.0

func (o ProductProvisioningArtifactParametersPtrOutput) ToProductProvisioningArtifactParametersPtrOutputWithContext(ctx context.Context) ProductProvisioningArtifactParametersPtrOutput

func (ProductProvisioningArtifactParametersPtrOutput) Type added in v4.2.0

Type of provisioning artifact. Valid values: `CLOUD_FORMATION_TEMPLATE`, `MARKETPLACE_AMI`, `MARKETPLACE_CAR` (Marketplace Clusters and AWS Resources).

type ProductPtrInput added in v4.2.0

type ProductPtrInput interface {
	pulumi.Input

	ToProductPtrOutput() ProductPtrOutput
	ToProductPtrOutputWithContext(ctx context.Context) ProductPtrOutput
}

type ProductPtrOutput added in v4.2.0

type ProductPtrOutput struct{ *pulumi.OutputState }

func (ProductPtrOutput) Elem added in v4.15.0

func (ProductPtrOutput) ElementType added in v4.2.0

func (ProductPtrOutput) ElementType() reflect.Type

func (ProductPtrOutput) ToProductPtrOutput added in v4.2.0

func (o ProductPtrOutput) ToProductPtrOutput() ProductPtrOutput

func (ProductPtrOutput) ToProductPtrOutputWithContext added in v4.2.0

func (o ProductPtrOutput) ToProductPtrOutputWithContext(ctx context.Context) ProductPtrOutput

type ProductState added in v4.2.0

type ProductState struct {
	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage pulumi.StringPtrInput
	// ARN of the product.
	Arn pulumi.StringPtrInput
	// Time when the product was created.
	CreatedTime pulumi.StringPtrInput
	// Description of the provisioning artifact (i.e., version), including how it differs from the previous provisioning artifact.
	Description pulumi.StringPtrInput
	// Distributor (i.e., vendor) of the product.
	Distributor pulumi.StringPtrInput
	// Whether the product has a default path. If the product does not have a default path, call `ListLaunchPaths` to disambiguate between paths.  Otherwise, `ListLaunchPaths` is not required, and the output of ProductViewSummary can be used directly with `DescribeProvisioningParameters`.
	HasDefaultPath pulumi.BoolPtrInput
	// Name of the provisioning artifact (for example, `v1`, `v2beta`). No spaces are allowed.
	Name pulumi.StringPtrInput
	// Owner of the product.
	Owner pulumi.StringPtrInput
	// Configuration block for provisioning artifact (i.e., version) parameters. Detailed below.
	ProvisioningArtifactParameters ProductProvisioningArtifactParametersPtrInput
	// Status of the product.
	Status pulumi.StringPtrInput
	// Support information about the product.
	SupportDescription pulumi.StringPtrInput
	// Contact email for product support.
	SupportEmail pulumi.StringPtrInput
	// Contact URL for product support.
	SupportUrl pulumi.StringPtrInput
	// Tags to apply to the product. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider .
	TagsAll pulumi.StringMapInput
	// Type of provisioning artifact. Valid values: `CLOUD_FORMATION_TEMPLATE`, `MARKETPLACE_AMI`, `MARKETPLACE_CAR` (Marketplace Clusters and AWS Resources).
	Type pulumi.StringPtrInput
}

func (ProductState) ElementType added in v4.2.0

func (ProductState) ElementType() reflect.Type

type ProvisionedProduct added in v4.11.0

type ProvisionedProduct struct {
	pulumi.CustomResourceState

	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage pulumi.StringPtrOutput `pulumi:"acceptLanguage"`
	// ARN of the provisioned product.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Set of CloudWatch dashboards that were created when provisioning the product.
	CloudwatchDashboardNames pulumi.StringArrayOutput `pulumi:"cloudwatchDashboardNames"`
	// Time when the provisioned product was created.
	CreatedTime pulumi.StringOutput `pulumi:"createdTime"`
	// _Only applies to deleting._ If set to `true`, AWS Service Catalog stops managing the specified provisioned product even if it cannot delete the underlying resources. The default value is `false`.
	IgnoreErrors pulumi.BoolPtrOutput `pulumi:"ignoreErrors"`
	// Record identifier of the last request performed on this provisioned product of the following types: `ProvisionedProduct`, `UpdateProvisionedProduct`, `ExecuteProvisionedProductPlan`, `TerminateProvisionedProduct`.
	LastProvisioningRecordId pulumi.StringOutput `pulumi:"lastProvisioningRecordId"`
	// Record identifier of the last request performed on this provisioned product.
	LastRecordId pulumi.StringOutput `pulumi:"lastRecordId"`
	// Record identifier of the last successful request performed on this provisioned product of the following types: `ProvisionedProduct`, `UpdateProvisionedProduct`, `ExecuteProvisionedProductPlan`, `TerminateProvisionedProduct`.
	LastSuccessfulProvisioningRecordId pulumi.StringOutput `pulumi:"lastSuccessfulProvisioningRecordId"`
	// ARN of the launch role associated with the provisioned product.
	LaunchRoleArn pulumi.StringOutput `pulumi:"launchRoleArn"`
	// User-friendly name of the provisioned product.
	Name pulumi.StringOutput `pulumi:"name"`
	// Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events.
	NotificationArns pulumi.StringArrayOutput `pulumi:"notificationArns"`
	// Path identifier of the product. This value is optional if the product has a default path, and required if the product has more than one path. To list the paths for a product, use `servicecatalog.getLaunchPaths`. When required, you must provide `pathId` or `pathName`, but not both.
	PathId pulumi.StringOutput `pulumi:"pathId"`
	// Name of the path. You must provide `pathId` or `pathName`, but not both.
	PathName pulumi.StringPtrOutput `pulumi:"pathName"`
	// Product identifier. For example, `prod-abcdzk7xy33qa`. You must provide `productId` or `productName`, but not both.
	ProductId pulumi.StringOutput `pulumi:"productId"`
	// Name of the product. You must provide `productId` or `productName`, but not both.
	ProductName pulumi.StringPtrOutput `pulumi:"productName"`
	// Identifier of the provisioning artifact. For example, `pa-4abcdjnxjj6ne`. You must provide the `provisioningArtifactId` or `provisioningArtifactName`, but not both.
	ProvisioningArtifactId pulumi.StringOutput `pulumi:"provisioningArtifactId"`
	// Name of the provisioning artifact. You must provide the `provisioningArtifactId` or `provisioningArtifactName`, but not both.
	ProvisioningArtifactName pulumi.StringPtrOutput `pulumi:"provisioningArtifactName"`
	// Configuration block with parameters specified by the administrator that are required for provisioning the product. See details below.
	ProvisioningParameters ProvisionedProductProvisioningParameterArrayOutput `pulumi:"provisioningParameters"`
	// _Only applies to deleting._ Whether to delete the Service Catalog provisioned product but leave the CloudFormation stack, stack set, or the underlying resources of the deleted provisioned product. The default value is `false`.
	RetainPhysicalResources pulumi.BoolPtrOutput `pulumi:"retainPhysicalResources"`
	// Configuration block with information about the provisioning preferences for a stack set. See details below.
	StackSetProvisioningPreferences ProvisionedProductStackSetProvisioningPreferencesPtrOutput `pulumi:"stackSetProvisioningPreferences"`
	// Current status of the provisioned product. See meanings below.
	Status pulumi.StringOutput `pulumi:"status"`
	// Current status message of the provisioned product.
	StatusMessage pulumi.StringOutput `pulumi:"statusMessage"`
	// Tags to apply to the provisioned product. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Type of provisioned product. Valid values are `CFN_STACK` and `CFN_STACKSET`.
	Type pulumi.StringOutput `pulumi:"type"`
}

This resource provisions and manages a Service Catalog provisioned product.

A provisioned product is a resourced instance of a product. For example, provisioning a product based on a CloudFormation template launches a CloudFormation stack and its underlying resources.

Like this resource, the `awsServicecatalogRecord` data source also provides information about a provisioned product. Although a Service Catalog record provides some overlapping information with this resource, a record is tied to a provisioned product event, such as provisioning, termination, and updating.

> **Tip:** If you include conflicted keys as tags, AWS will report an error, "Parameter validation failed: Missing required parameter in Tags[N]:Value".

> **Tip:** A "provisioning artifact" is also referred to as a "version." A "distributor" is also referred to as a "vendor."

## Example Usage

## Import

`aws_servicecatalog_provisioned_product` can be imported using the provisioned product ID, e.g.

```sh

$ pulumi import aws:servicecatalog/provisionedProduct:ProvisionedProduct example pp-dnigbtea24ste

```

func GetProvisionedProduct added in v4.11.0

func GetProvisionedProduct(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProvisionedProductState, opts ...pulumi.ResourceOption) (*ProvisionedProduct, error)

GetProvisionedProduct gets an existing ProvisionedProduct resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProvisionedProduct added in v4.11.0

func NewProvisionedProduct(ctx *pulumi.Context,
	name string, args *ProvisionedProductArgs, opts ...pulumi.ResourceOption) (*ProvisionedProduct, error)

NewProvisionedProduct registers a new resource with the given unique name, arguments, and options.

func (*ProvisionedProduct) ElementType added in v4.11.0

func (*ProvisionedProduct) ElementType() reflect.Type

func (*ProvisionedProduct) ToProvisionedProductOutput added in v4.11.0

func (i *ProvisionedProduct) ToProvisionedProductOutput() ProvisionedProductOutput

func (*ProvisionedProduct) ToProvisionedProductOutputWithContext added in v4.11.0

func (i *ProvisionedProduct) ToProvisionedProductOutputWithContext(ctx context.Context) ProvisionedProductOutput

func (*ProvisionedProduct) ToProvisionedProductPtrOutput added in v4.11.0

func (i *ProvisionedProduct) ToProvisionedProductPtrOutput() ProvisionedProductPtrOutput

func (*ProvisionedProduct) ToProvisionedProductPtrOutputWithContext added in v4.11.0

func (i *ProvisionedProduct) ToProvisionedProductPtrOutputWithContext(ctx context.Context) ProvisionedProductPtrOutput

type ProvisionedProductArgs added in v4.11.0

type ProvisionedProductArgs struct {
	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage pulumi.StringPtrInput
	// _Only applies to deleting._ If set to `true`, AWS Service Catalog stops managing the specified provisioned product even if it cannot delete the underlying resources. The default value is `false`.
	IgnoreErrors pulumi.BoolPtrInput
	// User-friendly name of the provisioned product.
	Name pulumi.StringPtrInput
	// Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events.
	NotificationArns pulumi.StringArrayInput
	// Path identifier of the product. This value is optional if the product has a default path, and required if the product has more than one path. To list the paths for a product, use `servicecatalog.getLaunchPaths`. When required, you must provide `pathId` or `pathName`, but not both.
	PathId pulumi.StringPtrInput
	// Name of the path. You must provide `pathId` or `pathName`, but not both.
	PathName pulumi.StringPtrInput
	// Product identifier. For example, `prod-abcdzk7xy33qa`. You must provide `productId` or `productName`, but not both.
	ProductId pulumi.StringPtrInput
	// Name of the product. You must provide `productId` or `productName`, but not both.
	ProductName pulumi.StringPtrInput
	// Identifier of the provisioning artifact. For example, `pa-4abcdjnxjj6ne`. You must provide the `provisioningArtifactId` or `provisioningArtifactName`, but not both.
	ProvisioningArtifactId pulumi.StringPtrInput
	// Name of the provisioning artifact. You must provide the `provisioningArtifactId` or `provisioningArtifactName`, but not both.
	ProvisioningArtifactName pulumi.StringPtrInput
	// Configuration block with parameters specified by the administrator that are required for provisioning the product. See details below.
	ProvisioningParameters ProvisionedProductProvisioningParameterArrayInput
	// _Only applies to deleting._ Whether to delete the Service Catalog provisioned product but leave the CloudFormation stack, stack set, or the underlying resources of the deleted provisioned product. The default value is `false`.
	RetainPhysicalResources pulumi.BoolPtrInput
	// Configuration block with information about the provisioning preferences for a stack set. See details below.
	StackSetProvisioningPreferences ProvisionedProductStackSetProvisioningPreferencesPtrInput
	// Tags to apply to the provisioned product. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
}

The set of arguments for constructing a ProvisionedProduct resource.

func (ProvisionedProductArgs) ElementType added in v4.11.0

func (ProvisionedProductArgs) ElementType() reflect.Type

type ProvisionedProductArray added in v4.11.0

type ProvisionedProductArray []ProvisionedProductInput

func (ProvisionedProductArray) ElementType added in v4.11.0

func (ProvisionedProductArray) ElementType() reflect.Type

func (ProvisionedProductArray) ToProvisionedProductArrayOutput added in v4.11.0

func (i ProvisionedProductArray) ToProvisionedProductArrayOutput() ProvisionedProductArrayOutput

func (ProvisionedProductArray) ToProvisionedProductArrayOutputWithContext added in v4.11.0

func (i ProvisionedProductArray) ToProvisionedProductArrayOutputWithContext(ctx context.Context) ProvisionedProductArrayOutput

type ProvisionedProductArrayInput added in v4.11.0

type ProvisionedProductArrayInput interface {
	pulumi.Input

	ToProvisionedProductArrayOutput() ProvisionedProductArrayOutput
	ToProvisionedProductArrayOutputWithContext(context.Context) ProvisionedProductArrayOutput
}

ProvisionedProductArrayInput is an input type that accepts ProvisionedProductArray and ProvisionedProductArrayOutput values. You can construct a concrete instance of `ProvisionedProductArrayInput` via:

ProvisionedProductArray{ ProvisionedProductArgs{...} }

type ProvisionedProductArrayOutput added in v4.11.0

type ProvisionedProductArrayOutput struct{ *pulumi.OutputState }

func (ProvisionedProductArrayOutput) ElementType added in v4.11.0

func (ProvisionedProductArrayOutput) Index added in v4.11.0

func (ProvisionedProductArrayOutput) ToProvisionedProductArrayOutput added in v4.11.0

func (o ProvisionedProductArrayOutput) ToProvisionedProductArrayOutput() ProvisionedProductArrayOutput

func (ProvisionedProductArrayOutput) ToProvisionedProductArrayOutputWithContext added in v4.11.0

func (o ProvisionedProductArrayOutput) ToProvisionedProductArrayOutputWithContext(ctx context.Context) ProvisionedProductArrayOutput

type ProvisionedProductInput added in v4.11.0

type ProvisionedProductInput interface {
	pulumi.Input

	ToProvisionedProductOutput() ProvisionedProductOutput
	ToProvisionedProductOutputWithContext(ctx context.Context) ProvisionedProductOutput
}

type ProvisionedProductMap added in v4.11.0

type ProvisionedProductMap map[string]ProvisionedProductInput

func (ProvisionedProductMap) ElementType added in v4.11.0

func (ProvisionedProductMap) ElementType() reflect.Type

func (ProvisionedProductMap) ToProvisionedProductMapOutput added in v4.11.0

func (i ProvisionedProductMap) ToProvisionedProductMapOutput() ProvisionedProductMapOutput

func (ProvisionedProductMap) ToProvisionedProductMapOutputWithContext added in v4.11.0

func (i ProvisionedProductMap) ToProvisionedProductMapOutputWithContext(ctx context.Context) ProvisionedProductMapOutput

type ProvisionedProductMapInput added in v4.11.0

type ProvisionedProductMapInput interface {
	pulumi.Input

	ToProvisionedProductMapOutput() ProvisionedProductMapOutput
	ToProvisionedProductMapOutputWithContext(context.Context) ProvisionedProductMapOutput
}

ProvisionedProductMapInput is an input type that accepts ProvisionedProductMap and ProvisionedProductMapOutput values. You can construct a concrete instance of `ProvisionedProductMapInput` via:

ProvisionedProductMap{ "key": ProvisionedProductArgs{...} }

type ProvisionedProductMapOutput added in v4.11.0

type ProvisionedProductMapOutput struct{ *pulumi.OutputState }

func (ProvisionedProductMapOutput) ElementType added in v4.11.0

func (ProvisionedProductMapOutput) MapIndex added in v4.11.0

func (ProvisionedProductMapOutput) ToProvisionedProductMapOutput added in v4.11.0

func (o ProvisionedProductMapOutput) ToProvisionedProductMapOutput() ProvisionedProductMapOutput

func (ProvisionedProductMapOutput) ToProvisionedProductMapOutputWithContext added in v4.11.0

func (o ProvisionedProductMapOutput) ToProvisionedProductMapOutputWithContext(ctx context.Context) ProvisionedProductMapOutput

type ProvisionedProductOutput added in v4.11.0

type ProvisionedProductOutput struct{ *pulumi.OutputState }

func (ProvisionedProductOutput) ElementType added in v4.11.0

func (ProvisionedProductOutput) ElementType() reflect.Type

func (ProvisionedProductOutput) ToProvisionedProductOutput added in v4.11.0

func (o ProvisionedProductOutput) ToProvisionedProductOutput() ProvisionedProductOutput

func (ProvisionedProductOutput) ToProvisionedProductOutputWithContext added in v4.11.0

func (o ProvisionedProductOutput) ToProvisionedProductOutputWithContext(ctx context.Context) ProvisionedProductOutput

func (ProvisionedProductOutput) ToProvisionedProductPtrOutput added in v4.11.0

func (o ProvisionedProductOutput) ToProvisionedProductPtrOutput() ProvisionedProductPtrOutput

func (ProvisionedProductOutput) ToProvisionedProductPtrOutputWithContext added in v4.11.0

func (o ProvisionedProductOutput) ToProvisionedProductPtrOutputWithContext(ctx context.Context) ProvisionedProductPtrOutput

type ProvisionedProductProvisioningParameter added in v4.11.0

type ProvisionedProductProvisioningParameter struct {
	// Parameter key.
	Key string `pulumi:"key"`
	// Whether to ignore `value` and keep the previous parameter value. Ignored when initially provisioning a product.
	UsePreviousValue *bool `pulumi:"usePreviousValue"`
	// Parameter value.
	Value *string `pulumi:"value"`
}

type ProvisionedProductProvisioningParameterArgs added in v4.11.0

type ProvisionedProductProvisioningParameterArgs struct {
	// Parameter key.
	Key pulumi.StringInput `pulumi:"key"`
	// Whether to ignore `value` and keep the previous parameter value. Ignored when initially provisioning a product.
	UsePreviousValue pulumi.BoolPtrInput `pulumi:"usePreviousValue"`
	// Parameter value.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ProvisionedProductProvisioningParameterArgs) ElementType added in v4.11.0

func (ProvisionedProductProvisioningParameterArgs) ToProvisionedProductProvisioningParameterOutput added in v4.11.0

func (i ProvisionedProductProvisioningParameterArgs) ToProvisionedProductProvisioningParameterOutput() ProvisionedProductProvisioningParameterOutput

func (ProvisionedProductProvisioningParameterArgs) ToProvisionedProductProvisioningParameterOutputWithContext added in v4.11.0

func (i ProvisionedProductProvisioningParameterArgs) ToProvisionedProductProvisioningParameterOutputWithContext(ctx context.Context) ProvisionedProductProvisioningParameterOutput

type ProvisionedProductProvisioningParameterArray added in v4.11.0

type ProvisionedProductProvisioningParameterArray []ProvisionedProductProvisioningParameterInput

func (ProvisionedProductProvisioningParameterArray) ElementType added in v4.11.0

func (ProvisionedProductProvisioningParameterArray) ToProvisionedProductProvisioningParameterArrayOutput added in v4.11.0

func (i ProvisionedProductProvisioningParameterArray) ToProvisionedProductProvisioningParameterArrayOutput() ProvisionedProductProvisioningParameterArrayOutput

func (ProvisionedProductProvisioningParameterArray) ToProvisionedProductProvisioningParameterArrayOutputWithContext added in v4.11.0

func (i ProvisionedProductProvisioningParameterArray) ToProvisionedProductProvisioningParameterArrayOutputWithContext(ctx context.Context) ProvisionedProductProvisioningParameterArrayOutput

type ProvisionedProductProvisioningParameterArrayInput added in v4.11.0

type ProvisionedProductProvisioningParameterArrayInput interface {
	pulumi.Input

	ToProvisionedProductProvisioningParameterArrayOutput() ProvisionedProductProvisioningParameterArrayOutput
	ToProvisionedProductProvisioningParameterArrayOutputWithContext(context.Context) ProvisionedProductProvisioningParameterArrayOutput
}

ProvisionedProductProvisioningParameterArrayInput is an input type that accepts ProvisionedProductProvisioningParameterArray and ProvisionedProductProvisioningParameterArrayOutput values. You can construct a concrete instance of `ProvisionedProductProvisioningParameterArrayInput` via:

ProvisionedProductProvisioningParameterArray{ ProvisionedProductProvisioningParameterArgs{...} }

type ProvisionedProductProvisioningParameterArrayOutput added in v4.11.0

type ProvisionedProductProvisioningParameterArrayOutput struct{ *pulumi.OutputState }

func (ProvisionedProductProvisioningParameterArrayOutput) ElementType added in v4.11.0

func (ProvisionedProductProvisioningParameterArrayOutput) Index added in v4.11.0

func (ProvisionedProductProvisioningParameterArrayOutput) ToProvisionedProductProvisioningParameterArrayOutput added in v4.11.0

func (o ProvisionedProductProvisioningParameterArrayOutput) ToProvisionedProductProvisioningParameterArrayOutput() ProvisionedProductProvisioningParameterArrayOutput

func (ProvisionedProductProvisioningParameterArrayOutput) ToProvisionedProductProvisioningParameterArrayOutputWithContext added in v4.11.0

func (o ProvisionedProductProvisioningParameterArrayOutput) ToProvisionedProductProvisioningParameterArrayOutputWithContext(ctx context.Context) ProvisionedProductProvisioningParameterArrayOutput

type ProvisionedProductProvisioningParameterInput added in v4.11.0

type ProvisionedProductProvisioningParameterInput interface {
	pulumi.Input

	ToProvisionedProductProvisioningParameterOutput() ProvisionedProductProvisioningParameterOutput
	ToProvisionedProductProvisioningParameterOutputWithContext(context.Context) ProvisionedProductProvisioningParameterOutput
}

ProvisionedProductProvisioningParameterInput is an input type that accepts ProvisionedProductProvisioningParameterArgs and ProvisionedProductProvisioningParameterOutput values. You can construct a concrete instance of `ProvisionedProductProvisioningParameterInput` via:

ProvisionedProductProvisioningParameterArgs{...}

type ProvisionedProductProvisioningParameterOutput added in v4.11.0

type ProvisionedProductProvisioningParameterOutput struct{ *pulumi.OutputState }

func (ProvisionedProductProvisioningParameterOutput) ElementType added in v4.11.0

func (ProvisionedProductProvisioningParameterOutput) Key added in v4.11.0

Parameter key.

func (ProvisionedProductProvisioningParameterOutput) ToProvisionedProductProvisioningParameterOutput added in v4.11.0

func (o ProvisionedProductProvisioningParameterOutput) ToProvisionedProductProvisioningParameterOutput() ProvisionedProductProvisioningParameterOutput

func (ProvisionedProductProvisioningParameterOutput) ToProvisionedProductProvisioningParameterOutputWithContext added in v4.11.0

func (o ProvisionedProductProvisioningParameterOutput) ToProvisionedProductProvisioningParameterOutputWithContext(ctx context.Context) ProvisionedProductProvisioningParameterOutput

func (ProvisionedProductProvisioningParameterOutput) UsePreviousValue added in v4.11.0

Whether to ignore `value` and keep the previous parameter value. Ignored when initially provisioning a product.

func (ProvisionedProductProvisioningParameterOutput) Value added in v4.11.0

Parameter value.

type ProvisionedProductPtrInput added in v4.11.0

type ProvisionedProductPtrInput interface {
	pulumi.Input

	ToProvisionedProductPtrOutput() ProvisionedProductPtrOutput
	ToProvisionedProductPtrOutputWithContext(ctx context.Context) ProvisionedProductPtrOutput
}

type ProvisionedProductPtrOutput added in v4.11.0

type ProvisionedProductPtrOutput struct{ *pulumi.OutputState }

func (ProvisionedProductPtrOutput) Elem added in v4.15.0

func (ProvisionedProductPtrOutput) ElementType added in v4.11.0

func (ProvisionedProductPtrOutput) ToProvisionedProductPtrOutput added in v4.11.0

func (o ProvisionedProductPtrOutput) ToProvisionedProductPtrOutput() ProvisionedProductPtrOutput

func (ProvisionedProductPtrOutput) ToProvisionedProductPtrOutputWithContext added in v4.11.0

func (o ProvisionedProductPtrOutput) ToProvisionedProductPtrOutputWithContext(ctx context.Context) ProvisionedProductPtrOutput

type ProvisionedProductStackSetProvisioningPreferences added in v4.11.0

type ProvisionedProductStackSetProvisioningPreferences struct {
	// One or more AWS accounts that will have access to the provisioned product. The AWS accounts specified should be within the list of accounts in the STACKSET constraint. To get the list of accounts in the STACKSET constraint, use the `awsServicecatalogProvisioningParameters` data source. If no values are specified, the default value is all accounts from the STACKSET constraint.
	Accounts []string `pulumi:"accounts"`
	// Number of accounts, per region, for which this operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions. You must specify either `failureToleranceCount` or `failureTolerancePercentage`, but not both. The default value is 0 if no value is specified.
	FailureToleranceCount *int `pulumi:"failureToleranceCount"`
	// Percentage of accounts, per region, for which this stack operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions. When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. You must specify either `failureToleranceCount` or `failureTolerancePercentage`, but not both.
	FailureTolerancePercentage *int `pulumi:"failureTolerancePercentage"`
	// Maximum number of accounts in which to perform this operation at one time. This is dependent on the value of `failureToleranceCount`. `maxConcurrencyCount` is at most one more than the `failureToleranceCount`. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. You must specify either `maxConcurrencyCount` or `maxConcurrencyPercentage`, but not both.
	MaxConcurrencyCount *int `pulumi:"maxConcurrencyCount"`
	// Maximum percentage of accounts in which to perform this operation at one time. When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, AWS Service Catalog sets the number as 1 instead. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. You must specify either `maxConcurrencyCount` or `maxConcurrencyPercentage`, but not both.
	MaxConcurrencyPercentage *int `pulumi:"maxConcurrencyPercentage"`
	// One or more AWS Regions where the provisioned product will be available. The specified regions should be within the list of regions from the STACKSET constraint. To get the list of regions in the STACKSET constraint, use the `awsServicecatalogProvisioningParameters` data source. If no values are specified, the default value is all regions from the STACKSET constraint.
	Regions []string `pulumi:"regions"`
}

type ProvisionedProductStackSetProvisioningPreferencesArgs added in v4.11.0

type ProvisionedProductStackSetProvisioningPreferencesArgs struct {
	// One or more AWS accounts that will have access to the provisioned product. The AWS accounts specified should be within the list of accounts in the STACKSET constraint. To get the list of accounts in the STACKSET constraint, use the `awsServicecatalogProvisioningParameters` data source. If no values are specified, the default value is all accounts from the STACKSET constraint.
	Accounts pulumi.StringArrayInput `pulumi:"accounts"`
	// Number of accounts, per region, for which this operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions. You must specify either `failureToleranceCount` or `failureTolerancePercentage`, but not both. The default value is 0 if no value is specified.
	FailureToleranceCount pulumi.IntPtrInput `pulumi:"failureToleranceCount"`
	// Percentage of accounts, per region, for which this stack operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions. When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. You must specify either `failureToleranceCount` or `failureTolerancePercentage`, but not both.
	FailureTolerancePercentage pulumi.IntPtrInput `pulumi:"failureTolerancePercentage"`
	// Maximum number of accounts in which to perform this operation at one time. This is dependent on the value of `failureToleranceCount`. `maxConcurrencyCount` is at most one more than the `failureToleranceCount`. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. You must specify either `maxConcurrencyCount` or `maxConcurrencyPercentage`, but not both.
	MaxConcurrencyCount pulumi.IntPtrInput `pulumi:"maxConcurrencyCount"`
	// Maximum percentage of accounts in which to perform this operation at one time. When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, AWS Service Catalog sets the number as 1 instead. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. You must specify either `maxConcurrencyCount` or `maxConcurrencyPercentage`, but not both.
	MaxConcurrencyPercentage pulumi.IntPtrInput `pulumi:"maxConcurrencyPercentage"`
	// One or more AWS Regions where the provisioned product will be available. The specified regions should be within the list of regions from the STACKSET constraint. To get the list of regions in the STACKSET constraint, use the `awsServicecatalogProvisioningParameters` data source. If no values are specified, the default value is all regions from the STACKSET constraint.
	Regions pulumi.StringArrayInput `pulumi:"regions"`
}

func (ProvisionedProductStackSetProvisioningPreferencesArgs) ElementType added in v4.11.0

func (ProvisionedProductStackSetProvisioningPreferencesArgs) ToProvisionedProductStackSetProvisioningPreferencesOutput added in v4.11.0

func (i ProvisionedProductStackSetProvisioningPreferencesArgs) ToProvisionedProductStackSetProvisioningPreferencesOutput() ProvisionedProductStackSetProvisioningPreferencesOutput

func (ProvisionedProductStackSetProvisioningPreferencesArgs) ToProvisionedProductStackSetProvisioningPreferencesOutputWithContext added in v4.11.0

func (i ProvisionedProductStackSetProvisioningPreferencesArgs) ToProvisionedProductStackSetProvisioningPreferencesOutputWithContext(ctx context.Context) ProvisionedProductStackSetProvisioningPreferencesOutput

func (ProvisionedProductStackSetProvisioningPreferencesArgs) ToProvisionedProductStackSetProvisioningPreferencesPtrOutput added in v4.11.0

func (i ProvisionedProductStackSetProvisioningPreferencesArgs) ToProvisionedProductStackSetProvisioningPreferencesPtrOutput() ProvisionedProductStackSetProvisioningPreferencesPtrOutput

func (ProvisionedProductStackSetProvisioningPreferencesArgs) ToProvisionedProductStackSetProvisioningPreferencesPtrOutputWithContext added in v4.11.0

func (i ProvisionedProductStackSetProvisioningPreferencesArgs) ToProvisionedProductStackSetProvisioningPreferencesPtrOutputWithContext(ctx context.Context) ProvisionedProductStackSetProvisioningPreferencesPtrOutput

type ProvisionedProductStackSetProvisioningPreferencesInput added in v4.11.0

type ProvisionedProductStackSetProvisioningPreferencesInput interface {
	pulumi.Input

	ToProvisionedProductStackSetProvisioningPreferencesOutput() ProvisionedProductStackSetProvisioningPreferencesOutput
	ToProvisionedProductStackSetProvisioningPreferencesOutputWithContext(context.Context) ProvisionedProductStackSetProvisioningPreferencesOutput
}

ProvisionedProductStackSetProvisioningPreferencesInput is an input type that accepts ProvisionedProductStackSetProvisioningPreferencesArgs and ProvisionedProductStackSetProvisioningPreferencesOutput values. You can construct a concrete instance of `ProvisionedProductStackSetProvisioningPreferencesInput` via:

ProvisionedProductStackSetProvisioningPreferencesArgs{...}

type ProvisionedProductStackSetProvisioningPreferencesOutput added in v4.11.0

type ProvisionedProductStackSetProvisioningPreferencesOutput struct{ *pulumi.OutputState }

func (ProvisionedProductStackSetProvisioningPreferencesOutput) Accounts added in v4.11.0

One or more AWS accounts that will have access to the provisioned product. The AWS accounts specified should be within the list of accounts in the STACKSET constraint. To get the list of accounts in the STACKSET constraint, use the `awsServicecatalogProvisioningParameters` data source. If no values are specified, the default value is all accounts from the STACKSET constraint.

func (ProvisionedProductStackSetProvisioningPreferencesOutput) ElementType added in v4.11.0

func (ProvisionedProductStackSetProvisioningPreferencesOutput) FailureToleranceCount added in v4.11.0

Number of accounts, per region, for which this operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions. You must specify either `failureToleranceCount` or `failureTolerancePercentage`, but not both. The default value is 0 if no value is specified.

func (ProvisionedProductStackSetProvisioningPreferencesOutput) FailureTolerancePercentage added in v4.11.0

Percentage of accounts, per region, for which this stack operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions. When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. You must specify either `failureToleranceCount` or `failureTolerancePercentage`, but not both.

func (ProvisionedProductStackSetProvisioningPreferencesOutput) MaxConcurrencyCount added in v4.11.0

Maximum number of accounts in which to perform this operation at one time. This is dependent on the value of `failureToleranceCount`. `maxConcurrencyCount` is at most one more than the `failureToleranceCount`. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. You must specify either `maxConcurrencyCount` or `maxConcurrencyPercentage`, but not both.

func (ProvisionedProductStackSetProvisioningPreferencesOutput) MaxConcurrencyPercentage added in v4.11.0

Maximum percentage of accounts in which to perform this operation at one time. When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, AWS Service Catalog sets the number as 1 instead. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. You must specify either `maxConcurrencyCount` or `maxConcurrencyPercentage`, but not both.

func (ProvisionedProductStackSetProvisioningPreferencesOutput) Regions added in v4.11.0

One or more AWS Regions where the provisioned product will be available. The specified regions should be within the list of regions from the STACKSET constraint. To get the list of regions in the STACKSET constraint, use the `awsServicecatalogProvisioningParameters` data source. If no values are specified, the default value is all regions from the STACKSET constraint.

func (ProvisionedProductStackSetProvisioningPreferencesOutput) ToProvisionedProductStackSetProvisioningPreferencesOutput added in v4.11.0

func (ProvisionedProductStackSetProvisioningPreferencesOutput) ToProvisionedProductStackSetProvisioningPreferencesOutputWithContext added in v4.11.0

func (o ProvisionedProductStackSetProvisioningPreferencesOutput) ToProvisionedProductStackSetProvisioningPreferencesOutputWithContext(ctx context.Context) ProvisionedProductStackSetProvisioningPreferencesOutput

func (ProvisionedProductStackSetProvisioningPreferencesOutput) ToProvisionedProductStackSetProvisioningPreferencesPtrOutput added in v4.11.0

func (ProvisionedProductStackSetProvisioningPreferencesOutput) ToProvisionedProductStackSetProvisioningPreferencesPtrOutputWithContext added in v4.11.0

func (o ProvisionedProductStackSetProvisioningPreferencesOutput) ToProvisionedProductStackSetProvisioningPreferencesPtrOutputWithContext(ctx context.Context) ProvisionedProductStackSetProvisioningPreferencesPtrOutput

type ProvisionedProductStackSetProvisioningPreferencesPtrInput added in v4.11.0

type ProvisionedProductStackSetProvisioningPreferencesPtrInput interface {
	pulumi.Input

	ToProvisionedProductStackSetProvisioningPreferencesPtrOutput() ProvisionedProductStackSetProvisioningPreferencesPtrOutput
	ToProvisionedProductStackSetProvisioningPreferencesPtrOutputWithContext(context.Context) ProvisionedProductStackSetProvisioningPreferencesPtrOutput
}

ProvisionedProductStackSetProvisioningPreferencesPtrInput is an input type that accepts ProvisionedProductStackSetProvisioningPreferencesArgs, ProvisionedProductStackSetProvisioningPreferencesPtr and ProvisionedProductStackSetProvisioningPreferencesPtrOutput values. You can construct a concrete instance of `ProvisionedProductStackSetProvisioningPreferencesPtrInput` via:

        ProvisionedProductStackSetProvisioningPreferencesArgs{...}

or:

        nil

type ProvisionedProductStackSetProvisioningPreferencesPtrOutput added in v4.11.0

type ProvisionedProductStackSetProvisioningPreferencesPtrOutput struct{ *pulumi.OutputState }

func (ProvisionedProductStackSetProvisioningPreferencesPtrOutput) Accounts added in v4.11.0

One or more AWS accounts that will have access to the provisioned product. The AWS accounts specified should be within the list of accounts in the STACKSET constraint. To get the list of accounts in the STACKSET constraint, use the `awsServicecatalogProvisioningParameters` data source. If no values are specified, the default value is all accounts from the STACKSET constraint.

func (ProvisionedProductStackSetProvisioningPreferencesPtrOutput) Elem added in v4.11.0

func (ProvisionedProductStackSetProvisioningPreferencesPtrOutput) ElementType added in v4.11.0

func (ProvisionedProductStackSetProvisioningPreferencesPtrOutput) FailureToleranceCount added in v4.11.0

Number of accounts, per region, for which this operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions. You must specify either `failureToleranceCount` or `failureTolerancePercentage`, but not both. The default value is 0 if no value is specified.

func (ProvisionedProductStackSetProvisioningPreferencesPtrOutput) FailureTolerancePercentage added in v4.11.0

Percentage of accounts, per region, for which this stack operation can fail before AWS Service Catalog stops the operation in that region. If the operation is stopped in a region, AWS Service Catalog doesn't attempt the operation in any subsequent regions. When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. You must specify either `failureToleranceCount` or `failureTolerancePercentage`, but not both.

func (ProvisionedProductStackSetProvisioningPreferencesPtrOutput) MaxConcurrencyCount added in v4.11.0

Maximum number of accounts in which to perform this operation at one time. This is dependent on the value of `failureToleranceCount`. `maxConcurrencyCount` is at most one more than the `failureToleranceCount`. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. You must specify either `maxConcurrencyCount` or `maxConcurrencyPercentage`, but not both.

func (ProvisionedProductStackSetProvisioningPreferencesPtrOutput) MaxConcurrencyPercentage added in v4.11.0

Maximum percentage of accounts in which to perform this operation at one time. When calculating the number of accounts based on the specified percentage, AWS Service Catalog rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, AWS Service Catalog sets the number as 1 instead. Note that this setting lets you specify the maximum for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. You must specify either `maxConcurrencyCount` or `maxConcurrencyPercentage`, but not both.

func (ProvisionedProductStackSetProvisioningPreferencesPtrOutput) Regions added in v4.11.0

One or more AWS Regions where the provisioned product will be available. The specified regions should be within the list of regions from the STACKSET constraint. To get the list of regions in the STACKSET constraint, use the `awsServicecatalogProvisioningParameters` data source. If no values are specified, the default value is all regions from the STACKSET constraint.

func (ProvisionedProductStackSetProvisioningPreferencesPtrOutput) ToProvisionedProductStackSetProvisioningPreferencesPtrOutput added in v4.11.0

func (ProvisionedProductStackSetProvisioningPreferencesPtrOutput) ToProvisionedProductStackSetProvisioningPreferencesPtrOutputWithContext added in v4.11.0

func (o ProvisionedProductStackSetProvisioningPreferencesPtrOutput) ToProvisionedProductStackSetProvisioningPreferencesPtrOutputWithContext(ctx context.Context) ProvisionedProductStackSetProvisioningPreferencesPtrOutput

type ProvisionedProductState added in v4.11.0

type ProvisionedProductState struct {
	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
	AcceptLanguage pulumi.StringPtrInput
	// ARN of the provisioned product.
	Arn pulumi.StringPtrInput
	// Set of CloudWatch dashboards that were created when provisioning the product.
	CloudwatchDashboardNames pulumi.StringArrayInput
	// Time when the provisioned product was created.
	CreatedTime pulumi.StringPtrInput
	// _Only applies to deleting._ If set to `true`, AWS Service Catalog stops managing the specified provisioned product even if it cannot delete the underlying resources. The default value is `false`.
	IgnoreErrors pulumi.BoolPtrInput
	// Record identifier of the last request performed on this provisioned product of the following types: `ProvisionedProduct`, `UpdateProvisionedProduct`, `ExecuteProvisionedProductPlan`, `TerminateProvisionedProduct`.
	LastProvisioningRecordId pulumi.StringPtrInput
	// Record identifier of the last request performed on this provisioned product.
	LastRecordId pulumi.StringPtrInput
	// Record identifier of the last successful request performed on this provisioned product of the following types: `ProvisionedProduct`, `UpdateProvisionedProduct`, `ExecuteProvisionedProductPlan`, `TerminateProvisionedProduct`.
	LastSuccessfulProvisioningRecordId pulumi.StringPtrInput
	// ARN of the launch role associated with the provisioned product.
	LaunchRoleArn pulumi.StringPtrInput
	// User-friendly name of the provisioned product.
	Name pulumi.StringPtrInput
	// Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events.
	NotificationArns pulumi.StringArrayInput
	// Path identifier of the product. This value is optional if the product has a default path, and required if the product has more than one path. To list the paths for a product, use `servicecatalog.getLaunchPaths`. When required, you must provide `pathId` or `pathName`, but not both.
	PathId pulumi.StringPtrInput
	// Name of the path. You must provide `pathId` or `pathName`, but not both.
	PathName pulumi.StringPtrInput
	// Product identifier. For example, `prod-abcdzk7xy33qa`. You must provide `productId` or `productName`, but not both.
	ProductId pulumi.StringPtrInput
	// Name of the product. You must provide `productId` or `productName`, but not both.
	ProductName pulumi.StringPtrInput
	// Identifier of the provisioning artifact. For example, `pa-4abcdjnxjj6ne`. You must provide the `provisioningArtifactId` or `provisioningArtifactName`, but not both.
	ProvisioningArtifactId pulumi.StringPtrInput
	// Name of the provisioning artifact. You must provide the `provisioningArtifactId` or `provisioningArtifactName`, but not both.
	ProvisioningArtifactName pulumi.StringPtrInput
	// Configuration block with parameters specified by the administrator that are required for provisioning the product. See details below.
	ProvisioningParameters ProvisionedProductProvisioningParameterArrayInput
	// _Only applies to deleting._ Whether to delete the Service Catalog provisioned product but leave the CloudFormation stack, stack set, or the underlying resources of the deleted provisioned product. The default value is `false`.
	RetainPhysicalResources pulumi.BoolPtrInput
	// Configuration block with information about the provisioning preferences for a stack set. See details below.
	StackSetProvisioningPreferences ProvisionedProductStackSetProvisioningPreferencesPtrInput
	// Current status of the provisioned product. See meanings below.
	Status pulumi.StringPtrInput
	// Current status message of the provisioned product.
	StatusMessage pulumi.StringPtrInput
	// Tags to apply to the provisioned product. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
	// Type of provisioned product. Valid values are `CFN_STACK` and `CFN_STACKSET`.
	Type pulumi.StringPtrInput
}

func (ProvisionedProductState) ElementType added in v4.11.0

func (ProvisionedProductState) ElementType() reflect.Type

type ProvisioningArtifact added in v4.7.0

type ProvisioningArtifact struct {
	pulumi.CustomResourceState

	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). The default value is `en`.
	AcceptLanguage pulumi.StringPtrOutput `pulumi:"acceptLanguage"`
	// Whether the product version is active. Inactive provisioning artifacts are invisible to end users. End users cannot launch or update a provisioned product from an inactive provisioning artifact. Default is `true`.
	Active pulumi.BoolPtrOutput `pulumi:"active"`
	// Time when the provisioning artifact was created.
	CreatedTime pulumi.StringOutput `pulumi:"createdTime"`
	// Description of the provisioning artifact (i.e., version), including how it differs from the previous provisioning artifact.
	Description pulumi.StringOutput `pulumi:"description"`
	// Whether AWS Service Catalog stops validating the specified provisioning artifact template even if it is invalid.
	DisableTemplateValidation pulumi.BoolPtrOutput `pulumi:"disableTemplateValidation"`
	// Information set by the administrator to provide guidance to end users about which provisioning artifacts to use. Valid values are `DEFAULT` and `DEPRECATED`. The default is `DEFAULT`. Users are able to make updates to a provisioned product of a deprecated version but cannot launch new provisioned products using a deprecated version.
	Guidance pulumi.StringPtrOutput `pulumi:"guidance"`
	// Name of the provisioning artifact (for example, `v1`, `v2beta`). No spaces are allowed.
	Name pulumi.StringOutput `pulumi:"name"`
	// Identifier of the product.
	ProductId pulumi.StringOutput `pulumi:"productId"`
	// Template source as the physical ID of the resource that contains the template. Currently only supports CloudFormation stack ARN. Specify the physical ID as `arn:[partition]:cloudformation:[region]:[account ID]:stack/[stack name]/[resource ID]`.
	TemplatePhysicalId pulumi.StringPtrOutput `pulumi:"templatePhysicalId"`
	// Template source as URL of the CloudFormation template in Amazon S3.
	TemplateUrl pulumi.StringPtrOutput `pulumi:"templateUrl"`
	// Type of provisioning artifact. Valid values: `CLOUD_FORMATION_TEMPLATE`, `MARKETPLACE_AMI`, `MARKETPLACE_CAR` (Marketplace Clusters and AWS Resources).
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

Manages a Service Catalog Provisioning Artifact for a specified product.

> A "provisioning artifact" is also referred to as a "version."

> **NOTE:** You cannot create a provisioning artifact for a product that was shared with you.

> **NOTE:** The user or role that use this resource must have the `cloudformation:GetTemplate` IAM policy permission. This policy permission is required when using the `templatePhysicalId` argument.

## Example Usage ### Basic Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/servicecatalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicecatalog.NewProvisioningArtifact(ctx, "example", &servicecatalog.ProvisioningArtifactArgs{
			ProductId:   pulumi.Any(aws_servicecatalog_product.Example.Id),
			Type:        pulumi.String("CLOUD_FORMATION_TEMPLATE"),
			TemplateUrl: pulumi.String(fmt.Sprintf("%v%v%v%v", "https://", aws_s3_bucket.Example.Bucket_regional_domain_name, "/", aws_s3_bucket_object.Example.Key)),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_servicecatalog_provisioning_artifact` can be imported using the provisioning artifact ID and product ID separated by a colon, e.g.

```sh

$ pulumi import aws:servicecatalog/provisioningArtifact:ProvisioningArtifact example pa-ij2b6lusy6dec:prod-el3an0rma3

```

func GetProvisioningArtifact added in v4.7.0

func GetProvisioningArtifact(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProvisioningArtifactState, opts ...pulumi.ResourceOption) (*ProvisioningArtifact, error)

GetProvisioningArtifact gets an existing ProvisioningArtifact resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProvisioningArtifact added in v4.7.0

func NewProvisioningArtifact(ctx *pulumi.Context,
	name string, args *ProvisioningArtifactArgs, opts ...pulumi.ResourceOption) (*ProvisioningArtifact, error)

NewProvisioningArtifact registers a new resource with the given unique name, arguments, and options.

func (*ProvisioningArtifact) ElementType added in v4.7.0

func (*ProvisioningArtifact) ElementType() reflect.Type

func (*ProvisioningArtifact) ToProvisioningArtifactOutput added in v4.7.0

func (i *ProvisioningArtifact) ToProvisioningArtifactOutput() ProvisioningArtifactOutput

func (*ProvisioningArtifact) ToProvisioningArtifactOutputWithContext added in v4.7.0

func (i *ProvisioningArtifact) ToProvisioningArtifactOutputWithContext(ctx context.Context) ProvisioningArtifactOutput

func (*ProvisioningArtifact) ToProvisioningArtifactPtrOutput added in v4.7.0

func (i *ProvisioningArtifact) ToProvisioningArtifactPtrOutput() ProvisioningArtifactPtrOutput

func (*ProvisioningArtifact) ToProvisioningArtifactPtrOutputWithContext added in v4.7.0

func (i *ProvisioningArtifact) ToProvisioningArtifactPtrOutputWithContext(ctx context.Context) ProvisioningArtifactPtrOutput

type ProvisioningArtifactArgs added in v4.7.0

type ProvisioningArtifactArgs struct {
	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). The default value is `en`.
	AcceptLanguage pulumi.StringPtrInput
	// Whether the product version is active. Inactive provisioning artifacts are invisible to end users. End users cannot launch or update a provisioned product from an inactive provisioning artifact. Default is `true`.
	Active pulumi.BoolPtrInput
	// Description of the provisioning artifact (i.e., version), including how it differs from the previous provisioning artifact.
	Description pulumi.StringPtrInput
	// Whether AWS Service Catalog stops validating the specified provisioning artifact template even if it is invalid.
	DisableTemplateValidation pulumi.BoolPtrInput
	// Information set by the administrator to provide guidance to end users about which provisioning artifacts to use. Valid values are `DEFAULT` and `DEPRECATED`. The default is `DEFAULT`. Users are able to make updates to a provisioned product of a deprecated version but cannot launch new provisioned products using a deprecated version.
	Guidance pulumi.StringPtrInput
	// Name of the provisioning artifact (for example, `v1`, `v2beta`). No spaces are allowed.
	Name pulumi.StringPtrInput
	// Identifier of the product.
	ProductId pulumi.StringInput
	// Template source as the physical ID of the resource that contains the template. Currently only supports CloudFormation stack ARN. Specify the physical ID as `arn:[partition]:cloudformation:[region]:[account ID]:stack/[stack name]/[resource ID]`.
	TemplatePhysicalId pulumi.StringPtrInput
	// Template source as URL of the CloudFormation template in Amazon S3.
	TemplateUrl pulumi.StringPtrInput
	// Type of provisioning artifact. Valid values: `CLOUD_FORMATION_TEMPLATE`, `MARKETPLACE_AMI`, `MARKETPLACE_CAR` (Marketplace Clusters and AWS Resources).
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a ProvisioningArtifact resource.

func (ProvisioningArtifactArgs) ElementType added in v4.7.0

func (ProvisioningArtifactArgs) ElementType() reflect.Type

type ProvisioningArtifactArray added in v4.7.0

type ProvisioningArtifactArray []ProvisioningArtifactInput

func (ProvisioningArtifactArray) ElementType added in v4.7.0

func (ProvisioningArtifactArray) ElementType() reflect.Type

func (ProvisioningArtifactArray) ToProvisioningArtifactArrayOutput added in v4.7.0

func (i ProvisioningArtifactArray) ToProvisioningArtifactArrayOutput() ProvisioningArtifactArrayOutput

func (ProvisioningArtifactArray) ToProvisioningArtifactArrayOutputWithContext added in v4.7.0

func (i ProvisioningArtifactArray) ToProvisioningArtifactArrayOutputWithContext(ctx context.Context) ProvisioningArtifactArrayOutput

type ProvisioningArtifactArrayInput added in v4.7.0

type ProvisioningArtifactArrayInput interface {
	pulumi.Input

	ToProvisioningArtifactArrayOutput() ProvisioningArtifactArrayOutput
	ToProvisioningArtifactArrayOutputWithContext(context.Context) ProvisioningArtifactArrayOutput
}

ProvisioningArtifactArrayInput is an input type that accepts ProvisioningArtifactArray and ProvisioningArtifactArrayOutput values. You can construct a concrete instance of `ProvisioningArtifactArrayInput` via:

ProvisioningArtifactArray{ ProvisioningArtifactArgs{...} }

type ProvisioningArtifactArrayOutput added in v4.7.0

type ProvisioningArtifactArrayOutput struct{ *pulumi.OutputState }

func (ProvisioningArtifactArrayOutput) ElementType added in v4.7.0

func (ProvisioningArtifactArrayOutput) Index added in v4.7.0

func (ProvisioningArtifactArrayOutput) ToProvisioningArtifactArrayOutput added in v4.7.0

func (o ProvisioningArtifactArrayOutput) ToProvisioningArtifactArrayOutput() ProvisioningArtifactArrayOutput

func (ProvisioningArtifactArrayOutput) ToProvisioningArtifactArrayOutputWithContext added in v4.7.0

func (o ProvisioningArtifactArrayOutput) ToProvisioningArtifactArrayOutputWithContext(ctx context.Context) ProvisioningArtifactArrayOutput

type ProvisioningArtifactInput added in v4.7.0

type ProvisioningArtifactInput interface {
	pulumi.Input

	ToProvisioningArtifactOutput() ProvisioningArtifactOutput
	ToProvisioningArtifactOutputWithContext(ctx context.Context) ProvisioningArtifactOutput
}

type ProvisioningArtifactMap added in v4.7.0

type ProvisioningArtifactMap map[string]ProvisioningArtifactInput

func (ProvisioningArtifactMap) ElementType added in v4.7.0

func (ProvisioningArtifactMap) ElementType() reflect.Type

func (ProvisioningArtifactMap) ToProvisioningArtifactMapOutput added in v4.7.0

func (i ProvisioningArtifactMap) ToProvisioningArtifactMapOutput() ProvisioningArtifactMapOutput

func (ProvisioningArtifactMap) ToProvisioningArtifactMapOutputWithContext added in v4.7.0

func (i ProvisioningArtifactMap) ToProvisioningArtifactMapOutputWithContext(ctx context.Context) ProvisioningArtifactMapOutput

type ProvisioningArtifactMapInput added in v4.7.0

type ProvisioningArtifactMapInput interface {
	pulumi.Input

	ToProvisioningArtifactMapOutput() ProvisioningArtifactMapOutput
	ToProvisioningArtifactMapOutputWithContext(context.Context) ProvisioningArtifactMapOutput
}

ProvisioningArtifactMapInput is an input type that accepts ProvisioningArtifactMap and ProvisioningArtifactMapOutput values. You can construct a concrete instance of `ProvisioningArtifactMapInput` via:

ProvisioningArtifactMap{ "key": ProvisioningArtifactArgs{...} }

type ProvisioningArtifactMapOutput added in v4.7.0

type ProvisioningArtifactMapOutput struct{ *pulumi.OutputState }

func (ProvisioningArtifactMapOutput) ElementType added in v4.7.0

func (ProvisioningArtifactMapOutput) MapIndex added in v4.7.0

func (ProvisioningArtifactMapOutput) ToProvisioningArtifactMapOutput added in v4.7.0

func (o ProvisioningArtifactMapOutput) ToProvisioningArtifactMapOutput() ProvisioningArtifactMapOutput

func (ProvisioningArtifactMapOutput) ToProvisioningArtifactMapOutputWithContext added in v4.7.0

func (o ProvisioningArtifactMapOutput) ToProvisioningArtifactMapOutputWithContext(ctx context.Context) ProvisioningArtifactMapOutput

type ProvisioningArtifactOutput added in v4.7.0

type ProvisioningArtifactOutput struct{ *pulumi.OutputState }

func (ProvisioningArtifactOutput) ElementType added in v4.7.0

func (ProvisioningArtifactOutput) ElementType() reflect.Type

func (ProvisioningArtifactOutput) ToProvisioningArtifactOutput added in v4.7.0

func (o ProvisioningArtifactOutput) ToProvisioningArtifactOutput() ProvisioningArtifactOutput

func (ProvisioningArtifactOutput) ToProvisioningArtifactOutputWithContext added in v4.7.0

func (o ProvisioningArtifactOutput) ToProvisioningArtifactOutputWithContext(ctx context.Context) ProvisioningArtifactOutput

func (ProvisioningArtifactOutput) ToProvisioningArtifactPtrOutput added in v4.7.0

func (o ProvisioningArtifactOutput) ToProvisioningArtifactPtrOutput() ProvisioningArtifactPtrOutput

func (ProvisioningArtifactOutput) ToProvisioningArtifactPtrOutputWithContext added in v4.7.0

func (o ProvisioningArtifactOutput) ToProvisioningArtifactPtrOutputWithContext(ctx context.Context) ProvisioningArtifactPtrOutput

type ProvisioningArtifactPtrInput added in v4.7.0

type ProvisioningArtifactPtrInput interface {
	pulumi.Input

	ToProvisioningArtifactPtrOutput() ProvisioningArtifactPtrOutput
	ToProvisioningArtifactPtrOutputWithContext(ctx context.Context) ProvisioningArtifactPtrOutput
}

type ProvisioningArtifactPtrOutput added in v4.7.0

type ProvisioningArtifactPtrOutput struct{ *pulumi.OutputState }

func (ProvisioningArtifactPtrOutput) Elem added in v4.15.0

func (ProvisioningArtifactPtrOutput) ElementType added in v4.7.0

func (ProvisioningArtifactPtrOutput) ToProvisioningArtifactPtrOutput added in v4.7.0

func (o ProvisioningArtifactPtrOutput) ToProvisioningArtifactPtrOutput() ProvisioningArtifactPtrOutput

func (ProvisioningArtifactPtrOutput) ToProvisioningArtifactPtrOutputWithContext added in v4.7.0

func (o ProvisioningArtifactPtrOutput) ToProvisioningArtifactPtrOutputWithContext(ctx context.Context) ProvisioningArtifactPtrOutput

type ProvisioningArtifactState added in v4.7.0

type ProvisioningArtifactState struct {
	// Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). The default value is `en`.
	AcceptLanguage pulumi.StringPtrInput
	// Whether the product version is active. Inactive provisioning artifacts are invisible to end users. End users cannot launch or update a provisioned product from an inactive provisioning artifact. Default is `true`.
	Active pulumi.BoolPtrInput
	// Time when the provisioning artifact was created.
	CreatedTime pulumi.StringPtrInput
	// Description of the provisioning artifact (i.e., version), including how it differs from the previous provisioning artifact.
	Description pulumi.StringPtrInput
	// Whether AWS Service Catalog stops validating the specified provisioning artifact template even if it is invalid.
	DisableTemplateValidation pulumi.BoolPtrInput
	// Information set by the administrator to provide guidance to end users about which provisioning artifacts to use. Valid values are `DEFAULT` and `DEPRECATED`. The default is `DEFAULT`. Users are able to make updates to a provisioned product of a deprecated version but cannot launch new provisioned products using a deprecated version.
	Guidance pulumi.StringPtrInput
	// Name of the provisioning artifact (for example, `v1`, `v2beta`). No spaces are allowed.
	Name pulumi.StringPtrInput
	// Identifier of the product.
	ProductId pulumi.StringPtrInput
	// Template source as the physical ID of the resource that contains the template. Currently only supports CloudFormation stack ARN. Specify the physical ID as `arn:[partition]:cloudformation:[region]:[account ID]:stack/[stack name]/[resource ID]`.
	TemplatePhysicalId pulumi.StringPtrInput
	// Template source as URL of the CloudFormation template in Amazon S3.
	TemplateUrl pulumi.StringPtrInput
	// Type of provisioning artifact. Valid values: `CLOUD_FORMATION_TEMPLATE`, `MARKETPLACE_AMI`, `MARKETPLACE_CAR` (Marketplace Clusters and AWS Resources).
	Type pulumi.StringPtrInput
}

func (ProvisioningArtifactState) ElementType added in v4.7.0

func (ProvisioningArtifactState) ElementType() reflect.Type

type ServiceAction added in v4.6.0

type ServiceAction struct {
	pulumi.CustomResourceState

	// Language code. Valid values are `en` (English), `jp` (Japanese), and `zh` (Chinese). Default is `en`.
	AcceptLanguage pulumi.StringPtrOutput `pulumi:"acceptLanguage"`
	// Self-service action definition configuration block. Detailed below.
	Definition ServiceActionDefinitionOutput `pulumi:"definition"`
	// Self-service action description.
	Description pulumi.StringOutput `pulumi:"description"`
	// Self-service action name.
	Name pulumi.StringOutput `pulumi:"name"`
}

Manages a Service Catalog self-service action.

## Example Usage ### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/servicecatalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicecatalog.NewServiceAction(ctx, "example", &servicecatalog.ServiceActionArgs{
			Definition: &servicecatalog.ServiceActionDefinitionArgs{
				Name: pulumi.String("AWS-RestartEC2Instance"),
			},
			Description: pulumi.String("Motor generator unit"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_servicecatalog_service_action` can be imported using the service action ID, e.g.

```sh

$ pulumi import aws:servicecatalog/serviceAction:ServiceAction example act-f1w12eperfslh

```

func GetServiceAction added in v4.6.0

func GetServiceAction(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceActionState, opts ...pulumi.ResourceOption) (*ServiceAction, error)

GetServiceAction gets an existing ServiceAction resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServiceAction added in v4.6.0

func NewServiceAction(ctx *pulumi.Context,
	name string, args *ServiceActionArgs, opts ...pulumi.ResourceOption) (*ServiceAction, error)

NewServiceAction registers a new resource with the given unique name, arguments, and options.

func (*ServiceAction) ElementType added in v4.6.0

func (*ServiceAction) ElementType() reflect.Type

func (*ServiceAction) ToServiceActionOutput added in v4.6.0

func (i *ServiceAction) ToServiceActionOutput() ServiceActionOutput

func (*ServiceAction) ToServiceActionOutputWithContext added in v4.6.0

func (i *ServiceAction) ToServiceActionOutputWithContext(ctx context.Context) ServiceActionOutput

func (*ServiceAction) ToServiceActionPtrOutput added in v4.6.0

func (i *ServiceAction) ToServiceActionPtrOutput() ServiceActionPtrOutput

func (*ServiceAction) ToServiceActionPtrOutputWithContext added in v4.6.0

func (i *ServiceAction) ToServiceActionPtrOutputWithContext(ctx context.Context) ServiceActionPtrOutput

type ServiceActionArgs added in v4.6.0

type ServiceActionArgs struct {
	// Language code. Valid values are `en` (English), `jp` (Japanese), and `zh` (Chinese). Default is `en`.
	AcceptLanguage pulumi.StringPtrInput
	// Self-service action definition configuration block. Detailed below.
	Definition ServiceActionDefinitionInput
	// Self-service action description.
	Description pulumi.StringPtrInput
	// Self-service action name.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a ServiceAction resource.

func (ServiceActionArgs) ElementType added in v4.6.0

func (ServiceActionArgs) ElementType() reflect.Type

type ServiceActionArray added in v4.6.0

type ServiceActionArray []ServiceActionInput

func (ServiceActionArray) ElementType added in v4.6.0

func (ServiceActionArray) ElementType() reflect.Type

func (ServiceActionArray) ToServiceActionArrayOutput added in v4.6.0

func (i ServiceActionArray) ToServiceActionArrayOutput() ServiceActionArrayOutput

func (ServiceActionArray) ToServiceActionArrayOutputWithContext added in v4.6.0

func (i ServiceActionArray) ToServiceActionArrayOutputWithContext(ctx context.Context) ServiceActionArrayOutput

type ServiceActionArrayInput added in v4.6.0

type ServiceActionArrayInput interface {
	pulumi.Input

	ToServiceActionArrayOutput() ServiceActionArrayOutput
	ToServiceActionArrayOutputWithContext(context.Context) ServiceActionArrayOutput
}

ServiceActionArrayInput is an input type that accepts ServiceActionArray and ServiceActionArrayOutput values. You can construct a concrete instance of `ServiceActionArrayInput` via:

ServiceActionArray{ ServiceActionArgs{...} }

type ServiceActionArrayOutput added in v4.6.0

type ServiceActionArrayOutput struct{ *pulumi.OutputState }

func (ServiceActionArrayOutput) ElementType added in v4.6.0

func (ServiceActionArrayOutput) ElementType() reflect.Type

func (ServiceActionArrayOutput) Index added in v4.6.0

func (ServiceActionArrayOutput) ToServiceActionArrayOutput added in v4.6.0

func (o ServiceActionArrayOutput) ToServiceActionArrayOutput() ServiceActionArrayOutput

func (ServiceActionArrayOutput) ToServiceActionArrayOutputWithContext added in v4.6.0

func (o ServiceActionArrayOutput) ToServiceActionArrayOutputWithContext(ctx context.Context) ServiceActionArrayOutput

type ServiceActionDefinition added in v4.6.0

type ServiceActionDefinition struct {
	// ARN of the role that performs the self-service actions on your behalf. For example, `arn:aws:iam::12345678910:role/ActionRole`. To reuse the provisioned product launch role, set to `LAUNCH_ROLE`.
	AssumeRole *string `pulumi:"assumeRole"`
	// Name of the SSM document. For example, `AWS-RestartEC2Instance`. If you are using a shared SSM document, you must provide the ARN instead of the name.
	Name string `pulumi:"name"`
	// List of parameters in JSON format. For example: `[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]` or `[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]`.
	Parameters *string `pulumi:"parameters"`
	// Service action definition type. Valid value is `SSM_AUTOMATION`. Default is `SSM_AUTOMATION`.
	Type *string `pulumi:"type"`
	// SSM document version. For example, `1`.
	Version string `pulumi:"version"`
}

type ServiceActionDefinitionArgs added in v4.6.0

type ServiceActionDefinitionArgs struct {
	// ARN of the role that performs the self-service actions on your behalf. For example, `arn:aws:iam::12345678910:role/ActionRole`. To reuse the provisioned product launch role, set to `LAUNCH_ROLE`.
	AssumeRole pulumi.StringPtrInput `pulumi:"assumeRole"`
	// Name of the SSM document. For example, `AWS-RestartEC2Instance`. If you are using a shared SSM document, you must provide the ARN instead of the name.
	Name pulumi.StringInput `pulumi:"name"`
	// List of parameters in JSON format. For example: `[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]` or `[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]`.
	Parameters pulumi.StringPtrInput `pulumi:"parameters"`
	// Service action definition type. Valid value is `SSM_AUTOMATION`. Default is `SSM_AUTOMATION`.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// SSM document version. For example, `1`.
	Version pulumi.StringInput `pulumi:"version"`
}

func (ServiceActionDefinitionArgs) ElementType added in v4.6.0

func (ServiceActionDefinitionArgs) ToServiceActionDefinitionOutput added in v4.6.0

func (i ServiceActionDefinitionArgs) ToServiceActionDefinitionOutput() ServiceActionDefinitionOutput

func (ServiceActionDefinitionArgs) ToServiceActionDefinitionOutputWithContext added in v4.6.0

func (i ServiceActionDefinitionArgs) ToServiceActionDefinitionOutputWithContext(ctx context.Context) ServiceActionDefinitionOutput

func (ServiceActionDefinitionArgs) ToServiceActionDefinitionPtrOutput added in v4.6.0

func (i ServiceActionDefinitionArgs) ToServiceActionDefinitionPtrOutput() ServiceActionDefinitionPtrOutput

func (ServiceActionDefinitionArgs) ToServiceActionDefinitionPtrOutputWithContext added in v4.6.0

func (i ServiceActionDefinitionArgs) ToServiceActionDefinitionPtrOutputWithContext(ctx context.Context) ServiceActionDefinitionPtrOutput

type ServiceActionDefinitionInput added in v4.6.0

type ServiceActionDefinitionInput interface {
	pulumi.Input

	ToServiceActionDefinitionOutput() ServiceActionDefinitionOutput
	ToServiceActionDefinitionOutputWithContext(context.Context) ServiceActionDefinitionOutput
}

ServiceActionDefinitionInput is an input type that accepts ServiceActionDefinitionArgs and ServiceActionDefinitionOutput values. You can construct a concrete instance of `ServiceActionDefinitionInput` via:

ServiceActionDefinitionArgs{...}

type ServiceActionDefinitionOutput added in v4.6.0

type ServiceActionDefinitionOutput struct{ *pulumi.OutputState }

func (ServiceActionDefinitionOutput) AssumeRole added in v4.6.0

ARN of the role that performs the self-service actions on your behalf. For example, `arn:aws:iam::12345678910:role/ActionRole`. To reuse the provisioned product launch role, set to `LAUNCH_ROLE`.

func (ServiceActionDefinitionOutput) ElementType added in v4.6.0

func (ServiceActionDefinitionOutput) Name added in v4.6.0

Name of the SSM document. For example, `AWS-RestartEC2Instance`. If you are using a shared SSM document, you must provide the ARN instead of the name.

func (ServiceActionDefinitionOutput) Parameters added in v4.6.0

List of parameters in JSON format. For example: `[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]` or `[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]`.

func (ServiceActionDefinitionOutput) ToServiceActionDefinitionOutput added in v4.6.0

func (o ServiceActionDefinitionOutput) ToServiceActionDefinitionOutput() ServiceActionDefinitionOutput

func (ServiceActionDefinitionOutput) ToServiceActionDefinitionOutputWithContext added in v4.6.0

func (o ServiceActionDefinitionOutput) ToServiceActionDefinitionOutputWithContext(ctx context.Context) ServiceActionDefinitionOutput

func (ServiceActionDefinitionOutput) ToServiceActionDefinitionPtrOutput added in v4.6.0

func (o ServiceActionDefinitionOutput) ToServiceActionDefinitionPtrOutput() ServiceActionDefinitionPtrOutput

func (ServiceActionDefinitionOutput) ToServiceActionDefinitionPtrOutputWithContext added in v4.6.0

func (o ServiceActionDefinitionOutput) ToServiceActionDefinitionPtrOutputWithContext(ctx context.Context) ServiceActionDefinitionPtrOutput

func (ServiceActionDefinitionOutput) Type added in v4.6.0

Service action definition type. Valid value is `SSM_AUTOMATION`. Default is `SSM_AUTOMATION`.

func (ServiceActionDefinitionOutput) Version added in v4.6.0

SSM document version. For example, `1`.

type ServiceActionDefinitionPtrInput added in v4.6.0

type ServiceActionDefinitionPtrInput interface {
	pulumi.Input

	ToServiceActionDefinitionPtrOutput() ServiceActionDefinitionPtrOutput
	ToServiceActionDefinitionPtrOutputWithContext(context.Context) ServiceActionDefinitionPtrOutput
}

ServiceActionDefinitionPtrInput is an input type that accepts ServiceActionDefinitionArgs, ServiceActionDefinitionPtr and ServiceActionDefinitionPtrOutput values. You can construct a concrete instance of `ServiceActionDefinitionPtrInput` via:

        ServiceActionDefinitionArgs{...}

or:

        nil

func ServiceActionDefinitionPtr added in v4.6.0

func ServiceActionDefinitionPtr(v *ServiceActionDefinitionArgs) ServiceActionDefinitionPtrInput

type ServiceActionDefinitionPtrOutput added in v4.6.0

type ServiceActionDefinitionPtrOutput struct{ *pulumi.OutputState }

func (ServiceActionDefinitionPtrOutput) AssumeRole added in v4.6.0

ARN of the role that performs the self-service actions on your behalf. For example, `arn:aws:iam::12345678910:role/ActionRole`. To reuse the provisioned product launch role, set to `LAUNCH_ROLE`.

func (ServiceActionDefinitionPtrOutput) Elem added in v4.6.0

func (ServiceActionDefinitionPtrOutput) ElementType added in v4.6.0

func (ServiceActionDefinitionPtrOutput) Name added in v4.6.0

Name of the SSM document. For example, `AWS-RestartEC2Instance`. If you are using a shared SSM document, you must provide the ARN instead of the name.

func (ServiceActionDefinitionPtrOutput) Parameters added in v4.6.0

List of parameters in JSON format. For example: `[{\"Name\":\"InstanceId\",\"Type\":\"TARGET\"}]` or `[{\"Name\":\"InstanceId\",\"Type\":\"TEXT_VALUE\"}]`.

func (ServiceActionDefinitionPtrOutput) ToServiceActionDefinitionPtrOutput added in v4.6.0

func (o ServiceActionDefinitionPtrOutput) ToServiceActionDefinitionPtrOutput() ServiceActionDefinitionPtrOutput

func (ServiceActionDefinitionPtrOutput) ToServiceActionDefinitionPtrOutputWithContext added in v4.6.0

func (o ServiceActionDefinitionPtrOutput) ToServiceActionDefinitionPtrOutputWithContext(ctx context.Context) ServiceActionDefinitionPtrOutput

func (ServiceActionDefinitionPtrOutput) Type added in v4.6.0

Service action definition type. Valid value is `SSM_AUTOMATION`. Default is `SSM_AUTOMATION`.

func (ServiceActionDefinitionPtrOutput) Version added in v4.6.0

SSM document version. For example, `1`.

type ServiceActionInput added in v4.6.0

type ServiceActionInput interface {
	pulumi.Input

	ToServiceActionOutput() ServiceActionOutput
	ToServiceActionOutputWithContext(ctx context.Context) ServiceActionOutput
}

type ServiceActionMap added in v4.6.0

type ServiceActionMap map[string]ServiceActionInput

func (ServiceActionMap) ElementType added in v4.6.0

func (ServiceActionMap) ElementType() reflect.Type

func (ServiceActionMap) ToServiceActionMapOutput added in v4.6.0

func (i ServiceActionMap) ToServiceActionMapOutput() ServiceActionMapOutput

func (ServiceActionMap) ToServiceActionMapOutputWithContext added in v4.6.0

func (i ServiceActionMap) ToServiceActionMapOutputWithContext(ctx context.Context) ServiceActionMapOutput

type ServiceActionMapInput added in v4.6.0

type ServiceActionMapInput interface {
	pulumi.Input

	ToServiceActionMapOutput() ServiceActionMapOutput
	ToServiceActionMapOutputWithContext(context.Context) ServiceActionMapOutput
}

ServiceActionMapInput is an input type that accepts ServiceActionMap and ServiceActionMapOutput values. You can construct a concrete instance of `ServiceActionMapInput` via:

ServiceActionMap{ "key": ServiceActionArgs{...} }

type ServiceActionMapOutput added in v4.6.0

type ServiceActionMapOutput struct{ *pulumi.OutputState }

func (ServiceActionMapOutput) ElementType added in v4.6.0

func (ServiceActionMapOutput) ElementType() reflect.Type

func (ServiceActionMapOutput) MapIndex added in v4.6.0

func (ServiceActionMapOutput) ToServiceActionMapOutput added in v4.6.0

func (o ServiceActionMapOutput) ToServiceActionMapOutput() ServiceActionMapOutput

func (ServiceActionMapOutput) ToServiceActionMapOutputWithContext added in v4.6.0

func (o ServiceActionMapOutput) ToServiceActionMapOutputWithContext(ctx context.Context) ServiceActionMapOutput

type ServiceActionOutput added in v4.6.0

type ServiceActionOutput struct{ *pulumi.OutputState }

func (ServiceActionOutput) ElementType added in v4.6.0

func (ServiceActionOutput) ElementType() reflect.Type

func (ServiceActionOutput) ToServiceActionOutput added in v4.6.0

func (o ServiceActionOutput) ToServiceActionOutput() ServiceActionOutput

func (ServiceActionOutput) ToServiceActionOutputWithContext added in v4.6.0

func (o ServiceActionOutput) ToServiceActionOutputWithContext(ctx context.Context) ServiceActionOutput

func (ServiceActionOutput) ToServiceActionPtrOutput added in v4.6.0

func (o ServiceActionOutput) ToServiceActionPtrOutput() ServiceActionPtrOutput

func (ServiceActionOutput) ToServiceActionPtrOutputWithContext added in v4.6.0

func (o ServiceActionOutput) ToServiceActionPtrOutputWithContext(ctx context.Context) ServiceActionPtrOutput

type ServiceActionPtrInput added in v4.6.0

type ServiceActionPtrInput interface {
	pulumi.Input

	ToServiceActionPtrOutput() ServiceActionPtrOutput
	ToServiceActionPtrOutputWithContext(ctx context.Context) ServiceActionPtrOutput
}

type ServiceActionPtrOutput added in v4.6.0

type ServiceActionPtrOutput struct{ *pulumi.OutputState }

func (ServiceActionPtrOutput) Elem added in v4.15.0

func (ServiceActionPtrOutput) ElementType added in v4.6.0

func (ServiceActionPtrOutput) ElementType() reflect.Type

func (ServiceActionPtrOutput) ToServiceActionPtrOutput added in v4.6.0

func (o ServiceActionPtrOutput) ToServiceActionPtrOutput() ServiceActionPtrOutput

func (ServiceActionPtrOutput) ToServiceActionPtrOutputWithContext added in v4.6.0

func (o ServiceActionPtrOutput) ToServiceActionPtrOutputWithContext(ctx context.Context) ServiceActionPtrOutput

type ServiceActionState added in v4.6.0

type ServiceActionState struct {
	// Language code. Valid values are `en` (English), `jp` (Japanese), and `zh` (Chinese). Default is `en`.
	AcceptLanguage pulumi.StringPtrInput
	// Self-service action definition configuration block. Detailed below.
	Definition ServiceActionDefinitionPtrInput
	// Self-service action description.
	Description pulumi.StringPtrInput
	// Self-service action name.
	Name pulumi.StringPtrInput
}

func (ServiceActionState) ElementType added in v4.6.0

func (ServiceActionState) ElementType() reflect.Type

type TagOption added in v4.4.0

type TagOption struct {
	pulumi.CustomResourceState

	// Whether tag option is active. Default is `true`.
	Active pulumi.BoolPtrOutput `pulumi:"active"`
	// Tag option key.
	Key   pulumi.StringOutput `pulumi:"key"`
	Owner pulumi.StringOutput `pulumi:"owner"`
	// Tag option value.
	Value pulumi.StringOutput `pulumi:"value"`
}

Manages a Service Catalog Tag Option.

## Example Usage ### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/servicecatalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicecatalog.NewTagOption(ctx, "example", &servicecatalog.TagOptionArgs{
			Key:   pulumi.String("nyckel"),
			Value: pulumi.String("värde"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_servicecatalog_tag_option` can be imported using the tag option ID, e.g.

```sh

$ pulumi import aws:servicecatalog/tagOption:TagOption example tag-pjtvagohlyo3m

```

func GetTagOption added in v4.4.0

func GetTagOption(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TagOptionState, opts ...pulumi.ResourceOption) (*TagOption, error)

GetTagOption gets an existing TagOption resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTagOption added in v4.4.0

func NewTagOption(ctx *pulumi.Context,
	name string, args *TagOptionArgs, opts ...pulumi.ResourceOption) (*TagOption, error)

NewTagOption registers a new resource with the given unique name, arguments, and options.

func (*TagOption) ElementType added in v4.4.0

func (*TagOption) ElementType() reflect.Type

func (*TagOption) ToTagOptionOutput added in v4.4.0

func (i *TagOption) ToTagOptionOutput() TagOptionOutput

func (*TagOption) ToTagOptionOutputWithContext added in v4.4.0

func (i *TagOption) ToTagOptionOutputWithContext(ctx context.Context) TagOptionOutput

func (*TagOption) ToTagOptionPtrOutput added in v4.4.0

func (i *TagOption) ToTagOptionPtrOutput() TagOptionPtrOutput

func (*TagOption) ToTagOptionPtrOutputWithContext added in v4.4.0

func (i *TagOption) ToTagOptionPtrOutputWithContext(ctx context.Context) TagOptionPtrOutput

type TagOptionArgs added in v4.4.0

type TagOptionArgs struct {
	// Whether tag option is active. Default is `true`.
	Active pulumi.BoolPtrInput
	// Tag option key.
	Key pulumi.StringInput
	// Tag option value.
	Value pulumi.StringInput
}

The set of arguments for constructing a TagOption resource.

func (TagOptionArgs) ElementType added in v4.4.0

func (TagOptionArgs) ElementType() reflect.Type

type TagOptionArray added in v4.4.0

type TagOptionArray []TagOptionInput

func (TagOptionArray) ElementType added in v4.4.0

func (TagOptionArray) ElementType() reflect.Type

func (TagOptionArray) ToTagOptionArrayOutput added in v4.4.0

func (i TagOptionArray) ToTagOptionArrayOutput() TagOptionArrayOutput

func (TagOptionArray) ToTagOptionArrayOutputWithContext added in v4.4.0

func (i TagOptionArray) ToTagOptionArrayOutputWithContext(ctx context.Context) TagOptionArrayOutput

type TagOptionArrayInput added in v4.4.0

type TagOptionArrayInput interface {
	pulumi.Input

	ToTagOptionArrayOutput() TagOptionArrayOutput
	ToTagOptionArrayOutputWithContext(context.Context) TagOptionArrayOutput
}

TagOptionArrayInput is an input type that accepts TagOptionArray and TagOptionArrayOutput values. You can construct a concrete instance of `TagOptionArrayInput` via:

TagOptionArray{ TagOptionArgs{...} }

type TagOptionArrayOutput added in v4.4.0

type TagOptionArrayOutput struct{ *pulumi.OutputState }

func (TagOptionArrayOutput) ElementType added in v4.4.0

func (TagOptionArrayOutput) ElementType() reflect.Type

func (TagOptionArrayOutput) Index added in v4.4.0

func (TagOptionArrayOutput) ToTagOptionArrayOutput added in v4.4.0

func (o TagOptionArrayOutput) ToTagOptionArrayOutput() TagOptionArrayOutput

func (TagOptionArrayOutput) ToTagOptionArrayOutputWithContext added in v4.4.0

func (o TagOptionArrayOutput) ToTagOptionArrayOutputWithContext(ctx context.Context) TagOptionArrayOutput

type TagOptionInput added in v4.4.0

type TagOptionInput interface {
	pulumi.Input

	ToTagOptionOutput() TagOptionOutput
	ToTagOptionOutputWithContext(ctx context.Context) TagOptionOutput
}

type TagOptionMap added in v4.4.0

type TagOptionMap map[string]TagOptionInput

func (TagOptionMap) ElementType added in v4.4.0

func (TagOptionMap) ElementType() reflect.Type

func (TagOptionMap) ToTagOptionMapOutput added in v4.4.0

func (i TagOptionMap) ToTagOptionMapOutput() TagOptionMapOutput

func (TagOptionMap) ToTagOptionMapOutputWithContext added in v4.4.0

func (i TagOptionMap) ToTagOptionMapOutputWithContext(ctx context.Context) TagOptionMapOutput

type TagOptionMapInput added in v4.4.0

type TagOptionMapInput interface {
	pulumi.Input

	ToTagOptionMapOutput() TagOptionMapOutput
	ToTagOptionMapOutputWithContext(context.Context) TagOptionMapOutput
}

TagOptionMapInput is an input type that accepts TagOptionMap and TagOptionMapOutput values. You can construct a concrete instance of `TagOptionMapInput` via:

TagOptionMap{ "key": TagOptionArgs{...} }

type TagOptionMapOutput added in v4.4.0

type TagOptionMapOutput struct{ *pulumi.OutputState }

func (TagOptionMapOutput) ElementType added in v4.4.0

func (TagOptionMapOutput) ElementType() reflect.Type

func (TagOptionMapOutput) MapIndex added in v4.4.0

func (TagOptionMapOutput) ToTagOptionMapOutput added in v4.4.0

func (o TagOptionMapOutput) ToTagOptionMapOutput() TagOptionMapOutput

func (TagOptionMapOutput) ToTagOptionMapOutputWithContext added in v4.4.0

func (o TagOptionMapOutput) ToTagOptionMapOutputWithContext(ctx context.Context) TagOptionMapOutput

type TagOptionOutput added in v4.4.0

type TagOptionOutput struct{ *pulumi.OutputState }

func (TagOptionOutput) ElementType added in v4.4.0

func (TagOptionOutput) ElementType() reflect.Type

func (TagOptionOutput) ToTagOptionOutput added in v4.4.0

func (o TagOptionOutput) ToTagOptionOutput() TagOptionOutput

func (TagOptionOutput) ToTagOptionOutputWithContext added in v4.4.0

func (o TagOptionOutput) ToTagOptionOutputWithContext(ctx context.Context) TagOptionOutput

func (TagOptionOutput) ToTagOptionPtrOutput added in v4.4.0

func (o TagOptionOutput) ToTagOptionPtrOutput() TagOptionPtrOutput

func (TagOptionOutput) ToTagOptionPtrOutputWithContext added in v4.4.0

func (o TagOptionOutput) ToTagOptionPtrOutputWithContext(ctx context.Context) TagOptionPtrOutput

type TagOptionPtrInput added in v4.4.0

type TagOptionPtrInput interface {
	pulumi.Input

	ToTagOptionPtrOutput() TagOptionPtrOutput
	ToTagOptionPtrOutputWithContext(ctx context.Context) TagOptionPtrOutput
}

type TagOptionPtrOutput added in v4.4.0

type TagOptionPtrOutput struct{ *pulumi.OutputState }

func (TagOptionPtrOutput) Elem added in v4.15.0

func (TagOptionPtrOutput) ElementType added in v4.4.0

func (TagOptionPtrOutput) ElementType() reflect.Type

func (TagOptionPtrOutput) ToTagOptionPtrOutput added in v4.4.0

func (o TagOptionPtrOutput) ToTagOptionPtrOutput() TagOptionPtrOutput

func (TagOptionPtrOutput) ToTagOptionPtrOutputWithContext added in v4.4.0

func (o TagOptionPtrOutput) ToTagOptionPtrOutputWithContext(ctx context.Context) TagOptionPtrOutput

type TagOptionResourceAssociation added in v4.7.0

type TagOptionResourceAssociation struct {
	pulumi.CustomResourceState

	// ARN of the resource.
	ResourceArn pulumi.StringOutput `pulumi:"resourceArn"`
	// Creation time of the resource.
	ResourceCreatedTime pulumi.StringOutput `pulumi:"resourceCreatedTime"`
	// Description of the resource.
	ResourceDescription pulumi.StringOutput `pulumi:"resourceDescription"`
	// Resource identifier.
	ResourceId pulumi.StringOutput `pulumi:"resourceId"`
	// Description of the resource.
	ResourceName pulumi.StringOutput `pulumi:"resourceName"`
	// Tag Option identifier.
	TagOptionId pulumi.StringOutput `pulumi:"tagOptionId"`
}

Manages a Service Catalog Tag Option Resource Association.

> **Tip:** A "resource" is either a Service Catalog portfolio or product.

## Example Usage ### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/servicecatalog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicecatalog.NewTagOptionResourceAssociation(ctx, "example", &servicecatalog.TagOptionResourceAssociationArgs{
			ResourceId:  pulumi.String("prod-dnigbtea24ste"),
			TagOptionId: pulumi.String("tag-pjtvyakdlyo3m"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_servicecatalog_tag_option_resource_association` can be imported using the tag option ID and resource ID, e.g.

```sh

$ pulumi import aws:servicecatalog/tagOptionResourceAssociation:TagOptionResourceAssociation example tag-pjtvyakdlyo3m:prod-dnigbtea24ste

```

func GetTagOptionResourceAssociation added in v4.7.0

func GetTagOptionResourceAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TagOptionResourceAssociationState, opts ...pulumi.ResourceOption) (*TagOptionResourceAssociation, error)

GetTagOptionResourceAssociation gets an existing TagOptionResourceAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTagOptionResourceAssociation added in v4.7.0

func NewTagOptionResourceAssociation(ctx *pulumi.Context,
	name string, args *TagOptionResourceAssociationArgs, opts ...pulumi.ResourceOption) (*TagOptionResourceAssociation, error)

NewTagOptionResourceAssociation registers a new resource with the given unique name, arguments, and options.

func (*TagOptionResourceAssociation) ElementType added in v4.7.0

func (*TagOptionResourceAssociation) ElementType() reflect.Type

func (*TagOptionResourceAssociation) ToTagOptionResourceAssociationOutput added in v4.7.0

func (i *TagOptionResourceAssociation) ToTagOptionResourceAssociationOutput() TagOptionResourceAssociationOutput

func (*TagOptionResourceAssociation) ToTagOptionResourceAssociationOutputWithContext added in v4.7.0

func (i *TagOptionResourceAssociation) ToTagOptionResourceAssociationOutputWithContext(ctx context.Context) TagOptionResourceAssociationOutput

func (*TagOptionResourceAssociation) ToTagOptionResourceAssociationPtrOutput added in v4.7.0

func (i *TagOptionResourceAssociation) ToTagOptionResourceAssociationPtrOutput() TagOptionResourceAssociationPtrOutput

func (*TagOptionResourceAssociation) ToTagOptionResourceAssociationPtrOutputWithContext added in v4.7.0

func (i *TagOptionResourceAssociation) ToTagOptionResourceAssociationPtrOutputWithContext(ctx context.Context) TagOptionResourceAssociationPtrOutput

type TagOptionResourceAssociationArgs added in v4.7.0

type TagOptionResourceAssociationArgs struct {
	// Resource identifier.
	ResourceId pulumi.StringInput
	// Tag Option identifier.
	TagOptionId pulumi.StringInput
}

The set of arguments for constructing a TagOptionResourceAssociation resource.

func (TagOptionResourceAssociationArgs) ElementType added in v4.7.0

type TagOptionResourceAssociationArray added in v4.7.0

type TagOptionResourceAssociationArray []TagOptionResourceAssociationInput

func (TagOptionResourceAssociationArray) ElementType added in v4.7.0

func (TagOptionResourceAssociationArray) ToTagOptionResourceAssociationArrayOutput added in v4.7.0

func (i TagOptionResourceAssociationArray) ToTagOptionResourceAssociationArrayOutput() TagOptionResourceAssociationArrayOutput

func (TagOptionResourceAssociationArray) ToTagOptionResourceAssociationArrayOutputWithContext added in v4.7.0

func (i TagOptionResourceAssociationArray) ToTagOptionResourceAssociationArrayOutputWithContext(ctx context.Context) TagOptionResourceAssociationArrayOutput

type TagOptionResourceAssociationArrayInput added in v4.7.0

type TagOptionResourceAssociationArrayInput interface {
	pulumi.Input

	ToTagOptionResourceAssociationArrayOutput() TagOptionResourceAssociationArrayOutput
	ToTagOptionResourceAssociationArrayOutputWithContext(context.Context) TagOptionResourceAssociationArrayOutput
}

TagOptionResourceAssociationArrayInput is an input type that accepts TagOptionResourceAssociationArray and TagOptionResourceAssociationArrayOutput values. You can construct a concrete instance of `TagOptionResourceAssociationArrayInput` via:

TagOptionResourceAssociationArray{ TagOptionResourceAssociationArgs{...} }

type TagOptionResourceAssociationArrayOutput added in v4.7.0

type TagOptionResourceAssociationArrayOutput struct{ *pulumi.OutputState }

func (TagOptionResourceAssociationArrayOutput) ElementType added in v4.7.0

func (TagOptionResourceAssociationArrayOutput) Index added in v4.7.0

func (TagOptionResourceAssociationArrayOutput) ToTagOptionResourceAssociationArrayOutput added in v4.7.0

func (o TagOptionResourceAssociationArrayOutput) ToTagOptionResourceAssociationArrayOutput() TagOptionResourceAssociationArrayOutput

func (TagOptionResourceAssociationArrayOutput) ToTagOptionResourceAssociationArrayOutputWithContext added in v4.7.0

func (o TagOptionResourceAssociationArrayOutput) ToTagOptionResourceAssociationArrayOutputWithContext(ctx context.Context) TagOptionResourceAssociationArrayOutput

type TagOptionResourceAssociationInput added in v4.7.0

type TagOptionResourceAssociationInput interface {
	pulumi.Input

	ToTagOptionResourceAssociationOutput() TagOptionResourceAssociationOutput
	ToTagOptionResourceAssociationOutputWithContext(ctx context.Context) TagOptionResourceAssociationOutput
}

type TagOptionResourceAssociationMap added in v4.7.0

type TagOptionResourceAssociationMap map[string]TagOptionResourceAssociationInput

func (TagOptionResourceAssociationMap) ElementType added in v4.7.0

func (TagOptionResourceAssociationMap) ToTagOptionResourceAssociationMapOutput added in v4.7.0

func (i TagOptionResourceAssociationMap) ToTagOptionResourceAssociationMapOutput() TagOptionResourceAssociationMapOutput

func (TagOptionResourceAssociationMap) ToTagOptionResourceAssociationMapOutputWithContext added in v4.7.0

func (i TagOptionResourceAssociationMap) ToTagOptionResourceAssociationMapOutputWithContext(ctx context.Context) TagOptionResourceAssociationMapOutput

type TagOptionResourceAssociationMapInput added in v4.7.0

type TagOptionResourceAssociationMapInput interface {
	pulumi.Input

	ToTagOptionResourceAssociationMapOutput() TagOptionResourceAssociationMapOutput
	ToTagOptionResourceAssociationMapOutputWithContext(context.Context) TagOptionResourceAssociationMapOutput
}

TagOptionResourceAssociationMapInput is an input type that accepts TagOptionResourceAssociationMap and TagOptionResourceAssociationMapOutput values. You can construct a concrete instance of `TagOptionResourceAssociationMapInput` via:

TagOptionResourceAssociationMap{ "key": TagOptionResourceAssociationArgs{...} }

type TagOptionResourceAssociationMapOutput added in v4.7.0

type TagOptionResourceAssociationMapOutput struct{ *pulumi.OutputState }

func (TagOptionResourceAssociationMapOutput) ElementType added in v4.7.0

func (TagOptionResourceAssociationMapOutput) MapIndex added in v4.7.0

func (TagOptionResourceAssociationMapOutput) ToTagOptionResourceAssociationMapOutput added in v4.7.0

func (o TagOptionResourceAssociationMapOutput) ToTagOptionResourceAssociationMapOutput() TagOptionResourceAssociationMapOutput

func (TagOptionResourceAssociationMapOutput) ToTagOptionResourceAssociationMapOutputWithContext added in v4.7.0

func (o TagOptionResourceAssociationMapOutput) ToTagOptionResourceAssociationMapOutputWithContext(ctx context.Context) TagOptionResourceAssociationMapOutput

type TagOptionResourceAssociationOutput added in v4.7.0

type TagOptionResourceAssociationOutput struct{ *pulumi.OutputState }

func (TagOptionResourceAssociationOutput) ElementType added in v4.7.0

func (TagOptionResourceAssociationOutput) ToTagOptionResourceAssociationOutput added in v4.7.0

func (o TagOptionResourceAssociationOutput) ToTagOptionResourceAssociationOutput() TagOptionResourceAssociationOutput

func (TagOptionResourceAssociationOutput) ToTagOptionResourceAssociationOutputWithContext added in v4.7.0

func (o TagOptionResourceAssociationOutput) ToTagOptionResourceAssociationOutputWithContext(ctx context.Context) TagOptionResourceAssociationOutput

func (TagOptionResourceAssociationOutput) ToTagOptionResourceAssociationPtrOutput added in v4.7.0

func (o TagOptionResourceAssociationOutput) ToTagOptionResourceAssociationPtrOutput() TagOptionResourceAssociationPtrOutput

func (TagOptionResourceAssociationOutput) ToTagOptionResourceAssociationPtrOutputWithContext added in v4.7.0

func (o TagOptionResourceAssociationOutput) ToTagOptionResourceAssociationPtrOutputWithContext(ctx context.Context) TagOptionResourceAssociationPtrOutput

type TagOptionResourceAssociationPtrInput added in v4.7.0

type TagOptionResourceAssociationPtrInput interface {
	pulumi.Input

	ToTagOptionResourceAssociationPtrOutput() TagOptionResourceAssociationPtrOutput
	ToTagOptionResourceAssociationPtrOutputWithContext(ctx context.Context) TagOptionResourceAssociationPtrOutput
}

type TagOptionResourceAssociationPtrOutput added in v4.7.0

type TagOptionResourceAssociationPtrOutput struct{ *pulumi.OutputState }

func (TagOptionResourceAssociationPtrOutput) Elem added in v4.15.0

func (TagOptionResourceAssociationPtrOutput) ElementType added in v4.7.0

func (TagOptionResourceAssociationPtrOutput) ToTagOptionResourceAssociationPtrOutput added in v4.7.0

func (o TagOptionResourceAssociationPtrOutput) ToTagOptionResourceAssociationPtrOutput() TagOptionResourceAssociationPtrOutput

func (TagOptionResourceAssociationPtrOutput) ToTagOptionResourceAssociationPtrOutputWithContext added in v4.7.0

func (o TagOptionResourceAssociationPtrOutput) ToTagOptionResourceAssociationPtrOutputWithContext(ctx context.Context) TagOptionResourceAssociationPtrOutput

type TagOptionResourceAssociationState added in v4.7.0

type TagOptionResourceAssociationState struct {
	// ARN of the resource.
	ResourceArn pulumi.StringPtrInput
	// Creation time of the resource.
	ResourceCreatedTime pulumi.StringPtrInput
	// Description of the resource.
	ResourceDescription pulumi.StringPtrInput
	// Resource identifier.
	ResourceId pulumi.StringPtrInput
	// Description of the resource.
	ResourceName pulumi.StringPtrInput
	// Tag Option identifier.
	TagOptionId pulumi.StringPtrInput
}

func (TagOptionResourceAssociationState) ElementType added in v4.7.0

type TagOptionState added in v4.4.0

type TagOptionState struct {
	// Whether tag option is active. Default is `true`.
	Active pulumi.BoolPtrInput
	// Tag option key.
	Key   pulumi.StringPtrInput
	Owner pulumi.StringPtrInput
	// Tag option value.
	Value pulumi.StringPtrInput
}

func (TagOptionState) ElementType added in v4.4.0

func (TagOptionState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL