@Internal public static interface IPortfolio.Jsii$Default extends IPortfolio, IResource.Jsii$Default
IPortfolio.IPortfolio.Jsii$Default, IPortfolio.Jsii$Proxy| Modifier and Type | Method and Description |
|---|---|
default ResourceEnvironment |
getEnv()
The environment this resource belongs to.
|
default ConstructNode |
getNode()
The construct tree node for this construct.
|
default String |
getPortfolioArn()
(experimental) The ARN of the portfolio.
|
default String |
getPortfolioId()
(experimental) The ID of the portfolio.
|
default Stack |
getStack()
The stack in which this resource is defined.
|
default void |
giveAccessToGroup(IGroup group)
(experimental) Associate portfolio with an IAM Group.
|
default void |
giveAccessToRole(IRole role)
(experimental) Associate portfolio with an IAM Role.
|
default void |
giveAccessToUser(IUser user)
(experimental) Associate portfolio with an IAM User.
|
default void |
shareWithAccount(String accountId,
PortfolioShareOptions options)
(experimental) Initiate a portfolio share with another account.
|
shareWithAccount@Stability(value=Stable) @NotNull default ConstructNode getNode()
getNode in interface IResource.Jsii$Default@Stability(value=Stable) @NotNull default 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$Default@Stability(value=Stable) @NotNull default Stack getStack()
getStack in interface IResourcegetStack in interface IResource.Jsii$Default@Stability(value=Experimental) @NotNull default String getPortfolioArn()
getPortfolioArn in interface IPortfolio@Stability(value=Experimental) @NotNull default String getPortfolioId()
getPortfolioId in interface IPortfolio@Stability(value=Experimental)
default void giveAccessToGroup(@NotNull
IGroup group)
giveAccessToGroup in interface IPortfoliogroup - an IAM Group. This parameter is required.@Stability(value=Experimental)
default void giveAccessToRole(@NotNull
IRole role)
giveAccessToRole in interface IPortfoliorole - an IAM role. This parameter is required.@Stability(value=Experimental)
default void giveAccessToUser(@NotNull
IUser user)
giveAccessToUser in interface IPortfoliouser - an IAM user. This parameter is required.@Stability(value=Experimental)
default void shareWithAccount(@NotNull
String accountId,
@Nullable
PortfolioShareOptions options)
shareWithAccount in interface IPortfolioaccountId - AWS account to share portfolio with. This parameter is required.options - Options for the initiate share.Copyright © 2021. All rights reserved.