@pulumi/aws 5.31.0 → 5.32.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/acm/certificate.d.ts +1 -1
- package/amplify/domainAssociation.d.ts +12 -0
- package/amplify/domainAssociation.js +2 -0
- package/amplify/domainAssociation.js.map +1 -1
- package/apigateway/account.d.ts +1 -1
- package/apigateway/account.js +1 -1
- package/appsync/dataSource.d.ts +49 -0
- package/appsync/dataSource.js +49 -0
- package/appsync/dataSource.js.map +1 -1
- package/cloudhsmv2/hsm.d.ts +6 -6
- package/codebuild/project.d.ts +178 -0
- package/codebuild/project.js +178 -0
- package/codebuild/project.js.map +1 -1
- package/cognito/resourceServer.d.ts +1 -1
- package/cognito/resourceServer.js +1 -1
- package/dynamodb/table.d.ts +12 -6
- package/dynamodb/table.js.map +1 -1
- package/ec2/flowLog.d.ts +12 -0
- package/ec2/flowLog.js +2 -0
- package/ec2/flowLog.js.map +1 -1
- package/ec2/getInstances.d.ts +4 -0
- package/ec2/getInstances.js.map +1 -1
- package/ec2/launchConfiguration.d.ts +2 -0
- package/ec2/launchConfiguration.js +2 -0
- package/ec2/launchConfiguration.js.map +1 -1
- package/ec2transitgateway/getAttachment.d.ts +8 -0
- package/ec2transitgateway/getAttachment.js.map +1 -1
- package/ecs/getTaskExecution.d.ts +201 -0
- package/ecs/getTaskExecution.js +49 -0
- package/ecs/getTaskExecution.js.map +1 -0
- package/ecs/index.d.ts +3 -0
- package/ecs/index.js +4 -1
- package/ecs/index.js.map +1 -1
- package/eks/cluster.d.ts +28 -0
- package/eks/cluster.js +28 -0
- package/eks/cluster.js.map +1 -1
- package/grafana/workspace.d.ts +12 -0
- package/grafana/workspace.js +2 -0
- package/grafana/workspace.js.map +1 -1
- package/iam/policyAttachment.d.ts +38 -0
- package/iam/policyAttachment.js +38 -0
- package/iam/policyAttachment.js.map +1 -1
- package/lambda/function.d.ts +2 -0
- package/lambda/function.js +2 -0
- package/lambda/function.js.map +1 -1
- package/lambda/getInvocation.d.ts +4 -0
- package/lambda/getInvocation.js +4 -0
- package/lambda/getInvocation.js.map +1 -1
- package/lambda/invocation.d.ts +2 -0
- package/lambda/invocation.js +2 -0
- package/lambda/invocation.js.map +1 -1
- package/licensemanager/getLicenseGrants.d.ts +77 -0
- package/licensemanager/getLicenseGrants.js +60 -0
- package/licensemanager/getLicenseGrants.js.map +1 -0
- package/licensemanager/getReceivedLicense.d.ts +121 -0
- package/licensemanager/getReceivedLicense.js +51 -0
- package/licensemanager/getReceivedLicense.js.map +1 -0
- package/licensemanager/getReceivedLicenses.d.ts +75 -0
- package/licensemanager/getReceivedLicenses.js +58 -0
- package/licensemanager/getReceivedLicenses.js.map +1 -0
- package/licensemanager/index.d.ts +15 -0
- package/licensemanager/index.js +20 -1
- package/licensemanager/index.js.map +1 -1
- package/licensemanager/licenseGrant.d.ts +135 -0
- package/licensemanager/licenseGrant.js +85 -0
- package/licensemanager/licenseGrant.js.map +1 -0
- package/licensemanager/licenseGrantAccepter.d.ts +123 -0
- package/licensemanager/licenseGrantAccepter.js +79 -0
- package/licensemanager/licenseGrantAccepter.js.map +1 -0
- package/organizations/policy.d.ts +16 -0
- package/organizations/policy.js +16 -0
- package/organizations/policy.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/rds/instance.d.ts +12 -6
- package/rds/instance.js +2 -0
- package/rds/instance.js.map +1 -1
- package/rds/snapshot.d.ts +12 -0
- package/rds/snapshot.js +2 -0
- package/rds/snapshot.js.map +1 -1
- package/redshift/clusterSnapshot.d.ts +137 -0
- package/redshift/clusterSnapshot.js +80 -0
- package/redshift/clusterSnapshot.js.map +1 -0
- package/redshift/index.d.ts +3 -0
- package/redshift/index.js +6 -1
- package/redshift/index.js.map +1 -1
- package/redshiftserverless/namespace.d.ts +3 -3
- package/route53/hostedZoneDnsSec.d.ts +4 -25
- package/route53/hostedZoneDnsSec.js +4 -25
- package/route53/hostedZoneDnsSec.js.map +1 -1
- package/sagemaker/domain.d.ts +3 -3
- package/sesv2/configurationSet.d.ts +12 -0
- package/sesv2/configurationSet.js +2 -0
- package/sesv2/configurationSet.js.map +1 -1
- package/transfer/server.d.ts +15 -3
- package/transfer/server.js +2 -0
- package/transfer/server.js.map +1 -1
- package/types/input.d.ts +505 -11
- package/types/output.d.ts +444 -11
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* This resource can be used to get data on a received license using an ARN. This can be helpful for pulling in data on a license from the AWS marketplace and sharing that license with another account.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* The following shows getting the received license data using and ARN.
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as aws from "@pulumi/aws";
|
|
13
|
+
*
|
|
14
|
+
* const test = aws.licensemanager.getReceivedLicense({
|
|
15
|
+
* licenseArn: "arn:aws:license-manager::111111111111:license:l-ecbaa94eb71a4830b6d7e49268fecaa0",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getReceivedLicense(args: GetReceivedLicenseArgs, opts?: pulumi.InvokeOptions): Promise<GetReceivedLicenseResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getReceivedLicense.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetReceivedLicenseArgs {
|
|
24
|
+
/**
|
|
25
|
+
* The ARN of the received license you want data for.
|
|
26
|
+
*/
|
|
27
|
+
licenseArn: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getReceivedLicense.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetReceivedLicenseResult {
|
|
33
|
+
/**
|
|
34
|
+
* Granted license beneficiary. This is in the form of the ARN of the root user of the account.
|
|
35
|
+
*/
|
|
36
|
+
readonly beneficiary: string;
|
|
37
|
+
/**
|
|
38
|
+
* Configuration for consumption of the license. Detailed below
|
|
39
|
+
*/
|
|
40
|
+
readonly consumptionConfigurations: outputs.licensemanager.GetReceivedLicenseConsumptionConfiguration[];
|
|
41
|
+
/**
|
|
42
|
+
* Creation time of the granted license in RFC 3339 format.
|
|
43
|
+
*/
|
|
44
|
+
readonly createTime: string;
|
|
45
|
+
/**
|
|
46
|
+
* License entitlements. Detailed below
|
|
47
|
+
*/
|
|
48
|
+
readonly entitlements: outputs.licensemanager.GetReceivedLicenseEntitlement[];
|
|
49
|
+
/**
|
|
50
|
+
* Home Region of the granted license.
|
|
51
|
+
*/
|
|
52
|
+
readonly homeRegion: string;
|
|
53
|
+
/**
|
|
54
|
+
* The provider-assigned unique ID for this managed resource.
|
|
55
|
+
*/
|
|
56
|
+
readonly id: string;
|
|
57
|
+
/**
|
|
58
|
+
* Granted license issuer. Detailed below
|
|
59
|
+
*/
|
|
60
|
+
readonly issuers: outputs.licensemanager.GetReceivedLicenseIssuer[];
|
|
61
|
+
/**
|
|
62
|
+
* Amazon Resource Name (ARN) of the license.
|
|
63
|
+
*/
|
|
64
|
+
readonly licenseArn: string;
|
|
65
|
+
/**
|
|
66
|
+
* Granted license metadata. This is in the form of a set of all meta data. Detailed below
|
|
67
|
+
*/
|
|
68
|
+
readonly licenseMetadatas: outputs.licensemanager.GetReceivedLicenseLicenseMetadata[];
|
|
69
|
+
/**
|
|
70
|
+
* License name.
|
|
71
|
+
*/
|
|
72
|
+
readonly licenseName: string;
|
|
73
|
+
/**
|
|
74
|
+
* Product name.
|
|
75
|
+
* * `productSku ` - Product SKU.
|
|
76
|
+
*/
|
|
77
|
+
readonly productName: string;
|
|
78
|
+
readonly productSku: string;
|
|
79
|
+
/**
|
|
80
|
+
* Granted license received metadata. Detailed below
|
|
81
|
+
*/
|
|
82
|
+
readonly receivedMetadatas: outputs.licensemanager.GetReceivedLicenseReceivedMetadata[];
|
|
83
|
+
/**
|
|
84
|
+
* Granted license status.
|
|
85
|
+
*/
|
|
86
|
+
readonly status: string;
|
|
87
|
+
/**
|
|
88
|
+
* Date and time range during which the granted license is valid, in ISO8601-UTC format. Detailed below
|
|
89
|
+
*/
|
|
90
|
+
readonly validities: outputs.licensemanager.GetReceivedLicenseValidity[];
|
|
91
|
+
/**
|
|
92
|
+
* Version of the granted license.
|
|
93
|
+
*/
|
|
94
|
+
readonly version: string;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* This resource can be used to get data on a received license using an ARN. This can be helpful for pulling in data on a license from the AWS marketplace and sharing that license with another account.
|
|
98
|
+
*
|
|
99
|
+
* ## Example Usage
|
|
100
|
+
*
|
|
101
|
+
* The following shows getting the received license data using and ARN.
|
|
102
|
+
*
|
|
103
|
+
* ```typescript
|
|
104
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
105
|
+
* import * as aws from "@pulumi/aws";
|
|
106
|
+
*
|
|
107
|
+
* const test = aws.licensemanager.getReceivedLicense({
|
|
108
|
+
* licenseArn: "arn:aws:license-manager::111111111111:license:l-ecbaa94eb71a4830b6d7e49268fecaa0",
|
|
109
|
+
* });
|
|
110
|
+
* ```
|
|
111
|
+
*/
|
|
112
|
+
export declare function getReceivedLicenseOutput(args: GetReceivedLicenseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetReceivedLicenseResult>;
|
|
113
|
+
/**
|
|
114
|
+
* A collection of arguments for invoking getReceivedLicense.
|
|
115
|
+
*/
|
|
116
|
+
export interface GetReceivedLicenseOutputArgs {
|
|
117
|
+
/**
|
|
118
|
+
* The ARN of the received license you want data for.
|
|
119
|
+
*/
|
|
120
|
+
licenseArn: pulumi.Input<string>;
|
|
121
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getReceivedLicenseOutput = exports.getReceivedLicense = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource can be used to get data on a received license using an ARN. This can be helpful for pulling in data on a license from the AWS marketplace and sharing that license with another account.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* The following shows getting the received license data using and ARN.
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const test = aws.licensemanager.getReceivedLicense({
|
|
20
|
+
* licenseArn: "arn:aws:license-manager::111111111111:license:l-ecbaa94eb71a4830b6d7e49268fecaa0",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getReceivedLicense(args, opts) {
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invoke("aws:licensemanager/getReceivedLicense:getReceivedLicense", {
|
|
27
|
+
"licenseArn": args.licenseArn,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getReceivedLicense = getReceivedLicense;
|
|
31
|
+
/**
|
|
32
|
+
* This resource can be used to get data on a received license using an ARN. This can be helpful for pulling in data on a license from the AWS marketplace and sharing that license with another account.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* The following shows getting the received license data using and ARN.
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as aws from "@pulumi/aws";
|
|
41
|
+
*
|
|
42
|
+
* const test = aws.licensemanager.getReceivedLicense({
|
|
43
|
+
* licenseArn: "arn:aws:license-manager::111111111111:license:l-ecbaa94eb71a4830b6d7e49268fecaa0",
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
function getReceivedLicenseOutput(args, opts) {
|
|
48
|
+
return pulumi.output(args).apply((a) => getReceivedLicense(a, opts));
|
|
49
|
+
}
|
|
50
|
+
exports.getReceivedLicenseOutput = getReceivedLicenseOutput;
|
|
51
|
+
//# sourceMappingURL=getReceivedLicense.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getReceivedLicense.js","sourceRoot":"","sources":["../../licensemanager/getReceivedLicense.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gDAMC;AA+ED;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This resource can be used to get a set of license ARNs matching a filter.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* The following shows getting all license ARNs issued from the AWS marketplace. Providing no filter, would provide all license ARNs for the entire account.
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as aws from "@pulumi/aws";
|
|
14
|
+
*
|
|
15
|
+
* const test = aws.licensemanager.getReceivedLicenses({
|
|
16
|
+
* filters: [{
|
|
17
|
+
* name: "IssuerName",
|
|
18
|
+
* values: ["AWS/Marketplace"],
|
|
19
|
+
* }],
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function getReceivedLicenses(args?: GetReceivedLicensesArgs, opts?: pulumi.InvokeOptions): Promise<GetReceivedLicensesResult>;
|
|
24
|
+
/**
|
|
25
|
+
* A collection of arguments for invoking getReceivedLicenses.
|
|
26
|
+
*/
|
|
27
|
+
export interface GetReceivedLicensesArgs {
|
|
28
|
+
/**
|
|
29
|
+
* Custom filter block as described below.
|
|
30
|
+
*/
|
|
31
|
+
filters?: inputs.licensemanager.GetReceivedLicensesFilter[];
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A collection of values returned by getReceivedLicenses.
|
|
35
|
+
*/
|
|
36
|
+
export interface GetReceivedLicensesResult {
|
|
37
|
+
/**
|
|
38
|
+
* List of all the license ARNs found.
|
|
39
|
+
*/
|
|
40
|
+
readonly arns: string[];
|
|
41
|
+
readonly filters?: outputs.licensemanager.GetReceivedLicensesFilter[];
|
|
42
|
+
/**
|
|
43
|
+
* The provider-assigned unique ID for this managed resource.
|
|
44
|
+
*/
|
|
45
|
+
readonly id: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* This resource can be used to get a set of license ARNs matching a filter.
|
|
49
|
+
*
|
|
50
|
+
* ## Example Usage
|
|
51
|
+
*
|
|
52
|
+
* The following shows getting all license ARNs issued from the AWS marketplace. Providing no filter, would provide all license ARNs for the entire account.
|
|
53
|
+
*
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
+
* import * as aws from "@pulumi/aws";
|
|
57
|
+
*
|
|
58
|
+
* const test = aws.licensemanager.getReceivedLicenses({
|
|
59
|
+
* filters: [{
|
|
60
|
+
* name: "IssuerName",
|
|
61
|
+
* values: ["AWS/Marketplace"],
|
|
62
|
+
* }],
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
export declare function getReceivedLicensesOutput(args?: GetReceivedLicensesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetReceivedLicensesResult>;
|
|
67
|
+
/**
|
|
68
|
+
* A collection of arguments for invoking getReceivedLicenses.
|
|
69
|
+
*/
|
|
70
|
+
export interface GetReceivedLicensesOutputArgs {
|
|
71
|
+
/**
|
|
72
|
+
* Custom filter block as described below.
|
|
73
|
+
*/
|
|
74
|
+
filters?: pulumi.Input<pulumi.Input<inputs.licensemanager.GetReceivedLicensesFilterArgs>[]>;
|
|
75
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getReceivedLicensesOutput = exports.getReceivedLicenses = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource can be used to get a set of license ARNs matching a filter.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* The following shows getting all license ARNs issued from the AWS marketplace. Providing no filter, would provide all license ARNs for the entire account.
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const test = aws.licensemanager.getReceivedLicenses({
|
|
20
|
+
* filters: [{
|
|
21
|
+
* name: "IssuerName",
|
|
22
|
+
* values: ["AWS/Marketplace"],
|
|
23
|
+
* }],
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
function getReceivedLicenses(args, opts) {
|
|
28
|
+
args = args || {};
|
|
29
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
30
|
+
return pulumi.runtime.invoke("aws:licensemanager/getReceivedLicenses:getReceivedLicenses", {
|
|
31
|
+
"filters": args.filters,
|
|
32
|
+
}, opts);
|
|
33
|
+
}
|
|
34
|
+
exports.getReceivedLicenses = getReceivedLicenses;
|
|
35
|
+
/**
|
|
36
|
+
* This resource can be used to get a set of license ARNs matching a filter.
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* The following shows getting all license ARNs issued from the AWS marketplace. Providing no filter, would provide all license ARNs for the entire account.
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as aws from "@pulumi/aws";
|
|
45
|
+
*
|
|
46
|
+
* const test = aws.licensemanager.getReceivedLicenses({
|
|
47
|
+
* filters: [{
|
|
48
|
+
* name: "IssuerName",
|
|
49
|
+
* values: ["AWS/Marketplace"],
|
|
50
|
+
* }],
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
function getReceivedLicensesOutput(args, opts) {
|
|
55
|
+
return pulumi.output(args).apply((a) => getReceivedLicenses(a, opts));
|
|
56
|
+
}
|
|
57
|
+
exports.getReceivedLicensesOutput = getReceivedLicensesOutput;
|
|
58
|
+
//# sourceMappingURL=getReceivedLicenses.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getReceivedLicenses.js","sourceRoot":"","sources":["../../licensemanager/getReceivedLicenses.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC;AA0BD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
|
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
export { AssociationArgs, AssociationState } from "./association";
|
|
2
2
|
export type Association = import("./association").Association;
|
|
3
3
|
export declare const Association: typeof import("./association").Association;
|
|
4
|
+
export { GetLicenseGrantsArgs, GetLicenseGrantsResult, GetLicenseGrantsOutputArgs } from "./getLicenseGrants";
|
|
5
|
+
export declare const getLicenseGrants: typeof import("./getLicenseGrants").getLicenseGrants;
|
|
6
|
+
export declare const getLicenseGrantsOutput: typeof import("./getLicenseGrants").getLicenseGrantsOutput;
|
|
7
|
+
export { GetReceivedLicenseArgs, GetReceivedLicenseResult, GetReceivedLicenseOutputArgs } from "./getReceivedLicense";
|
|
8
|
+
export declare const getReceivedLicense: typeof import("./getReceivedLicense").getReceivedLicense;
|
|
9
|
+
export declare const getReceivedLicenseOutput: typeof import("./getReceivedLicense").getReceivedLicenseOutput;
|
|
10
|
+
export { GetReceivedLicensesArgs, GetReceivedLicensesResult, GetReceivedLicensesOutputArgs } from "./getReceivedLicenses";
|
|
11
|
+
export declare const getReceivedLicenses: typeof import("./getReceivedLicenses").getReceivedLicenses;
|
|
12
|
+
export declare const getReceivedLicensesOutput: typeof import("./getReceivedLicenses").getReceivedLicensesOutput;
|
|
4
13
|
export { LicenseConfigurationArgs, LicenseConfigurationState } from "./licenseConfiguration";
|
|
5
14
|
export type LicenseConfiguration = import("./licenseConfiguration").LicenseConfiguration;
|
|
6
15
|
export declare const LicenseConfiguration: typeof import("./licenseConfiguration").LicenseConfiguration;
|
|
16
|
+
export { LicenseGrantArgs, LicenseGrantState } from "./licenseGrant";
|
|
17
|
+
export type LicenseGrant = import("./licenseGrant").LicenseGrant;
|
|
18
|
+
export declare const LicenseGrant: typeof import("./licenseGrant").LicenseGrant;
|
|
19
|
+
export { LicenseGrantAccepterArgs, LicenseGrantAccepterState } from "./licenseGrantAccepter";
|
|
20
|
+
export type LicenseGrantAccepter = import("./licenseGrantAccepter").LicenseGrantAccepter;
|
|
21
|
+
export declare const LicenseGrantAccepter: typeof import("./licenseGrantAccepter").LicenseGrantAccepter;
|
package/licensemanager/index.js
CHANGED
|
@@ -2,13 +2,26 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.LicenseConfiguration = exports.Association = void 0;
|
|
5
|
+
exports.LicenseGrantAccepter = exports.LicenseGrant = exports.LicenseConfiguration = exports.getReceivedLicensesOutput = exports.getReceivedLicenses = exports.getReceivedLicenseOutput = exports.getReceivedLicense = exports.getLicenseGrantsOutput = exports.getLicenseGrants = exports.Association = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.Association = null;
|
|
9
9
|
utilities.lazyLoad(exports, ["Association"], () => require("./association"));
|
|
10
|
+
exports.getLicenseGrants = null;
|
|
11
|
+
exports.getLicenseGrantsOutput = null;
|
|
12
|
+
utilities.lazyLoad(exports, ["getLicenseGrants", "getLicenseGrantsOutput"], () => require("./getLicenseGrants"));
|
|
13
|
+
exports.getReceivedLicense = null;
|
|
14
|
+
exports.getReceivedLicenseOutput = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["getReceivedLicense", "getReceivedLicenseOutput"], () => require("./getReceivedLicense"));
|
|
16
|
+
exports.getReceivedLicenses = null;
|
|
17
|
+
exports.getReceivedLicensesOutput = null;
|
|
18
|
+
utilities.lazyLoad(exports, ["getReceivedLicenses", "getReceivedLicensesOutput"], () => require("./getReceivedLicenses"));
|
|
10
19
|
exports.LicenseConfiguration = null;
|
|
11
20
|
utilities.lazyLoad(exports, ["LicenseConfiguration"], () => require("./licenseConfiguration"));
|
|
21
|
+
exports.LicenseGrant = null;
|
|
22
|
+
utilities.lazyLoad(exports, ["LicenseGrant"], () => require("./licenseGrant"));
|
|
23
|
+
exports.LicenseGrantAccepter = null;
|
|
24
|
+
utilities.lazyLoad(exports, ["LicenseGrantAccepter"], () => require("./licenseGrantAccepter"));
|
|
12
25
|
const _module = {
|
|
13
26
|
version: utilities.getVersion(),
|
|
14
27
|
construct: (name, type, urn) => {
|
|
@@ -17,6 +30,10 @@ const _module = {
|
|
|
17
30
|
return new exports.Association(name, undefined, { urn });
|
|
18
31
|
case "aws:licensemanager/licenseConfiguration:LicenseConfiguration":
|
|
19
32
|
return new exports.LicenseConfiguration(name, undefined, { urn });
|
|
33
|
+
case "aws:licensemanager/licenseGrant:LicenseGrant":
|
|
34
|
+
return new exports.LicenseGrant(name, undefined, { urn });
|
|
35
|
+
case "aws:licensemanager/licenseGrantAccepter:LicenseGrantAccepter":
|
|
36
|
+
return new exports.LicenseGrantAccepter(name, undefined, { urn });
|
|
20
37
|
default:
|
|
21
38
|
throw new Error(`unknown resource type ${type}`);
|
|
22
39
|
}
|
|
@@ -24,4 +41,6 @@ const _module = {
|
|
|
24
41
|
};
|
|
25
42
|
pulumi.runtime.registerResourceModule("aws", "licensemanager/association", _module);
|
|
26
43
|
pulumi.runtime.registerResourceModule("aws", "licensemanager/licenseConfiguration", _module);
|
|
44
|
+
pulumi.runtime.registerResourceModule("aws", "licensemanager/licenseGrant", _module);
|
|
45
|
+
pulumi.runtime.registerResourceModule("aws", "licensemanager/licenseGrantAccepter", _module);
|
|
27
46
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../licensemanager/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../licensemanager/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAGhE,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AACrF,QAAA,sBAAsB,GAA+D,IAAW,CAAC;AAC9G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,EAAC,wBAAwB,CA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AAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD,KAAK,8DAA8D;gBAC/D,OAAO,IAAI,4BAAoB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClE,KAAK,8CAA8C;gBAC/C,OAAO,IAAI,oBAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D,KAAK,8DAA8D;gBAC/D,OAAO,IAAI,4BAAoB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,qCAAqC,EAAE,OAAO,CAAC,CAAA;AAC5F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,qCAAqC,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a License Manager grant. This allows for sharing licenses with other AWS accounts.
|
|
4
|
+
*
|
|
5
|
+
* ## Import
|
|
6
|
+
*
|
|
7
|
+
* `aws_licensemanager_grant` can be imported using the grant arn.
|
|
8
|
+
*
|
|
9
|
+
* ```sh
|
|
10
|
+
* $ pulumi import aws:licensemanager/licenseGrant:LicenseGrant test arn:aws:license-manager::123456789011:grant:g-01d313393d9e443d8664cc054db1e089
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare class LicenseGrant extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Get an existing LicenseGrant resource's state with the given name, ID, and optional extra
|
|
16
|
+
* properties used to qualify the lookup.
|
|
17
|
+
*
|
|
18
|
+
* @param name The _unique_ name of the resulting resource.
|
|
19
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
20
|
+
* @param state Any extra arguments used during the lookup.
|
|
21
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
22
|
+
*/
|
|
23
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LicenseGrantState, opts?: pulumi.CustomResourceOptions): LicenseGrant;
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of LicenseGrant. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj: any): obj is LicenseGrant;
|
|
29
|
+
/**
|
|
30
|
+
* A list of the allowed operations for the grant. This is a subset of the allowed operations on the license.
|
|
31
|
+
*/
|
|
32
|
+
readonly allowedOperations: pulumi.Output<string[]>;
|
|
33
|
+
/**
|
|
34
|
+
* The grant ARN.
|
|
35
|
+
*/
|
|
36
|
+
readonly arn: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* The home region for the license.
|
|
39
|
+
*/
|
|
40
|
+
readonly homeRegion: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* The ARN of the license to grant.
|
|
43
|
+
*/
|
|
44
|
+
readonly licenseArn: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* The Name of the grant.
|
|
47
|
+
*/
|
|
48
|
+
readonly name: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The parent ARN.
|
|
51
|
+
*/
|
|
52
|
+
readonly parentArn: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The target account for the grant in the form of the ARN for an account principal of the root user.
|
|
55
|
+
*/
|
|
56
|
+
readonly principal: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The grant status.
|
|
59
|
+
*/
|
|
60
|
+
readonly status: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The grant version.
|
|
63
|
+
*/
|
|
64
|
+
readonly version: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Create a LicenseGrant resource with the given unique name, arguments, and options.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resource.
|
|
69
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
70
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
71
|
+
*/
|
|
72
|
+
constructor(name: string, args: LicenseGrantArgs, opts?: pulumi.CustomResourceOptions);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Input properties used for looking up and filtering LicenseGrant resources.
|
|
76
|
+
*/
|
|
77
|
+
export interface LicenseGrantState {
|
|
78
|
+
/**
|
|
79
|
+
* A list of the allowed operations for the grant. This is a subset of the allowed operations on the license.
|
|
80
|
+
*/
|
|
81
|
+
allowedOperations?: pulumi.Input<pulumi.Input<string>[]>;
|
|
82
|
+
/**
|
|
83
|
+
* The grant ARN.
|
|
84
|
+
*/
|
|
85
|
+
arn?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The home region for the license.
|
|
88
|
+
*/
|
|
89
|
+
homeRegion?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The ARN of the license to grant.
|
|
92
|
+
*/
|
|
93
|
+
licenseArn?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The Name of the grant.
|
|
96
|
+
*/
|
|
97
|
+
name?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The parent ARN.
|
|
100
|
+
*/
|
|
101
|
+
parentArn?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The target account for the grant in the form of the ARN for an account principal of the root user.
|
|
104
|
+
*/
|
|
105
|
+
principal?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* The grant status.
|
|
108
|
+
*/
|
|
109
|
+
status?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The grant version.
|
|
112
|
+
*/
|
|
113
|
+
version?: pulumi.Input<string>;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* The set of arguments for constructing a LicenseGrant resource.
|
|
117
|
+
*/
|
|
118
|
+
export interface LicenseGrantArgs {
|
|
119
|
+
/**
|
|
120
|
+
* A list of the allowed operations for the grant. This is a subset of the allowed operations on the license.
|
|
121
|
+
*/
|
|
122
|
+
allowedOperations: pulumi.Input<pulumi.Input<string>[]>;
|
|
123
|
+
/**
|
|
124
|
+
* The ARN of the license to grant.
|
|
125
|
+
*/
|
|
126
|
+
licenseArn: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* The Name of the grant.
|
|
129
|
+
*/
|
|
130
|
+
name?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* The target account for the grant in the form of the ARN for an account principal of the root user.
|
|
133
|
+
*/
|
|
134
|
+
principal: pulumi.Input<string>;
|
|
135
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.LicenseGrant = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a License Manager grant. This allows for sharing licenses with other AWS accounts.
|
|
10
|
+
*
|
|
11
|
+
* ## Import
|
|
12
|
+
*
|
|
13
|
+
* `aws_licensemanager_grant` can be imported using the grant arn.
|
|
14
|
+
*
|
|
15
|
+
* ```sh
|
|
16
|
+
* $ pulumi import aws:licensemanager/licenseGrant:LicenseGrant test arn:aws:license-manager::123456789011:grant:g-01d313393d9e443d8664cc054db1e089
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
class LicenseGrant extends pulumi.CustomResource {
|
|
20
|
+
/**
|
|
21
|
+
* Get an existing LicenseGrant resource's state with the given name, ID, and optional extra
|
|
22
|
+
* properties used to qualify the lookup.
|
|
23
|
+
*
|
|
24
|
+
* @param name The _unique_ name of the resulting resource.
|
|
25
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
26
|
+
* @param state Any extra arguments used during the lookup.
|
|
27
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
28
|
+
*/
|
|
29
|
+
static get(name, id, state, opts) {
|
|
30
|
+
return new LicenseGrant(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Returns true if the given object is an instance of LicenseGrant. This is designed to work even
|
|
34
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
35
|
+
*/
|
|
36
|
+
static isInstance(obj) {
|
|
37
|
+
if (obj === undefined || obj === null) {
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
return obj['__pulumiType'] === LicenseGrant.__pulumiType;
|
|
41
|
+
}
|
|
42
|
+
constructor(name, argsOrState, opts) {
|
|
43
|
+
let resourceInputs = {};
|
|
44
|
+
opts = opts || {};
|
|
45
|
+
if (opts.id) {
|
|
46
|
+
const state = argsOrState;
|
|
47
|
+
resourceInputs["allowedOperations"] = state ? state.allowedOperations : undefined;
|
|
48
|
+
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
49
|
+
resourceInputs["homeRegion"] = state ? state.homeRegion : undefined;
|
|
50
|
+
resourceInputs["licenseArn"] = state ? state.licenseArn : undefined;
|
|
51
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
52
|
+
resourceInputs["parentArn"] = state ? state.parentArn : undefined;
|
|
53
|
+
resourceInputs["principal"] = state ? state.principal : undefined;
|
|
54
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
55
|
+
resourceInputs["version"] = state ? state.version : undefined;
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
const args = argsOrState;
|
|
59
|
+
if ((!args || args.allowedOperations === undefined) && !opts.urn) {
|
|
60
|
+
throw new Error("Missing required property 'allowedOperations'");
|
|
61
|
+
}
|
|
62
|
+
if ((!args || args.licenseArn === undefined) && !opts.urn) {
|
|
63
|
+
throw new Error("Missing required property 'licenseArn'");
|
|
64
|
+
}
|
|
65
|
+
if ((!args || args.principal === undefined) && !opts.urn) {
|
|
66
|
+
throw new Error("Missing required property 'principal'");
|
|
67
|
+
}
|
|
68
|
+
resourceInputs["allowedOperations"] = args ? args.allowedOperations : undefined;
|
|
69
|
+
resourceInputs["licenseArn"] = args ? args.licenseArn : undefined;
|
|
70
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
71
|
+
resourceInputs["principal"] = args ? args.principal : undefined;
|
|
72
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
73
|
+
resourceInputs["homeRegion"] = undefined /*out*/;
|
|
74
|
+
resourceInputs["parentArn"] = undefined /*out*/;
|
|
75
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["version"] = undefined /*out*/;
|
|
77
|
+
}
|
|
78
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
79
|
+
super(LicenseGrant.__pulumiType, name, resourceInputs, opts);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.LicenseGrant = LicenseGrant;
|
|
83
|
+
/** @internal */
|
|
84
|
+
LicenseGrant.__pulumiType = 'aws:licensemanager/licenseGrant:LicenseGrant';
|
|
85
|
+
//# sourceMappingURL=licenseGrant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"licenseGrant.js","sourceRoot":"","sources":["../../licensemanager/licenseGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;A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