We recommend new projects start with resources from the AWS provider.
aws-native.servicecatalog.PortfolioShare
We recommend new projects start with resources from the AWS provider.
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:
- Account
Id string - The AWS account ID.
- Portfolio
Id string - The portfolio identifier.
- Accept
Language string - The language code.
- bool
- Enables or disables TagOptions sharing when creating the portfolio share.
- Account
Id string - The AWS account ID.
- Portfolio
Id string - The portfolio identifier.
- Accept
Language string - The language code.
- bool
- Enables or disables TagOptions sharing when creating the portfolio share.
- account
Id String - The AWS account ID.
- portfolio
Id String - The portfolio identifier.
- accept
Language String - The language code.
- Boolean
- Enables or disables TagOptions sharing when creating the portfolio share.
- account
Id string - The AWS account ID.
- portfolio
Id string - The portfolio identifier.
- accept
Language string - The language code.
- 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.
- bool
- Enables or disables TagOptions sharing when creating the portfolio share.
- account
Id String - The AWS account ID.
- portfolio
Id String - The portfolio identifier.
- accept
Language String - The language code.
- 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
We recommend new projects start with resources from the AWS provider.
