servicecatalog

package
v3.38.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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.StringPtrOutput `pulumi:"providerName"`
	// Tags to apply to the connection.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Provides a resource to create a Service Catalog Portfolio.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/servicecatalog"
"github.com/pulumi/pulumi/sdk/v2/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 added in v3.13.0

func (*Portfolio) ElementType() reflect.Type

func (*Portfolio) ToPortfolioOutput added in v3.13.0

func (i *Portfolio) ToPortfolioOutput() PortfolioOutput

func (*Portfolio) ToPortfolioOutputWithContext added in v3.13.0

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

func (*Portfolio) ToPortfolioPtrOutput added in v3.25.0

func (i *Portfolio) ToPortfolioPtrOutput() PortfolioPtrOutput

func (*Portfolio) ToPortfolioPtrOutputWithContext added in v3.25.0

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.StringPtrInput
	// Tags to apply to the connection.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Portfolio resource.

func (PortfolioArgs) ElementType

func (PortfolioArgs) ElementType() reflect.Type

type PortfolioArray added in v3.25.0

type PortfolioArray []PortfolioInput

func (PortfolioArray) ElementType added in v3.25.0

func (PortfolioArray) ElementType() reflect.Type

func (PortfolioArray) ToPortfolioArrayOutput added in v3.25.0

func (i PortfolioArray) ToPortfolioArrayOutput() PortfolioArrayOutput

func (PortfolioArray) ToPortfolioArrayOutputWithContext added in v3.25.0

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

type PortfolioArrayInput added in v3.25.0

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 added in v3.25.0

type PortfolioArrayOutput struct{ *pulumi.OutputState }

func (PortfolioArrayOutput) ElementType added in v3.25.0

func (PortfolioArrayOutput) ElementType() reflect.Type

func (PortfolioArrayOutput) Index added in v3.25.0

func (PortfolioArrayOutput) ToPortfolioArrayOutput added in v3.25.0

func (o PortfolioArrayOutput) ToPortfolioArrayOutput() PortfolioArrayOutput

func (PortfolioArrayOutput) ToPortfolioArrayOutputWithContext added in v3.25.0

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

type PortfolioInput added in v3.13.0

type PortfolioInput interface {
	pulumi.Input

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

type PortfolioMap added in v3.25.0

type PortfolioMap map[string]PortfolioInput

func (PortfolioMap) ElementType added in v3.25.0

func (PortfolioMap) ElementType() reflect.Type

func (PortfolioMap) ToPortfolioMapOutput added in v3.25.0

func (i PortfolioMap) ToPortfolioMapOutput() PortfolioMapOutput

func (PortfolioMap) ToPortfolioMapOutputWithContext added in v3.25.0

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

type PortfolioMapInput added in v3.25.0

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 added in v3.25.0

type PortfolioMapOutput struct{ *pulumi.OutputState }

func (PortfolioMapOutput) ElementType added in v3.25.0

func (PortfolioMapOutput) ElementType() reflect.Type

func (PortfolioMapOutput) MapIndex added in v3.25.0

func (PortfolioMapOutput) ToPortfolioMapOutput added in v3.25.0

func (o PortfolioMapOutput) ToPortfolioMapOutput() PortfolioMapOutput

func (PortfolioMapOutput) ToPortfolioMapOutputWithContext added in v3.25.0

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

type PortfolioOutput added in v3.13.0

type PortfolioOutput struct {
	*pulumi.OutputState
}

func (PortfolioOutput) ElementType added in v3.13.0

func (PortfolioOutput) ElementType() reflect.Type

func (PortfolioOutput) ToPortfolioOutput added in v3.13.0

func (o PortfolioOutput) ToPortfolioOutput() PortfolioOutput

func (PortfolioOutput) ToPortfolioOutputWithContext added in v3.13.0

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

func (PortfolioOutput) ToPortfolioPtrOutput added in v3.25.0

func (o PortfolioOutput) ToPortfolioPtrOutput() PortfolioPtrOutput

func (PortfolioOutput) ToPortfolioPtrOutputWithContext added in v3.25.0

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

type PortfolioPtrInput added in v3.25.0

type PortfolioPtrInput interface {
	pulumi.Input

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

type PortfolioPtrOutput added in v3.25.0

type PortfolioPtrOutput struct {
	*pulumi.OutputState
}

func (PortfolioPtrOutput) ElementType added in v3.25.0

func (PortfolioPtrOutput) ElementType() reflect.Type

func (PortfolioPtrOutput) ToPortfolioPtrOutput added in v3.25.0

func (o PortfolioPtrOutput) ToPortfolioPtrOutput() PortfolioPtrOutput

func (PortfolioPtrOutput) ToPortfolioPtrOutputWithContext added in v3.25.0

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

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.
	Tags pulumi.StringMapInput
}

func (PortfolioState) ElementType

func (PortfolioState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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