@aws-cdk/aws-servicecatalogappregistry-alpha 2.50.0-alpha.0 → 2.51.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.jsii CHANGED
@@ -8,10 +8,88 @@
8
8
  "url": "https://aws.amazon.com"
9
9
  },
10
10
  "dependencies": {
11
- "aws-cdk-lib": "^2.50.0",
11
+ "aws-cdk-lib": "^2.51.0",
12
12
  "constructs": "^10.0.0"
13
13
  },
14
14
  "dependencyClosure": {
15
+ "@aws-cdk/asset-awscli-v1": {
16
+ "targets": {
17
+ "dotnet": {
18
+ "namespace": "Amazon.CDK.Asset.AwsCliV1",
19
+ "packageId": "Amazon.CDK.Asset.AwsCliV1"
20
+ },
21
+ "go": {
22
+ "moduleName": "github.com/cdklabs/awscdk-asset-awscli-go",
23
+ "packageName": "awscliv1"
24
+ },
25
+ "java": {
26
+ "maven": {
27
+ "artifactId": "cdk-asset-awscli-v1",
28
+ "groupId": "software.amazon.awscdk"
29
+ },
30
+ "package": "software.amazon.awscdk.cdk.asset.awscli.v1"
31
+ },
32
+ "js": {
33
+ "npm": "@aws-cdk/asset-awscli-v1"
34
+ },
35
+ "python": {
36
+ "distName": "aws-cdk.asset-awscli-v1",
37
+ "module": "aws_cdk.asset_awscli_v1"
38
+ }
39
+ }
40
+ },
41
+ "@aws-cdk/asset-kubectl-v20": {
42
+ "targets": {
43
+ "dotnet": {
44
+ "namespace": "Amazon.CDK.Asset.KubectlV20",
45
+ "packageId": "Amazon.CDK.Asset.KubectlV20"
46
+ },
47
+ "go": {
48
+ "moduleName": "github.com/cdklabs/awscdk-asset-kubectl-go",
49
+ "packageName": "kubectlv20"
50
+ },
51
+ "java": {
52
+ "maven": {
53
+ "artifactId": "cdk-asset-kubectl-v20",
54
+ "groupId": "software.amazon.awscdk"
55
+ },
56
+ "package": "software.amazon.awscdk.cdk.asset.kubectl.v20"
57
+ },
58
+ "js": {
59
+ "npm": "@aws-cdk/asset-kubectl-v20"
60
+ },
61
+ "python": {
62
+ "distName": "aws-cdk.asset-kubectl-v20",
63
+ "module": "aws_cdk.asset_kubectl_v20"
64
+ }
65
+ }
66
+ },
67
+ "@aws-cdk/asset-node-proxy-agent-v5": {
68
+ "targets": {
69
+ "dotnet": {
70
+ "namespace": "Amazon.CDK.Asset.NodeProxyAgentV5",
71
+ "packageId": "Amazon.CDK.Asset.NodeProxyAgentV5"
72
+ },
73
+ "go": {
74
+ "moduleName": "github.com/cdklabs/awscdk-asset-node-proxy-agent-go",
75
+ "packageName": "nodeproxyagentv5"
76
+ },
77
+ "java": {
78
+ "maven": {
79
+ "artifactId": "cdk-asset-node-proxy-agent-v5",
80
+ "groupId": "software.amazon.awscdk"
81
+ },
82
+ "package": "software.amazon.awscdk.cdk.asset.node.proxy.agent.v5"
83
+ },
84
+ "js": {
85
+ "npm": "@aws-cdk/asset-node-proxy-agent-v5"
86
+ },
87
+ "python": {
88
+ "distName": "aws-cdk.asset-node-proxy-agent-v5",
89
+ "module": "aws_cdk.asset_node_proxy_agent_v5"
90
+ }
91
+ }
92
+ },
15
93
  "aws-cdk-lib": {
16
94
  "submodules": {
17
95
  "aws-cdk-lib.alexa_ask": {
@@ -2147,6 +2225,19 @@
2147
2225
  }
2148
2226
  }
2149
2227
  },
2228
+ "aws-cdk-lib.aws_organizations": {
2229
+ "targets": {
2230
+ "dotnet": {
2231
+ "namespace": "Amazon.CDK.AWS.Organizations"
2232
+ },
2233
+ "java": {
2234
+ "package": "software.amazon.awscdk.services.organizations"
2235
+ },
2236
+ "python": {
2237
+ "module": "aws_cdk.aws_organizations"
2238
+ }
2239
+ }
2240
+ },
2150
2241
  "aws-cdk-lib.aws_panorama": {
2151
2242
  "targets": {
2152
2243
  "dotnet": {
@@ -2316,6 +2407,19 @@
2316
2407
  }
2317
2408
  }
2318
2409
  },
2410
+ "aws-cdk-lib.aws_resourceexplorer2": {
2411
+ "targets": {
2412
+ "dotnet": {
2413
+ "namespace": "Amazon.CDK.AWS.ResourceExplorer2"
2414
+ },
2415
+ "java": {
2416
+ "package": "software.amazon.awscdk.services.resourceexplorer2"
2417
+ },
2418
+ "python": {
2419
+ "module": "aws_cdk.aws_resourceexplorer2"
2420
+ }
2421
+ }
2422
+ },
2319
2423
  "aws-cdk-lib.aws_resourcegroups": {
2320
2424
  "targets": {
2321
2425
  "dotnet": {
@@ -2550,6 +2654,19 @@
2550
2654
  }
2551
2655
  }
2552
2656
  },
2657
+ "aws-cdk-lib.aws_scheduler": {
2658
+ "targets": {
2659
+ "dotnet": {
2660
+ "namespace": "Amazon.CDK.AWS.Scheduler"
2661
+ },
2662
+ "java": {
2663
+ "package": "software.amazon.awscdk.services.scheduler"
2664
+ },
2665
+ "python": {
2666
+ "module": "aws_cdk.aws_scheduler"
2667
+ }
2668
+ }
2669
+ },
2553
2670
  "aws-cdk-lib.aws_sdb": {
2554
2671
  "targets": {
2555
2672
  "dotnet": {
@@ -3115,7 +3232,7 @@
3115
3232
  "stability": "experimental"
3116
3233
  },
3117
3234
  "homepage": "https://github.com/aws/aws-cdk",
3118
- "jsiiVersion": "1.69.0 (build f656c31)",
3235
+ "jsiiVersion": "1.71.0 (build f1f58ae)",
3119
3236
  "keywords": [
3120
3237
  "aws",
3121
3238
  "cdk",
@@ -3137,7 +3254,7 @@
3137
3254
  },
3138
3255
  "name": "@aws-cdk/aws-servicecatalogappregistry-alpha",
3139
3256
  "readme": {
3140
- "markdown": "# AWS ServiceCatalogAppRegistry Construct Library\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n\n<!--END STABILITY BANNER-->\n\n[AWS Service Catalog App Registry](https://docs.aws.amazon.com/servicecatalog/latest/adminguide/appregistry.html)\nenables organizations to create and manage repositores of applications and associated resources.\n\n## Table Of Contents\n\n- [Application](#application)\n- [Application-Associator](#application-associator)\n- [Attribute-Group](#attribute-group)\n- [Associations](#associations)\n - [Associating application with an attribute group](#attribute-group-association)\n - [Associating application with a stack](#resource-association)\n- [Sharing](#sharing)\n - [Sharing an application](#sharing-an-application)\n - [Sharing an attribute group](#sharing-an-attribute-group)\n\nThe `@aws-cdk/aws-servicecatalogappregistry` package contains resources that enable users to automate governance and management of their AWS resources at scale.\n\n```ts nofixture\nimport * as appreg from '@aws-cdk/aws-servicecatalogappregistry-alpha';\n```\n\n## Application\n\nAn AppRegistry application enables you to define your applications and associated resources.\nThe application name must be unique at the account level and it's immutable.\n\n```ts\nconst application = new appreg.Application(this, 'MyFirstApplication', {\n applicationName: 'MyFirstApplicationName',\n description: 'description for my application', // the description is optional\n});\n```\n\nAn application that has been created outside of the stack can be imported into your CDK app.\nApplications can be imported by their ARN via the `Application.fromApplicationArn()` API:\n\n```ts\nconst importedApplication = appreg.Application.fromApplicationArn(\n this,\n 'MyImportedApplication',\n 'arn:aws:servicecatalog:us-east-1:012345678910:/applications/0aqmvxvgmry0ecc4mjhwypun6i',\n);\n```\n\n## Application-Associator\n\nIf you want to create an Application named `MyAssociatedApplication` in account `123456789012` and region `us-east-1`\nand want to associate all stacks in the `App` scope to `MyAssociatedApplication`, then use as shown in the example below:\n\n```ts\nconst app = new App();\nconst associatedApp = new appreg.ApplicationAssociator(app, 'AssociatedApplication', {\n applicationName: 'MyAssociatedApplication',\n description: 'Testing associated application',\n stackProps: {\n stackName: 'MyAssociatedApplicationStack',\n env: {account: '123456789012', region: 'us-east-1'},\n },\n});\n```\n\nIf you want to re-use an existing Application with ARN: `arn:aws:servicecatalog:us-east-1:123456789012:/applications/applicationId`\nand want to associate all stacks in the `App` scope to your imported application, then use as shown in the example below:\n\n```ts\nconst app = new App();\nconst associatedApp = new appreg.ApplicationAssociator(app, 'AssociatedApplication', {\n applicationArnValue: 'arn:aws:servicecatalog:us-east-1:123456789012:/applications/applicationId',\n stackProps: {\n stackName: 'MyAssociatedApplicationStack',\n },\n});\n```\n\nIf you are using CDK Pipelines to deploy your application, the application stacks will be inside Stages, and\nApplicationAssociator will not be able to find them. Call `associateStage` on each Stage object before adding it to the\nPipeline, as shown in the example below:\n\n```ts\nimport * as cdk from \"aws-cdk-lib\";\nimport * as codepipeline from \"aws-cdk-lib/pipelines\";\nimport * as codecommit from \"aws-cdk-lib/aws-codecommit\";\ndeclare const repo: codecommit.Repository;\ndeclare const pipeline: codepipeline.CodePipeline;\ndeclare const beta: cdk.Stage;\nclass ApplicationPipelineStack extends cdk.Stack {\n constructor(scope: cdk.App, id: string, props: ApplicationPipelineStackProps) {\n super(scope, id, props);\n\n //associate the stage to application associator.\n props.application.associateStage(beta);\n pipeline.addStage(beta);\n }\n};\n\ninterface ApplicationPipelineStackProps extends cdk.StackProps {\n application: appreg.ApplicationAssociator;\n};\n\nconst app = new App();\nconst associatedApp = new appreg.ApplicationAssociator(app, 'AssociatedApplication', {\n applicationName: 'MyPipelineAssociatedApplication',\n description: 'Testing pipeline associated app',\n stackProps: {\n stackName: 'MyPipelineAssociatedApplicationStack',\n env: {account: '123456789012', region: 'us-east-1'},\n },\n});\n\nconst cdkPipeline = new ApplicationPipelineStack(app, 'CDKApplicationPipelineStack', {\n application: associatedApp,\n env: {account: '123456789012', region: 'us-east-1'},\n});\n```\n\n## Attribute Group\n\nAn AppRegistry attribute group acts as a container for user-defined attributes for an application.\nMetadata is attached in a machine-readble format to integrate with automated workflows and tools.\n\n```ts\nconst attributeGroup = new appreg.AttributeGroup(this, 'MyFirstAttributeGroup', {\n attributeGroupName: 'MyFirstAttributeGroupName',\n description: 'description for my attribute group', // the description is optional,\n attributes: {\n project: 'foo',\n team: ['member1', 'member2', 'member3'],\n public: false,\n stages: {\n alpha: 'complete',\n beta: 'incomplete',\n release: 'not started'\n }\n }\n});\n```\n\nAn attribute group that has been created outside of the stack can be imported into your CDK app.\nAttribute groups can be imported by their ARN via the `AttributeGroup.fromAttributeGroupArn()` API:\n\n```ts\nconst importedAttributeGroup = appreg.AttributeGroup.fromAttributeGroupArn(\n this,\n 'MyImportedAttrGroup',\n 'arn:aws:servicecatalog:us-east-1:012345678910:/attribute-groups/0aqmvxvgmry0ecc4mjhwypun6i',\n);\n```\n\n## Associations\n\nYou can associate your appregistry application with attribute groups and resources.\nResources are CloudFormation stacks that you can associate with an application to group relevant\nstacks together to enable metadata rich insights into your applications and resources.\nA Cloudformation stack can only be associated with one appregistry application.\nIf a stack is associated with multiple applications in your app or is already associated with one,\nCDK will fail at deploy time.\n\n### Associating application with an attribute group\n\nYou can associate an attribute group with an application with the `associateAttributeGroup()` API:\n\n```ts\ndeclare const application: appreg.Application;\ndeclare const attributeGroup: appreg.AttributeGroup;\napplication.associateAttributeGroup(attributeGroup);\n```\n\n### Associating application with a Stack\n\nYou can associate a stack with an application with the `associateStack()` API:\n\n```ts\nconst app = new App();\nconst myStack = new Stack(app, 'MyStack');\n\ndeclare const application: appreg.Application;\napplication.associateStack(myStack);\n```\n\n## Sharing\n\nYou can share your AppRegistry applications and attribute groups with AWS Organizations, Organizational Units (OUs), AWS accounts within an organization, as well as IAM roles and users. AppRegistry requires that AWS Organizations is enabled in an account before deploying a share of an application or attribute group.\n\n### Sharing an application\n\n```ts\nimport * as iam from 'aws-cdk-lib/aws-iam';\ndeclare const application: appreg.Application;\ndeclare const myRole: iam.IRole;\ndeclare const myUser: iam.IUser;\napplication.shareApplication({\n accounts: ['123456789012'],\n organizationArns: ['arn:aws:organizations::123456789012:organization/o-my-org-id'],\n roles: [myRole],\n users: [myUser],\n});\n```\n\nE.g., sharing an application with multiple accounts and allowing the accounts to associate resources to the application.\n\n```ts\nimport * as iam from 'aws-cdk-lib/aws-iam';\ndeclare const application: appreg.Application;\napplication.shareApplication({\n accounts: ['123456789012', '234567890123'],\n sharePermission: appreg.SharePermission.ALLOW_ACCESS,\n});\n```\n\n### Sharing an attribute group\n\n```ts\nimport * as iam from 'aws-cdk-lib/aws-iam';\ndeclare const attributeGroup: appreg.AttributeGroup;\ndeclare const myRole: iam.IRole;\ndeclare const myUser: iam.IUser;\nattributeGroup.shareAttributeGroup({\n accounts: ['123456789012'],\n organizationArns: ['arn:aws:organizations::123456789012:organization/o-my-org-id'],\n roles: [myRole],\n users: [myUser],\n});\n```\n\nE.g., sharing an application with multiple accounts and allowing the accounts to associate applications to the attribute group.\n\n```ts\nimport * as iam from 'aws-cdk-lib/aws-iam';\ndeclare const attributeGroup: appreg.AttributeGroup;\nattributeGroup.shareAttributeGroup({\n accounts: ['123456789012', '234567890123'],\n sharePermission: appreg.SharePermission.ALLOW_ACCESS,\n});\n```\n"
3257
+ "markdown": "# AWS ServiceCatalogAppRegistry Construct Library\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n\n<!--END STABILITY BANNER-->\n\n[AWS Service Catalog App Registry](https://docs.aws.amazon.com/servicecatalog/latest/adminguide/appregistry.html)\nenables organizations to create and manage repositores of applications and associated resources.\n\n## Table Of Contents\n\n- [Application](#application)\n- [Application-Associator](#application-associator)\n- [Attribute-Group](#attribute-group)\n- [Associations](#associations)\n - [Associating application with an attribute group](#attribute-group-association)\n - [Associating application with a stack](#resource-association)\n- [Sharing](#sharing)\n - [Sharing an application](#sharing-an-application)\n - [Sharing an attribute group](#sharing-an-attribute-group)\n\nThe `@aws-cdk/aws-servicecatalogappregistry` package contains resources that enable users to automate governance and management of their AWS resources at scale.\n\n```ts nofixture\nimport * as appreg from '@aws-cdk/aws-servicecatalogappregistry-alpha';\n```\n\n## Application\n\nAn AppRegistry application enables you to define your applications and associated resources.\nThe application name must be unique at the account level and it's immutable.\n\n```ts\nconst application = new appreg.Application(this, 'MyFirstApplication', {\n applicationName: 'MyFirstApplicationName',\n description: 'description for my application', // the description is optional\n});\n```\n\nAn application that has been created outside of the stack can be imported into your CDK app.\nApplications can be imported by their ARN via the `Application.fromApplicationArn()` API:\n\n```ts\nconst importedApplication = appreg.Application.fromApplicationArn(\n this,\n 'MyImportedApplication',\n 'arn:aws:servicecatalog:us-east-1:012345678910:/applications/0aqmvxvgmry0ecc4mjhwypun6i',\n);\n```\n\n## Application-Associator\n\nIf you want to create an Application named `MyAssociatedApplication` in account `123456789012` and region `us-east-1`\nand want to associate all stacks in the `App` scope to `MyAssociatedApplication`, then use as shown in the example below:\n\n```ts\nconst app = new App();\nconst associatedApp = new appreg.ApplicationAssociator(app, 'AssociatedApplication', {\n applications: [appreg.TargetApplication.createApplicationStack({\n applicationName: 'MyAssociatedApplication',\n // 'Application containing stacks deployed via CDK.' is the default\n applicationDescription: 'Associated Application description',\n stackName: 'MyAssociatedApplicationStack',\n // AWS Account and Region that are implied by the current CLI configuration is the default\n env: { account: '123456789012', region: 'us-east-1' },\n })],\n});\n```\n\nIf you want to re-use an existing Application with ARN: `arn:aws:servicecatalog:us-east-1:123456789012:/applications/applicationId`\nand want to associate all stacks in the `App` scope to your imported application, then use as shown in the example below:\n\n```ts\nconst app = new App();\nconst associatedApp = new appreg.ApplicationAssociator(app, 'AssociatedApplication', {\n applications: [appreg.TargetApplication.existingApplicationFromArn({\n applicationArnValue: 'arn:aws:servicecatalog:us-east-1:123456789012:/applications/applicationId',\n stackName: 'MyAssociatedApplicationStack',\n })],\n});\n```\n\nIf you are using CDK Pipelines to deploy your application, the application stacks will be inside Stages, and\nApplicationAssociator will not be able to find them. Call `associateStage` on each Stage object before adding it to the\nPipeline, as shown in the example below:\n\n```ts\nimport * as cdk from \"aws-cdk-lib\";\nimport * as codepipeline from \"aws-cdk-lib/pipelines\";\nimport * as codecommit from \"aws-cdk-lib/aws-codecommit\";\ndeclare const repo: codecommit.Repository;\ndeclare const pipeline: codepipeline.CodePipeline;\ndeclare const beta: cdk.Stage;\nclass ApplicationPipelineStack extends cdk.Stack {\n constructor(scope: cdk.App, id: string, props: ApplicationPipelineStackProps) {\n super(scope, id, props);\n\n //associate the stage to application associator.\n props.application.associateStage(beta);\n pipeline.addStage(beta);\n }\n};\n\ninterface ApplicationPipelineStackProps extends cdk.StackProps {\n application: appreg.ApplicationAssociator;\n};\n\nconst app = new App();\nconst associatedApp = new appreg.ApplicationAssociator(app, 'AssociatedApplication', {\n applications: [appreg.TargetApplication.createApplicationStack({\n applicationName: 'MyPipelineAssociatedApplication',\n stackName: 'MyPipelineAssociatedApplicationStack',\n env: { account: '123456789012', region: 'us-east-1' },\n })],\n});\n\nconst cdkPipeline = new ApplicationPipelineStack(app, 'CDKApplicationPipelineStack', {\n application: associatedApp,\n env: {account: '123456789012', region: 'us-east-1'},\n});\n```\n\n## Attribute Group\n\nAn AppRegistry attribute group acts as a container for user-defined attributes for an application.\nMetadata is attached in a machine-readble format to integrate with automated workflows and tools.\n\n```ts\nconst attributeGroup = new appreg.AttributeGroup(this, 'MyFirstAttributeGroup', {\n attributeGroupName: 'MyFirstAttributeGroupName',\n description: 'description for my attribute group', // the description is optional,\n attributes: {\n project: 'foo',\n team: ['member1', 'member2', 'member3'],\n public: false,\n stages: {\n alpha: 'complete',\n beta: 'incomplete',\n release: 'not started'\n }\n }\n});\n```\n\nAn attribute group that has been created outside of the stack can be imported into your CDK app.\nAttribute groups can be imported by their ARN via the `AttributeGroup.fromAttributeGroupArn()` API:\n\n```ts\nconst importedAttributeGroup = appreg.AttributeGroup.fromAttributeGroupArn(\n this,\n 'MyImportedAttrGroup',\n 'arn:aws:servicecatalog:us-east-1:012345678910:/attribute-groups/0aqmvxvgmry0ecc4mjhwypun6i',\n);\n```\n\n## Associations\n\nYou can associate your appregistry application with attribute groups and resources.\nResources are CloudFormation stacks that you can associate with an application to group relevant\nstacks together to enable metadata rich insights into your applications and resources.\nA Cloudformation stack can only be associated with one appregistry application.\nIf a stack is associated with multiple applications in your app or is already associated with one,\nCDK will fail at deploy time.\n\n### Associating application with an attribute group\n\nYou can associate an attribute group with an application with the `associateAttributeGroup()` API:\n\n```ts\ndeclare const application: appreg.Application;\ndeclare const attributeGroup: appreg.AttributeGroup;\napplication.associateAttributeGroup(attributeGroup);\n```\n\n### Associating application with a Stack\n\nYou can associate a stack with an application with the `associateStack()` API:\n\n```ts\nconst app = new App();\nconst myStack = new Stack(app, 'MyStack');\n\ndeclare const application: appreg.Application;\napplication.associateStack(myStack);\n```\n\n## Sharing\n\nYou can share your AppRegistry applications and attribute groups with AWS Organizations, Organizational Units (OUs), AWS accounts within an organization, as well as IAM roles and users. AppRegistry requires that AWS Organizations is enabled in an account before deploying a share of an application or attribute group.\n\n### Sharing an application\n\n```ts\nimport * as iam from 'aws-cdk-lib/aws-iam';\ndeclare const application: appreg.Application;\ndeclare const myRole: iam.IRole;\ndeclare const myUser: iam.IUser;\napplication.shareApplication({\n accounts: ['123456789012'],\n organizationArns: ['arn:aws:organizations::123456789012:organization/o-my-org-id'],\n roles: [myRole],\n users: [myUser],\n});\n```\n\nE.g., sharing an application with multiple accounts and allowing the accounts to associate resources to the application.\n\n```ts\nimport * as iam from 'aws-cdk-lib/aws-iam';\ndeclare const application: appreg.Application;\napplication.shareApplication({\n accounts: ['123456789012', '234567890123'],\n sharePermission: appreg.SharePermission.ALLOW_ACCESS,\n});\n```\n\n### Sharing an attribute group\n\n```ts\nimport * as iam from 'aws-cdk-lib/aws-iam';\ndeclare const attributeGroup: appreg.AttributeGroup;\ndeclare const myRole: iam.IRole;\ndeclare const myUser: iam.IUser;\nattributeGroup.shareAttributeGroup({\n accounts: ['123456789012'],\n organizationArns: ['arn:aws:organizations::123456789012:organization/o-my-org-id'],\n roles: [myRole],\n users: [myUser],\n});\n```\n\nE.g., sharing an application with multiple accounts and allowing the accounts to associate applications to the attribute group.\n\n```ts\nimport * as iam from 'aws-cdk-lib/aws-iam';\ndeclare const attributeGroup: appreg.AttributeGroup;\nattributeGroup.shareAttributeGroup({\n accounts: ['123456789012', '234567890123'],\n sharePermission: appreg.SharePermission.ALLOW_ACCESS,\n});\n```\n"
3141
3258
  },
3142
3259
  "repository": {
3143
3260
  "directory": "packages/individual-packages/aws-servicecatalogappregistry",
@@ -3468,7 +3585,7 @@
3468
3585
  "remarks": "The application name must be unique at the account level and it's immutable.\nThis construct will automatically associate all stacks in the given scope, however\nin case of a `Pipeline` stack, stage underneath the pipeline will not automatically be associated and\nneeds to be associated separately.\n\nIf cross account stack is detected, then this construct will automatically share the application to consumer accounts.\nCross account feature will only work for non environment agnostic stacks.",
3469
3586
  "stability": "experimental",
3470
3587
  "summary": "An AppRegistry construct to automatically create an application with the given name and description.",
3471
- "example": "const app = new App();\nconst associatedApp = new appreg.ApplicationAssociator(app, 'AssociatedApplication', {\n applicationName: 'MyAssociatedApplication',\n description: 'Testing associated application',\n stackProps: {\n stackName: 'MyAssociatedApplicationStack',\n env: {account: '123456789012', region: 'us-east-1'},\n },\n});",
3588
+ "example": "const app = new App();\nconst associatedApp = new appreg.ApplicationAssociator(app, 'AssociatedApplication', {\n applications: [appreg.TargetApplication.createApplicationStack({\n applicationName: 'MyAssociatedApplication',\n // 'Application containing stacks deployed via CDK.' is the default\n applicationDescription: 'Associated Application description',\n stackName: 'MyAssociatedApplicationStack',\n // AWS Account and Region that are implied by the current CLI configuration is the default\n env: { account: '123456789012', region: 'us-east-1' },\n })],\n});",
3472
3589
  "custom": {
3473
3590
  "exampleMetadata": "infused"
3474
3591
  }
@@ -3480,7 +3597,7 @@
3480
3597
  },
3481
3598
  "locationInModule": {
3482
3599
  "filename": "lib/application-associator.ts",
3483
- "line": 56
3600
+ "line": 37
3484
3601
  },
3485
3602
  "parameters": [
3486
3603
  {
@@ -3506,9 +3623,25 @@
3506
3623
  "kind": "class",
3507
3624
  "locationInModule": {
3508
3625
  "filename": "lib/application-associator.ts",
3509
- "line": 49
3626
+ "line": 30
3510
3627
  },
3511
3628
  "methods": [
3629
+ {
3630
+ "docs": {
3631
+ "stability": "experimental",
3632
+ "summary": "Get the AppRegistry application."
3633
+ },
3634
+ "locationInModule": {
3635
+ "filename": "lib/application-associator.ts",
3636
+ "line": 71
3637
+ },
3638
+ "name": "appRegistryApplication",
3639
+ "returns": {
3640
+ "type": {
3641
+ "fqn": "@aws-cdk/aws-servicecatalogappregistry-alpha.IApplication"
3642
+ }
3643
+ }
3644
+ },
3512
3645
  {
3513
3646
  "docs": {
3514
3647
  "stability": "experimental",
@@ -3516,7 +3649,7 @@
3516
3649
  },
3517
3650
  "locationInModule": {
3518
3651
  "filename": "lib/application-associator.ts",
3519
- "line": 79
3652
+ "line": 53
3520
3653
  },
3521
3654
  "name": "associateStage",
3522
3655
  "parameters": [
@@ -3540,7 +3673,7 @@
3540
3673
  },
3541
3674
  "locationInModule": {
3542
3675
  "filename": "lib/application-associator.ts",
3543
- "line": 89
3676
+ "line": 63
3544
3677
  },
3545
3678
  "name": "isStageAssociated",
3546
3679
  "parameters": [
@@ -3559,23 +3692,6 @@
3559
3692
  }
3560
3693
  ],
3561
3694
  "name": "ApplicationAssociator",
3562
- "properties": [
3563
- {
3564
- "docs": {
3565
- "stability": "experimental",
3566
- "summary": "Get the AppRegistry application."
3567
- },
3568
- "immutable": true,
3569
- "locationInModule": {
3570
- "filename": "lib/application-associator.ts",
3571
- "line": 97
3572
- },
3573
- "name": "appRegistryApplication",
3574
- "type": {
3575
- "fqn": "@aws-cdk/aws-servicecatalogappregistry-alpha.IApplication"
3576
- }
3577
- }
3578
- ],
3579
3695
  "symbolId": "lib/application-associator:ApplicationAssociator"
3580
3696
  },
3581
3697
  "@aws-cdk/aws-servicecatalogappregistry-alpha.ApplicationAssociatorProps": {
@@ -3583,8 +3699,8 @@
3583
3699
  "datatype": true,
3584
3700
  "docs": {
3585
3701
  "stability": "experimental",
3586
- "summary": "Properties for a Service Catalog AppRegistry AutoApplication.",
3587
- "example": "const app = new App();\nconst associatedApp = new appreg.ApplicationAssociator(app, 'AssociatedApplication', {\n applicationName: 'MyAssociatedApplication',\n description: 'Testing associated application',\n stackProps: {\n stackName: 'MyAssociatedApplicationStack',\n env: {account: '123456789012', region: 'us-east-1'},\n },\n});",
3702
+ "summary": "Properties for Service Catalog AppRegistry Application Associator.",
3703
+ "example": "const app = new App();\nconst associatedApp = new appreg.ApplicationAssociator(app, 'AssociatedApplication', {\n applications: [appreg.TargetApplication.createApplicationStack({\n applicationName: 'MyAssociatedApplication',\n // 'Application containing stacks deployed via CDK.' is the default\n applicationDescription: 'Associated Application description',\n stackName: 'MyAssociatedApplicationStack',\n // AWS Account and Region that are implied by the current CLI configuration is the default\n env: { account: '123456789012', region: 'us-east-1' },\n })],\n});",
3588
3704
  "custom": {
3589
3705
  "exampleMetadata": "infused"
3590
3706
  }
@@ -3593,78 +3709,30 @@
3593
3709
  "kind": "interface",
3594
3710
  "locationInModule": {
3595
3711
  "filename": "lib/application-associator.ts",
3596
- "line": 9
3712
+ "line": 10
3597
3713
  },
3598
3714
  "name": "ApplicationAssociatorProps",
3599
3715
  "properties": [
3600
3716
  {
3601
3717
  "abstract": true,
3602
3718
  "docs": {
3719
+ "default": "- Empty array.",
3603
3720
  "stability": "experimental",
3604
- "summary": "Stack properties."
3605
- },
3606
- "immutable": true,
3607
- "locationInModule": {
3608
- "filename": "lib/application-associator.ts",
3609
- "line": 35
3610
- },
3611
- "name": "stackProps",
3612
- "type": {
3613
- "fqn": "aws-cdk-lib.StackProps"
3614
- }
3615
- },
3616
- {
3617
- "abstract": true,
3618
- "docs": {
3619
- "default": "- No application arn.",
3620
- "stability": "experimental",
3621
- "summary": "Enforces a particular application arn."
3622
- },
3623
- "immutable": true,
3624
- "locationInModule": {
3625
- "filename": "lib/application-associator.ts",
3626
- "line": 22
3627
- },
3628
- "name": "applicationArnValue",
3629
- "optional": true,
3630
- "type": {
3631
- "primitive": "string"
3632
- }
3633
- },
3634
- {
3635
- "abstract": true,
3636
- "docs": {
3637
- "default": "- No name.",
3638
- "stability": "experimental",
3639
- "summary": "Enforces a particular physical application name."
3640
- },
3641
- "immutable": true,
3642
- "locationInModule": {
3643
- "filename": "lib/application-associator.ts",
3644
- "line": 15
3645
- },
3646
- "name": "applicationName",
3647
- "optional": true,
3648
- "type": {
3649
- "primitive": "string"
3650
- }
3651
- },
3652
- {
3653
- "abstract": true,
3654
- "docs": {
3655
- "default": "- No description.",
3656
- "stability": "experimental",
3657
- "summary": "Application description."
3721
+ "summary": "Application associator properties."
3658
3722
  },
3659
3723
  "immutable": true,
3660
3724
  "locationInModule": {
3661
3725
  "filename": "lib/application-associator.ts",
3662
- "line": 29
3726
+ "line": 16
3663
3727
  },
3664
- "name": "description",
3665
- "optional": true,
3728
+ "name": "applications",
3666
3729
  "type": {
3667
- "primitive": "string"
3730
+ "collection": {
3731
+ "elementtype": {
3732
+ "fqn": "@aws-cdk/aws-servicecatalogappregistry-alpha.TargetApplication"
3733
+ },
3734
+ "kind": "array"
3735
+ }
3668
3736
  }
3669
3737
  }
3670
3738
  ],
@@ -3983,6 +4051,144 @@
3983
4051
  ],
3984
4052
  "symbolId": "lib/attribute-group:AttributeGroupProps"
3985
4053
  },
4054
+ "@aws-cdk/aws-servicecatalogappregistry-alpha.BindTargetApplicationResult": {
4055
+ "assembly": "@aws-cdk/aws-servicecatalogappregistry-alpha",
4056
+ "datatype": true,
4057
+ "docs": {
4058
+ "stability": "experimental",
4059
+ "summary": "Properties for Service Catalog AppRegistry Application Associator to work with.",
4060
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as servicecatalogappregistry_alpha from '@aws-cdk/aws-servicecatalogappregistry-alpha';\n\ndeclare const application: servicecatalogappregistry_alpha.Application;\nconst bindTargetApplicationResult: servicecatalogappregistry_alpha.BindTargetApplicationResult = {\n application: application,\n};",
4061
+ "custom": {
4062
+ "exampleMetadata": "fixture=_generated"
4063
+ }
4064
+ },
4065
+ "fqn": "@aws-cdk/aws-servicecatalogappregistry-alpha.BindTargetApplicationResult",
4066
+ "kind": "interface",
4067
+ "locationInModule": {
4068
+ "filename": "lib/target-application.ts",
4069
+ "line": 75
4070
+ },
4071
+ "name": "BindTargetApplicationResult",
4072
+ "properties": [
4073
+ {
4074
+ "abstract": true,
4075
+ "docs": {
4076
+ "stability": "experimental",
4077
+ "summary": "Created or imported application."
4078
+ },
4079
+ "immutable": true,
4080
+ "locationInModule": {
4081
+ "filename": "lib/target-application.ts",
4082
+ "line": 79
4083
+ },
4084
+ "name": "application",
4085
+ "type": {
4086
+ "fqn": "@aws-cdk/aws-servicecatalogappregistry-alpha.IApplication"
4087
+ }
4088
+ }
4089
+ ],
4090
+ "symbolId": "lib/target-application:BindTargetApplicationResult"
4091
+ },
4092
+ "@aws-cdk/aws-servicecatalogappregistry-alpha.CreateTargetApplicationOptions": {
4093
+ "assembly": "@aws-cdk/aws-servicecatalogappregistry-alpha",
4094
+ "datatype": true,
4095
+ "docs": {
4096
+ "stability": "experimental",
4097
+ "summary": "Properties used to define New TargetApplication.",
4098
+ "example": "const app = new App();\nconst associatedApp = new appreg.ApplicationAssociator(app, 'AssociatedApplication', {\n applications: [appreg.TargetApplication.createApplicationStack({\n applicationName: 'MyAssociatedApplication',\n // 'Application containing stacks deployed via CDK.' is the default\n applicationDescription: 'Associated Application description',\n stackName: 'MyAssociatedApplicationStack',\n // AWS Account and Region that are implied by the current CLI configuration is the default\n env: { account: '123456789012', region: 'us-east-1' },\n })],\n});",
4099
+ "custom": {
4100
+ "exampleMetadata": "infused"
4101
+ }
4102
+ },
4103
+ "fqn": "@aws-cdk/aws-servicecatalogappregistry-alpha.CreateTargetApplicationOptions",
4104
+ "interfaces": [
4105
+ "@aws-cdk/aws-servicecatalogappregistry-alpha.TargetApplicationCommonOptions"
4106
+ ],
4107
+ "kind": "interface",
4108
+ "locationInModule": {
4109
+ "filename": "lib/target-application.ts",
4110
+ "line": 21
4111
+ },
4112
+ "name": "CreateTargetApplicationOptions",
4113
+ "properties": [
4114
+ {
4115
+ "abstract": true,
4116
+ "docs": {
4117
+ "stability": "experimental",
4118
+ "summary": "Enforces a particular physical application name."
4119
+ },
4120
+ "immutable": true,
4121
+ "locationInModule": {
4122
+ "filename": "lib/target-application.ts",
4123
+ "line": 25
4124
+ },
4125
+ "name": "applicationName",
4126
+ "type": {
4127
+ "primitive": "string"
4128
+ }
4129
+ },
4130
+ {
4131
+ "abstract": true,
4132
+ "docs": {
4133
+ "default": "- Application containing stacks deployed via CDK.",
4134
+ "stability": "experimental",
4135
+ "summary": "Application description."
4136
+ },
4137
+ "immutable": true,
4138
+ "locationInModule": {
4139
+ "filename": "lib/target-application.ts",
4140
+ "line": 32
4141
+ },
4142
+ "name": "applicationDescription",
4143
+ "optional": true,
4144
+ "type": {
4145
+ "primitive": "string"
4146
+ }
4147
+ }
4148
+ ],
4149
+ "symbolId": "lib/target-application:CreateTargetApplicationOptions"
4150
+ },
4151
+ "@aws-cdk/aws-servicecatalogappregistry-alpha.ExistingTargetApplicationOptions": {
4152
+ "assembly": "@aws-cdk/aws-servicecatalogappregistry-alpha",
4153
+ "datatype": true,
4154
+ "docs": {
4155
+ "stability": "experimental",
4156
+ "summary": "Properties used to define Existing TargetApplication.",
4157
+ "example": "const app = new App();\nconst associatedApp = new appreg.ApplicationAssociator(app, 'AssociatedApplication', {\n applications: [appreg.TargetApplication.existingApplicationFromArn({\n applicationArnValue: 'arn:aws:servicecatalog:us-east-1:123456789012:/applications/applicationId',\n stackName: 'MyAssociatedApplicationStack',\n })],\n});",
4158
+ "custom": {
4159
+ "exampleMetadata": "infused"
4160
+ }
4161
+ },
4162
+ "fqn": "@aws-cdk/aws-servicecatalogappregistry-alpha.ExistingTargetApplicationOptions",
4163
+ "interfaces": [
4164
+ "@aws-cdk/aws-servicecatalogappregistry-alpha.TargetApplicationCommonOptions"
4165
+ ],
4166
+ "kind": "interface",
4167
+ "locationInModule": {
4168
+ "filename": "lib/target-application.ts",
4169
+ "line": 38
4170
+ },
4171
+ "name": "ExistingTargetApplicationOptions",
4172
+ "properties": [
4173
+ {
4174
+ "abstract": true,
4175
+ "docs": {
4176
+ "stability": "experimental",
4177
+ "summary": "Enforces a particular application arn."
4178
+ },
4179
+ "immutable": true,
4180
+ "locationInModule": {
4181
+ "filename": "lib/target-application.ts",
4182
+ "line": 42
4183
+ },
4184
+ "name": "applicationArnValue",
4185
+ "type": {
4186
+ "primitive": "string"
4187
+ }
4188
+ }
4189
+ ],
4190
+ "symbolId": "lib/target-application:ExistingTargetApplicationOptions"
4191
+ },
3986
4192
  "@aws-cdk/aws-servicecatalogappregistry-alpha.IApplication": {
3987
4193
  "assembly": "@aws-cdk/aws-servicecatalogappregistry-alpha",
3988
4194
  "docs": {
@@ -4438,8 +4644,153 @@
4438
4644
  ],
4439
4645
  "name": "SharePermission",
4440
4646
  "symbolId": "lib/common:SharePermission"
4647
+ },
4648
+ "@aws-cdk/aws-servicecatalogappregistry-alpha.TargetApplication": {
4649
+ "abstract": true,
4650
+ "assembly": "@aws-cdk/aws-servicecatalogappregistry-alpha",
4651
+ "docs": {
4652
+ "stability": "experimental",
4653
+ "summary": "Contains static factory methods with which you can build the input needed for application associator to work.",
4654
+ "example": "const app = new App();\nconst associatedApp = new appreg.ApplicationAssociator(app, 'AssociatedApplication', {\n applications: [appreg.TargetApplication.createApplicationStack({\n applicationName: 'MyAssociatedApplication',\n // 'Application containing stacks deployed via CDK.' is the default\n applicationDescription: 'Associated Application description',\n stackName: 'MyAssociatedApplicationStack',\n // AWS Account and Region that are implied by the current CLI configuration is the default\n env: { account: '123456789012', region: 'us-east-1' },\n })],\n});",
4655
+ "custom": {
4656
+ "exampleMetadata": "infused"
4657
+ }
4658
+ },
4659
+ "fqn": "@aws-cdk/aws-servicecatalogappregistry-alpha.TargetApplication",
4660
+ "initializer": {
4661
+ "docs": {
4662
+ "stability": "experimental"
4663
+ }
4664
+ },
4665
+ "kind": "class",
4666
+ "locationInModule": {
4667
+ "filename": "lib/target-application.ts",
4668
+ "line": 49
4669
+ },
4670
+ "methods": [
4671
+ {
4672
+ "docs": {
4673
+ "stability": "experimental",
4674
+ "summary": "Factory method to build the input using the provided application name and stack props."
4675
+ },
4676
+ "locationInModule": {
4677
+ "filename": "lib/target-application.ts",
4678
+ "line": 62
4679
+ },
4680
+ "name": "createApplicationStack",
4681
+ "parameters": [
4682
+ {
4683
+ "name": "options",
4684
+ "type": {
4685
+ "fqn": "@aws-cdk/aws-servicecatalogappregistry-alpha.CreateTargetApplicationOptions"
4686
+ }
4687
+ }
4688
+ ],
4689
+ "returns": {
4690
+ "type": {
4691
+ "fqn": "@aws-cdk/aws-servicecatalogappregistry-alpha.TargetApplication"
4692
+ }
4693
+ },
4694
+ "static": true
4695
+ },
4696
+ {
4697
+ "docs": {
4698
+ "stability": "experimental",
4699
+ "summary": "Factory method to build the input using the provided application ARN."
4700
+ },
4701
+ "locationInModule": {
4702
+ "filename": "lib/target-application.ts",
4703
+ "line": 54
4704
+ },
4705
+ "name": "existingApplicationFromArn",
4706
+ "parameters": [
4707
+ {
4708
+ "name": "options",
4709
+ "type": {
4710
+ "fqn": "@aws-cdk/aws-servicecatalogappregistry-alpha.ExistingTargetApplicationOptions"
4711
+ }
4712
+ }
4713
+ ],
4714
+ "returns": {
4715
+ "type": {
4716
+ "fqn": "@aws-cdk/aws-servicecatalogappregistry-alpha.TargetApplication"
4717
+ }
4718
+ },
4719
+ "static": true
4720
+ },
4721
+ {
4722
+ "abstract": true,
4723
+ "docs": {
4724
+ "stability": "experimental",
4725
+ "summary": "Called when the ApplicationAssociator is initialized."
4726
+ },
4727
+ "locationInModule": {
4728
+ "filename": "lib/target-application.ts",
4729
+ "line": 69
4730
+ },
4731
+ "name": "bind",
4732
+ "parameters": [
4733
+ {
4734
+ "name": "scope",
4735
+ "type": {
4736
+ "fqn": "constructs.Construct"
4737
+ }
4738
+ }
4739
+ ],
4740
+ "returns": {
4741
+ "type": {
4742
+ "fqn": "@aws-cdk/aws-servicecatalogappregistry-alpha.BindTargetApplicationResult"
4743
+ }
4744
+ }
4745
+ }
4746
+ ],
4747
+ "name": "TargetApplication",
4748
+ "symbolId": "lib/target-application:TargetApplication"
4749
+ },
4750
+ "@aws-cdk/aws-servicecatalogappregistry-alpha.TargetApplicationCommonOptions": {
4751
+ "assembly": "@aws-cdk/aws-servicecatalogappregistry-alpha",
4752
+ "datatype": true,
4753
+ "docs": {
4754
+ "stability": "experimental",
4755
+ "summary": "Properties used to define targetapplication.",
4756
+ "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as servicecatalogappregistry_alpha from '@aws-cdk/aws-servicecatalogappregistry-alpha';\nimport * as cdk from 'aws-cdk-lib';\n\ndeclare const stackSynthesizer: cdk.StackSynthesizer;\nconst targetApplicationCommonOptions: servicecatalogappregistry_alpha.TargetApplicationCommonOptions = {\n analyticsReporting: false,\n crossRegionReferences: false,\n description: 'description',\n env: {\n account: 'account',\n region: 'region',\n },\n stackId: 'stackId',\n stackName: 'stackName',\n synthesizer: stackSynthesizer,\n tags: {\n tagsKey: 'tags',\n },\n terminationProtection: false,\n};",
4757
+ "custom": {
4758
+ "exampleMetadata": "fixture=_generated"
4759
+ }
4760
+ },
4761
+ "fqn": "@aws-cdk/aws-servicecatalogappregistry-alpha.TargetApplicationCommonOptions",
4762
+ "interfaces": [
4763
+ "aws-cdk-lib.StackProps"
4764
+ ],
4765
+ "kind": "interface",
4766
+ "locationInModule": {
4767
+ "filename": "lib/target-application.ts",
4768
+ "line": 8
4769
+ },
4770
+ "name": "TargetApplicationCommonOptions",
4771
+ "properties": [
4772
+ {
4773
+ "abstract": true,
4774
+ "docs": {
4775
+ "default": "- ApplicationAssociatorStack",
4776
+ "stability": "experimental",
4777
+ "summary": "Stack ID in which application will be created or imported."
4778
+ },
4779
+ "immutable": true,
4780
+ "locationInModule": {
4781
+ "filename": "lib/target-application.ts",
4782
+ "line": 14
4783
+ },
4784
+ "name": "stackId",
4785
+ "optional": true,
4786
+ "type": {
4787
+ "primitive": "string"
4788
+ }
4789
+ }
4790
+ ],
4791
+ "symbolId": "lib/target-application:TargetApplicationCommonOptions"
4441
4792
  }
4442
4793
  },
4443
- "version": "2.50.0-alpha.0",
4794
+ "version": "2.51.0-alpha.0",
4444
4795
  "fingerprint": "**********"
4445
4796
  }