servicecatalog

package
v3.21.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: Apache-2.0 Imports: 3 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

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

type PortfolioInput interface {
	pulumi.Input

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

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

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