Class CfnPortfolioPrincipalAssociation
Associates the specified principal ARN with the specified portfolio.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Servicecatalog
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPortfolioPrincipalAssociation : CfnResource, IInspectable
Syntax (vb)
Public Class CfnPortfolioPrincipalAssociation
Inherits CfnResource
Implements IInspectable
Remarks
CloudformationResource: AWS::ServiceCatalog::PortfolioPrincipalAssociation
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Servicecatalog;
var cfnPortfolioPrincipalAssociation = new CfnPortfolioPrincipalAssociation(this, "MyCfnPortfolioPrincipalAssociation", new CfnPortfolioPrincipalAssociationProps {
PortfolioId = "portfolioId",
PrincipalArn = "principalArn",
PrincipalType = "principalType",
// the properties below are optional
AcceptLanguage = "acceptLanguage"
});
Synopsis
Constructors
CfnPortfolioPrincipalAssociation(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnPortfolioPrincipalAssociation(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnPortfolioPrincipalAssociation(Construct, String, ICfnPortfolioPrincipalAssociationProps) |
Properties
AcceptLanguage | The language code. |
AttrId | |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
PortfolioId | The portfolio identifier. |
PrincipalArn | The ARN of the principal ( IAM user, role, or group). |
PrincipalType | The principal type. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnPortfolioPrincipalAssociation(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnPortfolioPrincipalAssociation(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnPortfolioPrincipalAssociation(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnPortfolioPrincipalAssociation(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnPortfolioPrincipalAssociation(Construct, String, ICfnPortfolioPrincipalAssociationProps)
public CfnPortfolioPrincipalAssociation(Construct scope, string id, ICfnPortfolioPrincipalAssociationProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnPortfolioPrincipalAssociationProps
Resource properties.
Properties
AcceptLanguage
The language code.
public virtual string AcceptLanguage { get; set; }
Property Value
System.String
AttrId
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
PortfolioId
The portfolio identifier.
public virtual string PortfolioId { get; set; }
Property Value
System.String
PrincipalArn
The ARN of the principal ( IAM user, role, or group).
public virtual string PrincipalArn { get; set; }
Property Value
System.String
PrincipalType
The principal type.
public virtual string PrincipalType { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>