interface ShareOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Servicecatalogappregistry.Alpha.ShareOptions |
![]() | github.com/aws/aws-cdk-go/awscdkservicecatalogappregistryalpha/v2#ShareOptions |
![]() | software.amazon.awscdk.services.servicecatalogappregistry.alpha.ShareOptions |
![]() | aws_cdk.aws_servicecatalogappregistry_alpha.ShareOptions |
![]() | @aws-cdk/aws-servicecatalogappregistry-alpha ยป ShareOptions |
The options that are passed into a share of an Application or Attribute Group.
Example
import * as iam from 'aws-cdk-lib/aws-iam';
declare const application: appreg.Application;
declare const myRole: iam.IRole;
declare const myUser: iam.IUser;
application.shareApplication('MyShareId', {
name:'MyShare',
accounts: ['123456789012'],
organizationArns: ['arn:aws:organizations::123456789012:organization/o-my-org-id'],
roles: [myRole],
users: [myUser],
});
Properties
Name | Type | Description |
---|---|---|
name | string | Name of the share. |
accounts? | string[] | A list of AWS accounts that the application will be shared with. |
organization | string[] | A list of AWS Organization or Organizational Units (OUs) ARNs that the application will be shared with. |
roles? | IRole [] | A list of AWS IAM roles that the application will be shared with. |
share | string | Share | An option to manage access to the application or attribute group. |
users? | IUser [] | A list of AWS IAM users that the application will be shared with. |
name
Type:
string
Name of the share.
accounts?
Type:
string[]
(optional, default: No accounts specified for share)
A list of AWS accounts that the application will be shared with.
organizationArns?
Type:
string[]
(optional, default: No AWS Organizations or OUs specified for share)
A list of AWS Organization or Organizational Units (OUs) ARNs that the application will be shared with.
roles?
Type:
IRole
[]
(optional, default: No IAM roles specified for share)
A list of AWS IAM roles that the application will be shared with.
sharePermission?
Type:
string |
Share
(optional, default: Principals will be assigned read only permissions on the application or attribute group.)
An option to manage access to the application or attribute group.
users?
Type:
IUser
[]
(optional, default: No IAM Users specified for share)
A list of AWS IAM users that the application will be shared with.