1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. servicecatalog
  5. PortfolioShare

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi

aws-native.servicecatalog.PortfolioShare

Get Started
aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi

    Resource Type definition for AWS::ServiceCatalog::PortfolioShare

    Create PortfolioShare Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PortfolioShare(name: string, args: PortfolioShareArgs, opts?: CustomResourceOptions);
    @overload
    def PortfolioShare(resource_name: str,
                       args: PortfolioShareArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def PortfolioShare(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       account_id: Optional[str] = None,
                       portfolio_id: Optional[str] = None,
                       accept_language: Optional[str] = None,
                       share_tag_options: Optional[bool] = None)
    func NewPortfolioShare(ctx *Context, name string, args PortfolioShareArgs, opts ...ResourceOption) (*PortfolioShare, error)
    public PortfolioShare(string name, PortfolioShareArgs args, CustomResourceOptions? opts = null)
    public PortfolioShare(String name, PortfolioShareArgs args)
    public PortfolioShare(String name, PortfolioShareArgs args, CustomResourceOptions options)
    
    type: aws-native:servicecatalog:PortfolioShare
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PortfolioShareArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PortfolioShareArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PortfolioShareArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PortfolioShareArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PortfolioShareArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    PortfolioShare Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The PortfolioShare resource accepts the following input properties:

    AccountId string
    The AWS account ID.
    PortfolioId string
    The portfolio identifier.
    AcceptLanguage string
    The language code.
    ShareTagOptions bool
    Enables or disables TagOptions sharing when creating the portfolio share.
    AccountId string
    The AWS account ID.
    PortfolioId string
    The portfolio identifier.
    AcceptLanguage string
    The language code.
    ShareTagOptions bool
    Enables or disables TagOptions sharing when creating the portfolio share.
    accountId String
    The AWS account ID.
    portfolioId String
    The portfolio identifier.
    acceptLanguage String
    The language code.
    shareTagOptions Boolean
    Enables or disables TagOptions sharing when creating the portfolio share.
    accountId string
    The AWS account ID.
    portfolioId string
    The portfolio identifier.
    acceptLanguage string
    The language code.
    shareTagOptions boolean
    Enables or disables TagOptions sharing when creating the portfolio share.
    account_id str
    The AWS account ID.
    portfolio_id str
    The portfolio identifier.
    accept_language str
    The language code.
    share_tag_options bool
    Enables or disables TagOptions sharing when creating the portfolio share.
    accountId String
    The AWS account ID.
    portfolioId String
    The portfolio identifier.
    acceptLanguage String
    The language code.
    shareTagOptions Boolean
    Enables or disables TagOptions sharing when creating the portfolio share.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate