@Internal public static final class IPortfolio.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IPortfolio.Jsii$Default
software.amazon.jsii.JsiiObject.InitializationModeIPortfolio.Jsii$Default, IPortfolio.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProduct(IProduct product)
Associate portfolio with the given product.
|
void |
applyRemovalPolicy(RemovalPolicy policy)
Apply the given removal policy to this resource.
|
void |
associateTagOptions(TagOptions tagOptions)
Associate Tag Options.
|
void |
constrainCloudFormationParameters(IProduct product,
CloudFormationRuleConstraintOptions options)
Set provisioning rules for the product.
|
void |
constrainTagUpdates(IProduct product)
Add a Resource Update Constraint.
|
void |
constrainTagUpdates(IProduct product,
TagUpdateConstraintOptions options)
Add a Resource Update Constraint.
|
void |
deployWithStackSets(IProduct product,
StackSetsConstraintOptions options)
Configure deployment options using AWS Cloudformation StackSets.
|
ResourceEnvironment |
getEnv()
The environment this resource belongs to.
|
software.constructs.Node |
getNode()
The tree node.
|
String |
getPortfolioArn()
The ARN of the portfolio.
|
String |
getPortfolioId()
The ID of the portfolio.
|
Stack |
getStack()
The stack in which this resource is defined.
|
void |
giveAccessToGroup(IGroup group)
Associate portfolio with an IAM Group.
|
void |
giveAccessToRole(IRole role)
Associate portfolio with an IAM Role.
|
void |
giveAccessToUser(IUser user)
Associate portfolio with an IAM User.
|
void |
notifyOnStackEvents(IProduct product,
ITopic topic)
Add notifications for supplied topics on the provisioned product.
|
void |
notifyOnStackEvents(IProduct product,
ITopic topic,
CommonConstraintOptions options)
Add notifications for supplied topics on the provisioned product.
|
void |
setLaunchRole(IProduct product,
IRole launchRole)
Force users to assume a certain role when launching a product.
|
void |
setLaunchRole(IProduct product,
IRole launchRole,
CommonConstraintOptions options)
Force users to assume a certain role when launching a product.
|
void |
setLocalLaunchRole(IProduct product,
IRole launchRole)
Force users to assume a certain role when launching a product.
|
void |
setLocalLaunchRole(IProduct product,
IRole launchRole,
CommonConstraintOptions options)
Force users to assume a certain role when launching a product.
|
IRole |
setLocalLaunchRoleName(IProduct product,
String launchRoleName)
Force users to assume a certain role when launching a product.
|
IRole |
setLocalLaunchRoleName(IProduct product,
String launchRoleName,
CommonConstraintOptions options)
Force users to assume a certain role when launching a product.
|
void |
shareWithAccount(String accountId)
Initiate a portfolio share with another account.
|
void |
shareWithAccount(String accountId,
PortfolioShareOptions options)
Initiate a portfolio share with another account.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) @NotNull public final software.constructs.Node getNode()
getNode in interface IResource.Jsii$DefaultgetNode in interface IPortfolio.Jsii$DefaultgetNode in interface software.constructs.IConstructgetNode in interface software.constructs.IConstruct.Jsii$Default@Stability(value=Stable) @NotNull public final 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$DefaultgetEnv in interface IPortfolio.Jsii$Default@Stability(value=Stable) @NotNull public final Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$DefaultgetStack in interface IPortfolio.Jsii$Default@Stability(value=Stable) @NotNull public final String getPortfolioArn()
getPortfolioArn in interface IPortfoliogetPortfolioArn in interface IPortfolio.Jsii$Default@Stability(value=Stable) @NotNull public final String getPortfolioId()
getPortfolioId in interface IPortfoliogetPortfolioId in interface IPortfolio.Jsii$Default@Stability(value=Stable)
public final void applyRemovalPolicy(@NotNull
RemovalPolicy policy)
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (RemovalPolicy.DESTROY), or left in your AWS
account for data recovery and cleanup later (RemovalPolicy.RETAIN).
applyRemovalPolicy in interface IResourceapplyRemovalPolicy in interface IResource.Jsii$DefaultapplyRemovalPolicy in interface IPortfolio.Jsii$Defaultpolicy - This parameter is required.@Stability(value=Stable)
public final void addProduct(@NotNull
IProduct product)
addProduct in interface IPortfolioaddProduct in interface IPortfolio.Jsii$Defaultproduct - A service catalog produt. This parameter is required.@Stability(value=Stable)
public final 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 IPortfolioassociateTagOptions in interface IPortfolio.Jsii$DefaulttagOptions - This parameter is required.@Stability(value=Stable)
public final void constrainCloudFormationParameters(@NotNull
IProduct product,
@NotNull
CloudFormationRuleConstraintOptions options)
constrainCloudFormationParameters in interface IPortfolioconstrainCloudFormationParameters in interface IPortfolio.Jsii$Defaultproduct - A service catalog product. This parameter is required.options - options for the constraint. This parameter is required.@Stability(value=Stable)
public final void constrainTagUpdates(@NotNull
IProduct product,
@Nullable
TagUpdateConstraintOptions options)
constrainTagUpdates in interface IPortfolioconstrainTagUpdates in interface IPortfolio.Jsii$Defaultproduct - This parameter is required.options - @Stability(value=Stable)
public final void constrainTagUpdates(@NotNull
IProduct product)
constrainTagUpdates in interface IPortfolioproduct - This parameter is required.@Stability(value=Stable)
public final void deployWithStackSets(@NotNull
IProduct product,
@NotNull
StackSetsConstraintOptions options)
deployWithStackSets in interface IPortfoliodeployWithStackSets in interface IPortfolio.Jsii$Defaultproduct - A service catalog product. This parameter is required.options - Configuration options for the constraint. This parameter is required.@Stability(value=Stable)
public final void giveAccessToGroup(@NotNull
IGroup group)
giveAccessToGroup in interface IPortfoliogiveAccessToGroup in interface IPortfolio.Jsii$Defaultgroup - an IAM Group. This parameter is required.@Stability(value=Stable)
public final void giveAccessToRole(@NotNull
IRole role)
giveAccessToRole in interface IPortfoliogiveAccessToRole in interface IPortfolio.Jsii$Defaultrole - an IAM role. This parameter is required.@Stability(value=Stable)
public final void giveAccessToUser(@NotNull
IUser user)
giveAccessToUser in interface IPortfoliogiveAccessToUser in interface IPortfolio.Jsii$Defaultuser - an IAM user. This parameter is required.@Stability(value=Stable)
public final void notifyOnStackEvents(@NotNull
IProduct product,
@NotNull
ITopic topic,
@Nullable
CommonConstraintOptions options)
notifyOnStackEvents in interface IPortfolionotifyOnStackEvents in interface IPortfolio.Jsii$Defaultproduct - 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=Stable)
public final void notifyOnStackEvents(@NotNull
IProduct product,
@NotNull
ITopic topic)
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.@Stability(value=Stable)
public final void setLaunchRole(@NotNull
IProduct product,
@NotNull
IRole launchRole,
@Nullable
CommonConstraintOptions options)
This sets the launch role using the role arn which is tied to the account this role exists in. This is useful if you will be provisioning products from the account where this role exists. If you intend to share the portfolio across accounts, use a local launch role.
setLaunchRole in interface IPortfoliosetLaunchRole in interface IPortfolio.Jsii$Defaultproduct - 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=Stable)
public final void setLaunchRole(@NotNull
IProduct product,
@NotNull
IRole launchRole)
This sets the launch role using the role arn which is tied to the account this role exists in. This is useful if you will be provisioning products from the account where this role exists. If you intend to share the portfolio across accounts, use a local launch role.
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.@Stability(value=Stable)
public final void setLocalLaunchRole(@NotNull
IProduct product,
@NotNull
IRole launchRole,
@Nullable
CommonConstraintOptions options)
The role name will be referenced by in the local account and must be set explicitly. This is useful when sharing the portfolio with multiple accounts.
setLocalLaunchRole in interface IPortfoliosetLocalLaunchRole in interface IPortfolio.Jsii$Defaultproduct - 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=Stable)
public final void setLocalLaunchRole(@NotNull
IProduct product,
@NotNull
IRole launchRole)
The role name will be referenced by in the local account and must be set explicitly. This is useful when sharing the portfolio with multiple accounts.
setLocalLaunchRole 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.@Stability(value=Stable) @NotNull public final IRole setLocalLaunchRoleName(@NotNull IProduct product, @NotNull String launchRoleName, @Nullable CommonConstraintOptions options)
The role will be referenced by name in the local account instead of a static role arn. A role with this name will automatically be created and assumable by Service Catalog in this account. This is useful when sharing the portfolio with multiple accounts.
setLocalLaunchRoleName in interface IPortfoliosetLocalLaunchRoleName in interface IPortfolio.Jsii$Defaultproduct - A service catalog product. This parameter is required.launchRoleName - The name of the IAM role a user must assume when provisioning the product. This parameter is required.options - options for the constraint.@Stability(value=Stable) @NotNull public final IRole setLocalLaunchRoleName(@NotNull IProduct product, @NotNull String launchRoleName)
The role will be referenced by name in the local account instead of a static role arn. A role with this name will automatically be created and assumable by Service Catalog in this account. This is useful when sharing the portfolio with multiple accounts.
setLocalLaunchRoleName in interface IPortfolioproduct - A service catalog product. This parameter is required.launchRoleName - The name of the IAM role a user must assume when provisioning the product. This parameter is required.@Stability(value=Stable)
public final void shareWithAccount(@NotNull
String accountId,
@Nullable
PortfolioShareOptions options)
shareWithAccount in interface IPortfolioshareWithAccount in interface IPortfolio.Jsii$DefaultaccountId - AWS account to share portfolio with. This parameter is required.options - Options for the initiate share.@Stability(value=Stable)
public final void shareWithAccount(@NotNull
String accountId)
shareWithAccount in interface IPortfolioaccountId - AWS account to share portfolio with. This parameter is required.Copyright © 2022. All rights reserved.