Interface IShareOptions
(experimental) The options that are passed into a share of an Application or Attribute Group.
Namespace: Amazon.CDK.AWS.Servicecatalogappregistry.Alpha
Assembly: Amazon.CDK.AWS.ServiceCatalogAppRegistry.Alpha.dll
Syntax (csharp)
public interface IShareOptions
Syntax (vb)
Public Interface IShareOptions
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.IAM;
Application application;
IRole myRole;
IUser myUser;
application.ShareApplication("MyShareId", new ShareOptions {
Name = "MyShare",
Accounts = new [] { "123456789012" },
OrganizationArns = new [] { "arn:aws:organizations::123456789012:organization/o-my-org-id" },
Roles = new [] { myRole },
Users = new [] { myUser }
});
Synopsis
Properties
Accounts | (experimental) A list of AWS accounts that the application will be shared with. |
Name | (experimental) Name of the share. |
OrganizationArns | (experimental) A list of AWS Organization or Organizational Units (OUs) ARNs that the application will be shared with. |
Roles | (experimental) A list of AWS IAM roles that the application will be shared with. |
SharePermission | (experimental) An option to manage access to the application or attribute group. |
Users | (experimental) A list of AWS IAM users that the application will be shared with. |
Properties
Accounts
(experimental) A list of AWS accounts that the application will be shared with.
virtual string[] Accounts { get; }
Property Value
System.String[]
Remarks
Default: - No accounts specified for share
Stability: Experimental
Name
(experimental) Name of the share.
string Name { get; }
Property Value
System.String
Remarks
Stability: Experimental
OrganizationArns
(experimental) A list of AWS Organization or Organizational Units (OUs) ARNs that the application will be shared with.
virtual string[] OrganizationArns { get; }
Property Value
System.String[]
Remarks
Default: - No AWS Organizations or OUs specified for share
Stability: Experimental
Roles
(experimental) A list of AWS IAM roles that the application will be shared with.
virtual IRole[] Roles { get; }
Property Value
IRole[]
Remarks
Default: - No IAM roles specified for share
Stability: Experimental
SharePermission
(experimental) An option to manage access to the application or attribute group.
virtual object SharePermission { get; }
Property Value
System.Object
Remarks
Default: - Principals will be assigned read only permissions on the application or attribute group.
Stability: Experimental
Users
(experimental) A list of AWS IAM users that the application will be shared with.
virtual IUser[] Users { get; }
Property Value
IUser[]
Remarks
Default: - No IAM Users specified for share
Stability: Experimental