@Generated(value="jsii-pacmak/1.34.0 (build 9b72778)", date="2021-09-17T00:39:52.711Z") @Stability(value=Experimental) public class Portfolio extends Resource implements IPortfolio
| Modifier and Type | Class and Description |
|---|---|
static class |
Portfolio.Builder
(experimental) A fluent builder for
Portfolio. |
software.amazon.jsii.JsiiObject.InitializationModeIPortfolio.Jsii$Default, IPortfolio.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
Portfolio(software.constructs.Construct scope,
String id,
PortfolioProps props) |
protected |
Portfolio(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Portfolio(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProduct(IProduct product)
(experimental) Associate portfolio with the given product.
|
void |
associateTagOptions(TagOptions tagOptions)
(experimental) Associate Tag Options.
|
void |
constrainCloudFormationParameters(IProduct product,
CloudFormationRuleConstraintOptions options)
(experimental) Set provisioning rules for the product.
|
void |
constrainTagUpdates(IProduct product)
(experimental) Add a Resource Update Constraint.
|
void |
constrainTagUpdates(IProduct product,
TagUpdateConstraintOptions options)
(experimental) Add a Resource Update Constraint.
|
void |
deployWithStackSets(IProduct product,
StackSetsConstraintOptions options)
(experimental) Configure deployment options using AWS Cloudformaiton StackSets.
|
static IPortfolio |
fromPortfolioArn(software.constructs.Construct scope,
String id,
String portfolioArn)
(experimental) Creates a Portfolio construct that represents an external portfolio.
|
protected String |
generateUniqueHash(String value)
(experimental) Create a unique id based off the L1 CfnPortfolio or the arn of an imported portfolio.
|
String |
getPortfolioArn()
(experimental) The ARN of the portfolio.
|
String |
getPortfolioId()
(experimental) The ID of the portfolio.
|
void |
giveAccessToGroup(IGroup group)
(experimental) Associate portfolio with an IAM Group.
|
void |
giveAccessToRole(IRole role)
(experimental) Associate portfolio with an IAM Role.
|
void |
giveAccessToUser(IUser user)
(experimental) Associate portfolio with an IAM User.
|
void |
notifyOnStackEvents(IProduct product,
ITopic topic)
(experimental) Add notifications for supplied topics on the provisioned product.
|
void |
notifyOnStackEvents(IProduct product,
ITopic topic,
CommonConstraintOptions options)
(experimental) Add notifications for supplied topics on the provisioned product.
|
void |
setLaunchRole(IProduct product,
IRole launchRole)
(experimental) Force users to assume a certain role when launching a product.
|
void |
setLaunchRole(IProduct product,
IRole launchRole,
CommonConstraintOptions options)
(experimental) Force users to assume a certain role when launching a product.
|
void |
shareWithAccount(String accountId)
(experimental) Initiate a portfolio share with another account.
|
void |
shareWithAccount(String accountId,
PortfolioShareOptions options)
(experimental) Initiate a portfolio share with another account.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNodeprotected Portfolio(software.amazon.jsii.JsiiObjectRef objRef)
protected Portfolio(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public Portfolio(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
PortfolioProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static IPortfolio fromPortfolioArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String portfolioArn)
scope - The parent creating construct (usually `this`). This parameter is required.id - The construct's name. This parameter is required.portfolioArn - the Amazon Resource Name of the existing portfolio. This parameter is required.@Stability(value=Experimental)
public void addProduct(@NotNull
IProduct product)
addProduct in interface IPortfolioproduct - This parameter is required.@Stability(value=Experimental)
public void associateTagOptions(@NotNull
TagOptions tagOptions)
A TagOption is a key-value pair managed in AWS Service Catalog. It is not an AWS tag, but serves as a template for creating an AWS tag based on the TagOption.
associateTagOptions in interface IPortfoliotagOptions - This parameter is required.@Stability(value=Experimental)
public void constrainCloudFormationParameters(@NotNull
IProduct product,
@NotNull
CloudFormationRuleConstraintOptions options)
constrainCloudFormationParameters in interface IPortfolioproduct - This parameter is required.options - This parameter is required.@Stability(value=Experimental)
public void constrainTagUpdates(@NotNull
IProduct product,
@Nullable
TagUpdateConstraintOptions options)
constrainTagUpdates in interface IPortfolioproduct - This parameter is required.options - @Stability(value=Experimental)
public void constrainTagUpdates(@NotNull
IProduct product)
constrainTagUpdates in interface IPortfolioproduct - This parameter is required.@Stability(value=Experimental)
public void deployWithStackSets(@NotNull
IProduct product,
@NotNull
StackSetsConstraintOptions options)
deployWithStackSets in interface IPortfolioproduct - This parameter is required.options - This parameter is required.@Stability(value=Experimental) @NotNull protected String generateUniqueHash(@NotNull String value)
value - This parameter is required.@Stability(value=Experimental)
public void giveAccessToGroup(@NotNull
IGroup group)
giveAccessToGroup in interface IPortfoliogroup - This parameter is required.@Stability(value=Experimental)
public void giveAccessToRole(@NotNull
IRole role)
giveAccessToRole in interface IPortfoliorole - This parameter is required.@Stability(value=Experimental)
public void giveAccessToUser(@NotNull
IUser user)
giveAccessToUser in interface IPortfoliouser - This parameter is required.@Stability(value=Experimental)
public void notifyOnStackEvents(@NotNull
IProduct product,
@NotNull
ITopic topic,
@Nullable
CommonConstraintOptions options)
notifyOnStackEvents in interface IPortfolioproduct - This parameter is required.topic - This parameter is required.options - @Stability(value=Experimental)
public void notifyOnStackEvents(@NotNull
IProduct product,
@NotNull
ITopic topic)
notifyOnStackEvents in interface IPortfolioproduct - This parameter is required.topic - This parameter is required.@Stability(value=Experimental)
public void setLaunchRole(@NotNull
IProduct product,
@NotNull
IRole launchRole,
@Nullable
CommonConstraintOptions options)
setLaunchRole in interface IPortfolioproduct - This parameter is required.launchRole - This parameter is required.options - @Stability(value=Experimental)
public void setLaunchRole(@NotNull
IProduct product,
@NotNull
IRole launchRole)
setLaunchRole in interface IPortfolioproduct - This parameter is required.launchRole - This parameter is required.@Stability(value=Experimental)
public void shareWithAccount(@NotNull
String accountId,
@Nullable
PortfolioShareOptions options)
shareWithAccount in interface IPortfolioaccountId - This parameter is required.options - @Stability(value=Experimental)
public void shareWithAccount(@NotNull
String accountId)
shareWithAccount in interface IPortfolioaccountId - This parameter is required.@Stability(value=Experimental) @NotNull public String getPortfolioArn()
getPortfolioArn in interface IPortfolio@Stability(value=Experimental) @NotNull public String getPortfolioId()
getPortfolioId in interface IPortfolioCopyright © 2021. All rights reserved.