@Internal public static interface IPortfolio.Jsii$Default extends IPortfolio, IResource.Jsii$Default
IPortfolio.IPortfolio.Jsii$Default, IPortfolio.Jsii$Proxy| Modifier and Type | Method and Description |
|---|---|
default void |
addProduct(IProduct product)
(experimental) Associate portfolio with the given product.
|
default void |
associateTagOptions(TagOptions tagOptions)
(experimental) Associate Tag Options.
|
default void |
constrainCloudFormationParameters(IProduct product,
CloudFormationRuleConstraintOptions options)
(experimental) Set provisioning rules for the product.
|
default void |
constrainTagUpdates(IProduct product,
TagUpdateConstraintOptions options)
(experimental) Add a Resource Update Constraint.
|
default void |
deployWithStackSets(IProduct product,
StackSetsConstraintOptions options)
(experimental) Configure deployment options using AWS Cloudformaiton StackSets.
|
default ResourceEnvironment |
getEnv()
The environment this resource belongs to.
|
default ConstructNode |
getNode()
The construct tree node for this construct.
|
default String |
getPortfolioArn()
(experimental) The ARN of the portfolio.
|
default String |
getPortfolioId()
(experimental) The ID of the portfolio.
|
default Stack |
getStack()
The stack in which this resource is defined.
|
default void |
giveAccessToGroup(IGroup group)
(experimental) Associate portfolio with an IAM Group.
|
default void |
giveAccessToRole(IRole role)
(experimental) Associate portfolio with an IAM Role.
|
default void |
giveAccessToUser(IUser user)
(experimental) Associate portfolio with an IAM User.
|
default void |
notifyOnStackEvents(IProduct product,
ITopic topic,
CommonConstraintOptions options)
(experimental) Add notifications for supplied topics on the provisioned product.
|
default void |
setLaunchRole(IProduct product,
IRole launchRole,
CommonConstraintOptions options)
(experimental) Force users to assume a certain role when launching a product.
|
default void |
shareWithAccount(String accountId,
PortfolioShareOptions options)
(experimental) Initiate a portfolio share with another account.
|
constrainTagUpdates, notifyOnStackEvents, setLaunchRole, shareWithAccount@Stability(value=Stable) @NotNull default ConstructNode getNode()
getNode in interface IResource.Jsii$Default@Stability(value=Stable) @NotNull default ResourceEnvironment getEnv()
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
getEnv in interface IResourcegetEnv in interface IResource.Jsii$Default@Stability(value=Stable) @NotNull default Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$Default@Stability(value=Experimental) @NotNull default String getPortfolioArn()
getPortfolioArn in interface IPortfolio@Stability(value=Experimental) @NotNull default String getPortfolioId()
getPortfolioId in interface IPortfolio@Stability(value=Experimental)
default void addProduct(@NotNull
IProduct product)
addProduct in interface IPortfolioproduct - A service catalog produt. This parameter is required.@Stability(value=Experimental)
default 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)
default void constrainCloudFormationParameters(@NotNull
IProduct product,
@NotNull
CloudFormationRuleConstraintOptions options)
constrainCloudFormationParameters in interface IPortfolioproduct - A service catalog product. This parameter is required.options - options for the constraint. This parameter is required.@Stability(value=Experimental)
default void constrainTagUpdates(@NotNull
IProduct product,
@Nullable
TagUpdateConstraintOptions options)
constrainTagUpdates in interface IPortfolioproduct - This parameter is required.options - @Stability(value=Experimental)
default void deployWithStackSets(@NotNull
IProduct product,
@NotNull
StackSetsConstraintOptions options)
deployWithStackSets in interface IPortfolioproduct - A service catalog product. This parameter is required.options - Configuration options for the constraint. This parameter is required.@Stability(value=Experimental)
default void giveAccessToGroup(@NotNull
IGroup group)
giveAccessToGroup in interface IPortfoliogroup - an IAM Group. This parameter is required.@Stability(value=Experimental)
default void giveAccessToRole(@NotNull
IRole role)
giveAccessToRole in interface IPortfoliorole - an IAM role. This parameter is required.@Stability(value=Experimental)
default void giveAccessToUser(@NotNull
IUser user)
giveAccessToUser in interface IPortfoliouser - an IAM user. This parameter is required.@Stability(value=Experimental)
default void notifyOnStackEvents(@NotNull
IProduct product,
@NotNull
ITopic topic,
@Nullable
CommonConstraintOptions options)
notifyOnStackEvents in interface IPortfolioproduct - A service catalog product. This parameter is required.topic - A SNS Topic to receive notifications on events related to the provisioned product. This parameter is required.options - @Stability(value=Experimental)
default void setLaunchRole(@NotNull
IProduct product,
@NotNull
IRole launchRole,
@Nullable
CommonConstraintOptions options)
setLaunchRole in interface IPortfolioproduct - A service catalog product. This parameter is required.launchRole - The IAM role a user must assume when provisioning the product. This parameter is required.options - options for the constraint.@Stability(value=Experimental)
default void shareWithAccount(@NotNull
String accountId,
@Nullable
PortfolioShareOptions options)
shareWithAccount in interface IPortfolioaccountId - AWS account to share portfolio with. This parameter is required.options - Options for the initiate share.Copyright © 2021. All rights reserved.