@Generated(value="jsii-pacmak/1.66.0 (build 3c9512b)", date="2022-08-31T19:38:33.155Z") @Stability(value=Experimental) public interface ShareOptions extends software.amazon.jsii.JsiiSerializable
Example:
import software.amazon.awscdk.services.iam.*;
Application application;
IRole myRole;
IUser myUser;
application.shareApplication(ShareOptions.builder()
.accounts(List.of("123456789012"))
.organizationArns(List.of("arn:aws:organizations::123456789012:organization/o-my-org-id"))
.roles(List.of(myRole))
.users(List.of(myUser))
.build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
ShareOptions.Builder
A builder for
ShareOptions |
static class |
ShareOptions.Jsii$Proxy
An implementation for
ShareOptions |
| Modifier and Type | Method and Description |
|---|---|
static ShareOptions.Builder |
builder() |
default List<String> |
getAccounts()
(experimental) A list of AWS accounts that the application will be shared with.
|
default List<String> |
getOrganizationArns()
(experimental) A list of AWS Organization or Organizational Units (OUs) ARNs that the application will be shared with.
|
default List<IRole> |
getRoles()
(experimental) A list of AWS IAM roles that the application will be shared with.
|
default Object |
getSharePermission()
(experimental) An option to manage access to the application or attribute group.
|
default List<IUser> |
getUsers()
(experimental) A list of AWS IAM users that the application will be shared with.
|
@Stability(value=Experimental) @Nullable default List<String> getAccounts()
Default: - No accounts specified for share
@Stability(value=Experimental) @Nullable default List<String> getOrganizationArns()
Default: - No AWS Organizations or OUs specified for share
@Stability(value=Experimental) @Nullable default List<IRole> getRoles()
Default: - No IAM roles specified for share
@Stability(value=Experimental) @Nullable default Object getSharePermission()
Default: - Principals will be assigned read only permissions on the application or attribute group.
@Stability(value=Experimental) @Nullable default List<IUser> getUsers()
Default: - No IAM Users specified for share
@Stability(value=Experimental) static ShareOptions.Builder builder()
ShareOptions.Builder of ShareOptionsCopyright © 2022. All rights reserved.