Class CfnPortfolio
Specifies a portfolio.
Inherited Members
Namespace: Amazon.CDK.AWS.Servicecatalog
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPortfolio : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnPortfolio
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
CloudformationResource: AWS::ServiceCatalog::Portfolio
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 cfnPortfolio = new CfnPortfolio(this, "MyCfnPortfolio", new CfnPortfolioProps {
DisplayName = "displayName",
ProviderName = "providerName",
// the properties below are optional
AcceptLanguage = "acceptLanguage",
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnPortfolio(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnPortfolio(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnPortfolio(Construct, String, ICfnPortfolioProps) |
Properties
AcceptLanguage | The language code. |
AttrId | The portfolio identifier. |
AttrPortfolioName | The name of the portfolio. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | The description of the portfolio. |
DisplayName | The name to use for display purposes. |
ProviderName | The name of the portfolio provider. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | One or more tags. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnPortfolio(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnPortfolio(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnPortfolio(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnPortfolio(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnPortfolio(Construct, String, ICfnPortfolioProps)
public CfnPortfolio(Construct scope, string id, ICfnPortfolioProps 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 ICfnPortfolioProps
Resource properties.
Properties
AcceptLanguage
The language code.
public virtual string AcceptLanguage { get; set; }
Property Value
System.String
AttrId
The portfolio identifier.
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
AttrPortfolioName
The name of the portfolio.
public virtual string AttrPortfolioName { get; }
Property Value
System.String
Remarks
CloudformationAttribute: PortfolioName
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
Description
The description of the portfolio.
public virtual string Description { get; set; }
Property Value
System.String
DisplayName
The name to use for display purposes.
public virtual string DisplayName { get; set; }
Property Value
System.String
ProviderName
The name of the portfolio provider.
public virtual string ProviderName { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
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>