We recommend new projects start with resources from the AWS provider.
aws-native.servicecatalog.PortfolioPrincipalAssociation
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::ServiceCatalog::PortfolioPrincipalAssociation
Create PortfolioPrincipalAssociation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PortfolioPrincipalAssociation(name: string, args: PortfolioPrincipalAssociationArgs, opts?: CustomResourceOptions);@overload
def PortfolioPrincipalAssociation(resource_name: str,
args: PortfolioPrincipalAssociationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PortfolioPrincipalAssociation(resource_name: str,
opts: Optional[ResourceOptions] = None,
principal_type: Optional[str] = None,
accept_language: Optional[str] = None,
portfolio_id: Optional[str] = None,
principal_arn: Optional[str] = None)func NewPortfolioPrincipalAssociation(ctx *Context, name string, args PortfolioPrincipalAssociationArgs, opts ...ResourceOption) (*PortfolioPrincipalAssociation, error)public PortfolioPrincipalAssociation(string name, PortfolioPrincipalAssociationArgs args, CustomResourceOptions? opts = null)
public PortfolioPrincipalAssociation(String name, PortfolioPrincipalAssociationArgs args)
public PortfolioPrincipalAssociation(String name, PortfolioPrincipalAssociationArgs args, CustomResourceOptions options)
type: aws-native:servicecatalog:PortfolioPrincipalAssociation
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 PortfolioPrincipalAssociationArgs
- 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 PortfolioPrincipalAssociationArgs
- 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 PortfolioPrincipalAssociationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PortfolioPrincipalAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PortfolioPrincipalAssociationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
PortfolioPrincipalAssociation 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 PortfolioPrincipalAssociation resource accepts the following input properties:
- Principal
Type string - The principal type. The supported value is IAM if you use a fully defined Amazon Resource Name (ARN), or IAM_PATTERN if you use an ARN with no accountID, with or without wildcard characters.
- Accept
Language string - The language code.
- Portfolio
Id string - The portfolio identifier.
- Principal
Arn string - The ARN of the principal (user, role, or group).
- Principal
Type string - The principal type. The supported value is IAM if you use a fully defined Amazon Resource Name (ARN), or IAM_PATTERN if you use an ARN with no accountID, with or without wildcard characters.
- Accept
Language string - The language code.
- Portfolio
Id string - The portfolio identifier.
- Principal
Arn string - The ARN of the principal (user, role, or group).
- principal
Type String - The principal type. The supported value is IAM if you use a fully defined Amazon Resource Name (ARN), or IAM_PATTERN if you use an ARN with no accountID, with or without wildcard characters.
- accept
Language String - The language code.
- portfolio
Id String - The portfolio identifier.
- principal
Arn String - The ARN of the principal (user, role, or group).
- principal
Type string - The principal type. The supported value is IAM if you use a fully defined Amazon Resource Name (ARN), or IAM_PATTERN if you use an ARN with no accountID, with or without wildcard characters.
- accept
Language string - The language code.
- portfolio
Id string - The portfolio identifier.
- principal
Arn string - The ARN of the principal (user, role, or group).
- principal_
type str - The principal type. The supported value is IAM if you use a fully defined Amazon Resource Name (ARN), or IAM_PATTERN if you use an ARN with no accountID, with or without wildcard characters.
- accept_
language str - The language code.
- portfolio_
id str - The portfolio identifier.
- principal_
arn str - The ARN of the principal (user, role, or group).
- principal
Type String - The principal type. The supported value is IAM if you use a fully defined Amazon Resource Name (ARN), or IAM_PATTERN if you use an ARN with no accountID, with or without wildcard characters.
- accept
Language String - The language code.
- portfolio
Id String - The portfolio identifier.
- principal
Arn String - The ARN of the principal (user, role, or group).
Outputs
All input properties are implicitly available as output properties. Additionally, the PortfolioPrincipalAssociation 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.
