Portfolio

Provides a resource to create a Service Catalog Portfolio.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var portfolio = new Aws.ServiceCatalog.Portfolio("portfolio", new Aws.ServiceCatalog.PortfolioArgs
        {
            Description = "List of my organizations apps",
            ProviderName = "Brett",
        });
    }

}
package main

import (
    "github.com/pulumi/pulumi-aws/sdk/v2/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 pulumi
import pulumi_aws as aws

portfolio = aws.servicecatalog.Portfolio("portfolio",
    description="List of my organizations apps",
    provider_name="Brett")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const portfolio = new aws.servicecatalog.Portfolio("portfolio", {
    description: "List of my organizations apps",
    providerName: "Brett",
});

Create a Portfolio Resource

def Portfolio(resource_name, opts=None, description=None, name=None, provider_name=None, tags=None, __props__=None);
func NewPortfolio(ctx *Context, name string, args *PortfolioArgs, opts ...ResourceOption) (*Portfolio, error)
public Portfolio(string name, PortfolioArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args PortfolioArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args PortfolioArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PortfolioArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Portfolio Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Portfolio resource accepts the following input properties:

Description string

Description of the portfolio

Name string

The name of the portfolio.

ProviderName string

Name of the person or organization who owns the portfolio.

Tags Dictionary<string, string>

Tags to apply to the connection.

Description string

Description of the portfolio

Name string

The name of the portfolio.

ProviderName string

Name of the person or organization who owns the portfolio.

Tags map[string]string

Tags to apply to the connection.

description string

Description of the portfolio

name string

The name of the portfolio.

providerName string

Name of the person or organization who owns the portfolio.

tags {[key: string]: string}

Tags to apply to the connection.

description str

Description of the portfolio

name str

The name of the portfolio.

provider_name str

Name of the person or organization who owns the portfolio.

tags Dict[str, str]

Tags to apply to the connection.

Outputs

All input properties are implicitly available as output properties. Additionally, the Portfolio resource produces the following output properties:

Arn string
CreatedTime string
Id string
The provider-assigned unique ID for this managed resource.
Arn string
CreatedTime string
Id string
The provider-assigned unique ID for this managed resource.
arn string
createdTime string
id string
The provider-assigned unique ID for this managed resource.
arn str
created_time str
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Portfolio Resource

Get an existing Portfolio resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: PortfolioState, opts?: CustomResourceOptions): Portfolio
static get(resource_name, id, opts=None, arn=None, created_time=None, description=None, name=None, provider_name=None, tags=None, __props__=None);
func GetPortfolio(ctx *Context, name string, id IDInput, state *PortfolioState, opts ...ResourceOption) (*Portfolio, error)
public static Portfolio Get(string name, Input<string> id, PortfolioState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Arn string
CreatedTime string
Description string

Description of the portfolio

Name string

The name of the portfolio.

ProviderName string

Name of the person or organization who owns the portfolio.

Tags Dictionary<string, string>

Tags to apply to the connection.

Arn string
CreatedTime string
Description string

Description of the portfolio

Name string

The name of the portfolio.

ProviderName string

Name of the person or organization who owns the portfolio.

Tags map[string]string

Tags to apply to the connection.

arn string
createdTime string
description string

Description of the portfolio

name string

The name of the portfolio.

providerName string

Name of the person or organization who owns the portfolio.

tags {[key: string]: string}

Tags to apply to the connection.

arn str
created_time str
description str

Description of the portfolio

name str

The name of the portfolio.

provider_name str

Name of the person or organization who owns the portfolio.

tags Dict[str, str]

Tags to apply to the connection.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.