Class IPortfolio.Jsii$Proxy
- All Implemented Interfaces:
IConstruct,IConstruct.Jsii$Default,IDependable,IDependable.Jsii$Default,IResource,IResource.Jsii$Default,IPortfolio,IPortfolio.Jsii$Default,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default
- Enclosing interface:
- IPortfolio
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default, IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.core.IDependable
IDependable.Jsii$Default, IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.servicecatalog.IPortfolio
IPortfolio.Jsii$Default, IPortfolio.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddProduct(IProduct product) Associate portfolio with the given product.final voidapplyRemovalPolicy(RemovalPolicy policy) Apply the given removal policy to this resource.final voidassociateTagOptions(TagOptions tagOptions) Associate Tag Options.final voidconstrainCloudFormationParameters(IProduct product, CloudFormationRuleConstraintOptions options) Set provisioning rules for the product.final voidconstrainTagUpdates(IProduct product) Add a Resource Update Constraint.final voidconstrainTagUpdates(IProduct product, TagUpdateConstraintOptions options) Add a Resource Update Constraint.final voiddeployWithStackSets(IProduct product, StackSetsConstraintOptions options) Configure deployment options using AWS Cloudformation StackSets.final ResourceEnvironmentgetEnv()The environment this resource belongs to.final ConstructNodegetNode()The construct tree node for this construct.final StringThe ARN of the portfolio.final StringThe ID of the portfolio.final StackgetStack()The stack in which this resource is defined.final voidgiveAccessToGroup(IGroup group) Associate portfolio with an IAM Group.final voidgiveAccessToRole(IRole role) Associate portfolio with an IAM Role.final voidgiveAccessToUser(IUser user) Associate portfolio with an IAM User.final voidnotifyOnStackEvents(IProduct product, ITopic topic) Add notifications for supplied topics on the provisioned product.final voidnotifyOnStackEvents(IProduct product, ITopic topic, CommonConstraintOptions options) Add notifications for supplied topics on the provisioned product.final voidsetLaunchRole(IProduct product, IRole launchRole) Force users to assume a certain role when launching a product.final voidsetLaunchRole(IProduct product, IRole launchRole, CommonConstraintOptions options) Force users to assume a certain role when launching a product.final voidsetLocalLaunchRole(IProduct product, IRole launchRole) Force users to assume a certain role when launching a product.final voidsetLocalLaunchRole(IProduct product, IRole launchRole, CommonConstraintOptions options) Force users to assume a certain role when launching a product.final IRolesetLocalLaunchRoleName(IProduct product, String launchRoleName) Force users to assume a certain role when launching a product.final IRolesetLocalLaunchRoleName(IProduct product, String launchRoleName, CommonConstraintOptions options) Force users to assume a certain role when launching a product.final voidshareWithAccount(String accountId) Initiate a portfolio share with another account.final voidshareWithAccount(String accountId, PortfolioShareOptions options) Initiate a portfolio share with another account.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
-
-
Method Details
-
getNode
The construct tree node for this construct.- Specified by:
getNodein interfaceIConstruct- Specified by:
getNodein interfaceIConstruct.Jsii$Default- Specified by:
getNodein interfaceIPortfolio.Jsii$Default- Specified by:
getNodein interfaceIResource.Jsii$Default
-
getEnv
The environment this resource belongs to.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.
- Specified by:
getEnvin interfaceIPortfolio.Jsii$Default- Specified by:
getEnvin interfaceIResource- Specified by:
getEnvin interfaceIResource.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStackin interfaceIPortfolio.Jsii$Default- Specified by:
getStackin interfaceIResource- Specified by:
getStackin interfaceIResource.Jsii$Default
-
getPortfolioArn
The ARN of the portfolio.- Specified by:
getPortfolioArnin interfaceIPortfolio- Specified by:
getPortfolioArnin interfaceIPortfolio.Jsii$Default
-
getPortfolioId
The ID of the portfolio.- Specified by:
getPortfolioIdin interfaceIPortfolio- Specified by:
getPortfolioIdin interfaceIPortfolio.Jsii$Default
-
applyRemovalPolicy
Apply the given removal policy to this resource.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).- Specified by:
applyRemovalPolicyin interfaceIPortfolio.Jsii$Default- Specified by:
applyRemovalPolicyin interfaceIResource- Specified by:
applyRemovalPolicyin interfaceIResource.Jsii$Default- Parameters:
policy- This parameter is required.
-
addProduct
Associate portfolio with the given product.- Specified by:
addProductin interfaceIPortfolio- Specified by:
addProductin interfaceIPortfolio.Jsii$Default- Parameters:
product- A service catalog produt. This parameter is required.
-
associateTagOptions
Associate Tag Options.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.
- Specified by:
associateTagOptionsin interfaceIPortfolio- Specified by:
associateTagOptionsin interfaceIPortfolio.Jsii$Default- Parameters:
tagOptions- This parameter is required.
-
constrainCloudFormationParameters
@Stability(Stable) public final void constrainCloudFormationParameters(@NotNull IProduct product, @NotNull CloudFormationRuleConstraintOptions options) Set provisioning rules for the product.- Specified by:
constrainCloudFormationParametersin interfaceIPortfolio- Specified by:
constrainCloudFormationParametersin interfaceIPortfolio.Jsii$Default- Parameters:
product- A service catalog product. This parameter is required.options- options for the constraint. This parameter is required.
-
constrainTagUpdates
@Stability(Stable) public final void constrainTagUpdates(@NotNull IProduct product, @Nullable TagUpdateConstraintOptions options) Add a Resource Update Constraint.- Specified by:
constrainTagUpdatesin interfaceIPortfolio- Specified by:
constrainTagUpdatesin interfaceIPortfolio.Jsii$Default- Parameters:
product- This parameter is required.options-
-
constrainTagUpdates
Add a Resource Update Constraint.- Specified by:
constrainTagUpdatesin interfaceIPortfolio- Parameters:
product- This parameter is required.
-
deployWithStackSets
@Stability(Stable) public final void deployWithStackSets(@NotNull IProduct product, @NotNull StackSetsConstraintOptions options) Configure deployment options using AWS Cloudformation StackSets.- Specified by:
deployWithStackSetsin interfaceIPortfolio- Specified by:
deployWithStackSetsin interfaceIPortfolio.Jsii$Default- Parameters:
product- A service catalog product. This parameter is required.options- Configuration options for the constraint. This parameter is required.
-
giveAccessToGroup
Associate portfolio with an IAM Group.- Specified by:
giveAccessToGroupin interfaceIPortfolio- Specified by:
giveAccessToGroupin interfaceIPortfolio.Jsii$Default- Parameters:
group- an IAM Group. This parameter is required.
-
giveAccessToRole
Associate portfolio with an IAM Role.- Specified by:
giveAccessToRolein interfaceIPortfolio- Specified by:
giveAccessToRolein interfaceIPortfolio.Jsii$Default- Parameters:
role- an IAM role. This parameter is required.
-
giveAccessToUser
Associate portfolio with an IAM User.- Specified by:
giveAccessToUserin interfaceIPortfolio- Specified by:
giveAccessToUserin interfaceIPortfolio.Jsii$Default- Parameters:
user- an IAM user. This parameter is required.
-
notifyOnStackEvents
@Stability(Stable) public final void notifyOnStackEvents(@NotNull IProduct product, @NotNull ITopic topic, @Nullable CommonConstraintOptions options) Add notifications for supplied topics on the provisioned product.- Specified by:
notifyOnStackEventsin interfaceIPortfolio- Specified by:
notifyOnStackEventsin interfaceIPortfolio.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.options-
-
notifyOnStackEvents
@Stability(Stable) public final void notifyOnStackEvents(@NotNull IProduct product, @NotNull ITopic topic) Add notifications for supplied topics on the provisioned product.- Specified by:
notifyOnStackEventsin interfaceIPortfolio- 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, @Nullable CommonConstraintOptions options) 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:
setLaunchRolein interfaceIPortfolio- Specified by:
setLaunchRolein interfaceIPortfolio.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.options- options for the constraint.
-
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:
setLaunchRolein interfaceIPortfolio- 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, @Nullable CommonConstraintOptions options) 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:
setLocalLaunchRolein interfaceIPortfolio- Specified by:
setLocalLaunchRolein interfaceIPortfolio.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.options- options for the constraint.
-
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:
setLocalLaunchRolein interfaceIPortfolio- 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, @Nullable CommonConstraintOptions options) 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:
setLocalLaunchRoleNamein interfaceIPortfolio- Specified by:
setLocalLaunchRoleNamein interfaceIPortfolio.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.options- options for the constraint.
-
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:
setLocalLaunchRoleNamein interfaceIPortfolio- 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.
-