@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 |
|---|---|
ResourceEnvironment |
getEnv()
The environment this resource belongs to.
|
ConstructNode |
getNode()
The construct tree node for this construct.
|
String |
getPortfolioArn()
(experimental) The ARN of the portfolio.
|
String |
getPortfolioId()
(experimental) The ID of the portfolio.
|
Stack |
getStack()
The stack in which this resource is defined.
|
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.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) @NotNull public final ConstructNode getNode()
getNode in interface IResource.Jsii$DefaultgetNode in interface IPortfolio.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=Experimental) @NotNull public final String getPortfolioArn()
getPortfolioArn in interface IPortfoliogetPortfolioArn in interface IPortfolio.Jsii$Default@Stability(value=Experimental) @NotNull public final String getPortfolioId()
getPortfolioId in interface IPortfoliogetPortfolioId in interface IPortfolio.Jsii$Default@Stability(value=Experimental)
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=Experimental)
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=Experimental)
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=Experimental)
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=Experimental)
public final void shareWithAccount(@NotNull
String accountId)
shareWithAccount in interface IPortfolioaccountId - AWS account to share portfolio with. This parameter is required.Copyright © 2021. All rights reserved.