Class IPortfolio.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.servicecatalog.IPortfolio.Jsii$Proxy
All Implemented Interfaces:
IEnvironmentAware, IEnvironmentAware.Jsii$Default, IPortfolioRef, IPortfolioRef.Jsii$Default, IResource, IResource.Jsii$Default, IPortfolio, IPortfolio.Jsii$Default, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default
Enclosing interface:
IPortfolio

@Internal public static final class IPortfolio.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IPortfolio.Jsii$Default
A proxy class which represents a concrete javascript instance of this type.
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
  • Method Details

    • constrainTagUpdates

      @Stability(Stable) public final void constrainTagUpdates(@NotNull IProduct product)
      Add a Resource Update Constraint.

      Specified by:
      constrainTagUpdates in interface IPortfolio
      Specified by:
      constrainTagUpdates in interface IPortfolio.Jsii$Default
      Parameters:
      product - This parameter is required.
    • notifyOnStackEvents

      @Stability(Stable) public final void notifyOnStackEvents(@NotNull IProduct product, @NotNull ITopic topic)
      Add notifications for supplied topics on the provisioned product.

      Specified by:
      notifyOnStackEvents in interface IPortfolio
      Specified by:
      notifyOnStackEvents in interface IPortfolio.Jsii$Default
      Parameters:
      product - 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.
    • setLaunchRole

      @Stability(Stable) public final void setLaunchRole(@NotNull IProduct product, @NotNull IRole launchRole)
      Force users to assume a certain role when launching a product.

      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.

      Specified by:
      setLaunchRole in interface IPortfolio
      Specified by:
      setLaunchRole in interface IPortfolio.Jsii$Default
      Parameters:
      product - A service catalog product. This parameter is required.
      launchRole - The IAM role a user must assume when provisioning the product. This parameter is required.
    • setLocalLaunchRole

      @Stability(Stable) public final void setLocalLaunchRole(@NotNull IProduct product, @NotNull IRole launchRole)
      Force users to assume a certain role when launching a product.

      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.

      Specified by:
      setLocalLaunchRole in interface IPortfolio
      Specified by:
      setLocalLaunchRole in interface IPortfolio.Jsii$Default
      Parameters:
      product - A service catalog product. This parameter is required.
      launchRole - The IAM role a user must assume when provisioning the product. This parameter is required.
    • setLocalLaunchRoleName

      @Stability(Stable) @NotNull public final IRole setLocalLaunchRoleName(@NotNull IProduct product, @NotNull String launchRoleName)
      Force users to assume a certain role when launching a product.

      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.

      Specified by:
      setLocalLaunchRoleName in interface IPortfolio
      Specified by:
      setLocalLaunchRoleName in interface IPortfolio.Jsii$Default
      Parameters:
      product - 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.
    • shareWithAccount

      @Stability(Stable) public final void shareWithAccount(@NotNull String accountId)
      Initiate a portfolio share with another account.

      Specified by:
      shareWithAccount in interface IPortfolio
      Specified by:
      shareWithAccount in interface IPortfolio.Jsii$Default
      Parameters:
      accountId - AWS account to share portfolio with. This parameter is required.