@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-07-09T19:17:58.079Z") @Stability(value=Experimental) public interface IPortfolio extends software.amazon.jsii.JsiiSerializable, IResource
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IPortfolio.Jsii$Default
Internal default implementation for
IPortfolio. |
static class |
IPortfolio.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
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.
|
getNode@Stability(value=Experimental) @NotNull String getPortfolioArn()
@Stability(value=Experimental) @NotNull String getPortfolioId()
@Stability(value=Experimental)
void giveAccessToGroup(@NotNull
IGroup group)
group - an IAM Group. This parameter is required.@Stability(value=Experimental)
void giveAccessToRole(@NotNull
IRole role)
role - an IAM role. This parameter is required.@Stability(value=Experimental)
void giveAccessToUser(@NotNull
IUser user)
user - an IAM user. This parameter is required.@Stability(value=Experimental)
void shareWithAccount(@NotNull
String accountId,
@Nullable
PortfolioShareOptions options)
accountId - AWS account to share portfolio with. This parameter is required.options - Options for the initiate share.@Stability(value=Experimental)
void shareWithAccount(@NotNull
String accountId)
accountId - AWS account to share portfolio with. This parameter is required.Copyright © 2021. All rights reserved.