@aws-cdk_aws-servicecatalogappregistry-alpha.ShareOptions

interface ShareOptions ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Servicecatalogappregistry.Alpha.ShareOptions
Gogithub.com/aws/aws-cdk-go/awscdkservicecatalogappregistryalpha/v2#ShareOptions
Javasoftware.amazon.awscdk.services.servicecatalogappregistry.alpha.ShareOptions
Pythonaws_cdk.aws_servicecatalogappregistry_alpha.ShareOptions
TypeScript (source)@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

NameTypeDescription
name๐Ÿ”นstringName of the share.
accounts?๐Ÿ”นstring[]A list of AWS accounts that the application will be shared with.
organizationArns?๐Ÿ”น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.
sharePermission?๐Ÿ”นstring | SharePermissionAn 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 | SharePermission (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.