@pulumi/aws-native 1.16.0-alpha.1734380938 → 1.17.0-alpha.1734532624
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/cleanrooms/getIdMappingTable.d.ts +12 -0
- package/cleanrooms/getIdMappingTable.js.map +1 -1
- package/cleanrooms/getIdNamespaceAssociation.d.ts +12 -0
- package/cleanrooms/getIdNamespaceAssociation.js.map +1 -1
- package/cleanrooms/idMappingTable.d.ts +6 -0
- package/cleanrooms/idMappingTable.js.map +1 -1
- package/cleanrooms/idNamespaceAssociation.d.ts +6 -0
- package/cleanrooms/idNamespaceAssociation.js.map +1 -1
- package/cognito/getUserPool.d.ts +2 -2
- package/cognito/getUserPoolClient.d.ts +2 -0
- package/cognito/getUserPoolClient.js.map +1 -1
- package/cognito/userPool.d.ts +4 -4
- package/cognito/userPoolClient.d.ts +4 -0
- package/cognito/userPoolClient.js.map +1 -1
- package/cognito/userPoolUser.d.ts +2 -2
- package/databrew/dataset.d.ts +8 -0
- package/databrew/dataset.js +2 -0
- package/databrew/dataset.js.map +1 -1
- package/databrew/getDataset.d.ts +4 -0
- package/databrew/getDataset.js.map +1 -1
- package/datazone/subscriptionTarget.d.ts +2 -2
- package/datazone/subscriptionTarget.js +0 -3
- package/datazone/subscriptionTarget.js.map +1 -1
- package/ec2/getNetworkAcl.d.ts +2 -0
- package/ec2/getNetworkAcl.js +2 -0
- package/ec2/getNetworkAcl.js.map +1 -1
- package/ec2/getVpcEndpoint.d.ts +1 -0
- package/ec2/getVpcEndpoint.js.map +1 -1
- package/ec2/networkAcl.d.ts +1 -0
- package/ec2/networkAcl.js +1 -0
- package/ec2/networkAcl.js.map +1 -1
- package/ec2/vpcEndpoint.d.ts +2 -0
- package/ec2/vpcEndpoint.js +2 -0
- package/ec2/vpcEndpoint.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/package.json +3 -3
- package/package.json.dev +2 -2
- package/pcs/cluster.d.ts +108 -0
- package/pcs/cluster.js +87 -0
- package/pcs/cluster.js.map +1 -0
- package/pcs/computeNodeGroup.d.ts +152 -0
- package/pcs/computeNodeGroup.js +106 -0
- package/pcs/computeNodeGroup.js.map +1 -0
- package/pcs/getCluster.d.ts +51 -0
- package/pcs/getCluster.js +28 -0
- package/pcs/getCluster.js.map +1 -0
- package/pcs/getComputeNodeGroup.d.ts +79 -0
- package/pcs/getComputeNodeGroup.js +28 -0
- package/pcs/getComputeNodeGroup.js.map +1 -0
- package/pcs/getQueue.d.ts +51 -0
- package/pcs/getQueue.js +28 -0
- package/pcs/getQueue.js.map +1 -0
- package/pcs/index.d.ts +19 -0
- package/pcs/index.js +55 -0
- package/pcs/index.js.map +1 -0
- package/pcs/queue.d.ts +88 -0
- package/pcs/queue.js +75 -0
- package/pcs/queue.js.map +1 -0
- package/quicksight/customPermissions.d.ts +44 -0
- package/quicksight/customPermissions.js +69 -0
- package/quicksight/customPermissions.js.map +1 -0
- package/quicksight/getCustomPermissions.d.ts +23 -0
- package/quicksight/getCustomPermissions.js +30 -0
- package/quicksight/getCustomPermissions.js.map +1 -0
- package/quicksight/index.d.ts +6 -0
- package/quicksight/index.js +8 -1
- package/quicksight/index.js.map +1 -1
- package/types/enums/cloudformation/index.d.ts +2 -0
- package/types/enums/cloudformation/index.js +2 -0
- package/types/enums/cloudformation/index.js.map +1 -1
- package/types/enums/databrew/index.d.ts +9 -0
- package/types/enums/databrew/index.js +6 -1
- package/types/enums/databrew/index.js.map +1 -1
- package/types/enums/datazone/index.d.ts +3 -0
- package/types/enums/datazone/index.js +3 -0
- package/types/enums/datazone/index.js.map +1 -1
- package/types/enums/index.d.ts +2 -1
- package/types/enums/index.js +4 -2
- package/types/enums/index.js.map +1 -1
- package/types/enums/pcs/index.d.ts +80 -0
- package/types/enums/pcs/index.js +54 -0
- package/types/enums/pcs/index.js.map +1 -0
- package/types/enums/quicksight/index.d.ts +4 -0
- package/types/enums/quicksight/index.js +10 -7
- package/types/enums/quicksight/index.js.map +1 -1
- package/types/input.d.ts +156 -5
- package/types/output.d.ts +216 -5
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
import * as enums from "../types/enums";
|
|
4
|
+
/**
|
|
5
|
+
* AWS::PCS::Cluster resource creates an AWS PCS cluster.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterResult>;
|
|
8
|
+
export interface GetClusterArgs {
|
|
9
|
+
/**
|
|
10
|
+
* The unique Amazon Resource Name (ARN) of the cluster.
|
|
11
|
+
*/
|
|
12
|
+
arn: string;
|
|
13
|
+
}
|
|
14
|
+
export interface GetClusterResult {
|
|
15
|
+
/**
|
|
16
|
+
* The unique Amazon Resource Name (ARN) of the cluster.
|
|
17
|
+
*/
|
|
18
|
+
readonly arn?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The list of endpoints available for interaction with the scheduler.
|
|
21
|
+
*/
|
|
22
|
+
readonly endpoints?: outputs.pcs.ClusterEndpoint[];
|
|
23
|
+
/**
|
|
24
|
+
* The list of errors that occurred during cluster provisioning.
|
|
25
|
+
*/
|
|
26
|
+
readonly errorInfo?: outputs.pcs.ClusterErrorInfo[];
|
|
27
|
+
/**
|
|
28
|
+
* The generated unique ID of the cluster.
|
|
29
|
+
*/
|
|
30
|
+
readonly id?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The provisioning status of the cluster. The provisioning status doesn't indicate the overall health of the cluster.
|
|
33
|
+
*/
|
|
34
|
+
readonly status?: enums.pcs.ClusterStatus;
|
|
35
|
+
/**
|
|
36
|
+
* 1 or more tags added to the resource. Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string.
|
|
37
|
+
*/
|
|
38
|
+
readonly tags?: {
|
|
39
|
+
[key: string]: string;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* AWS::PCS::Cluster resource creates an AWS PCS cluster.
|
|
44
|
+
*/
|
|
45
|
+
export declare function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetClusterResult>;
|
|
46
|
+
export interface GetClusterOutputArgs {
|
|
47
|
+
/**
|
|
48
|
+
* The unique Amazon Resource Name (ARN) of the cluster.
|
|
49
|
+
*/
|
|
50
|
+
arn: pulumi.Input<string>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.getClusterOutput = exports.getCluster = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* AWS::PCS::Cluster resource creates an AWS PCS cluster.
|
|
10
|
+
*/
|
|
11
|
+
function getCluster(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:pcs:getCluster", {
|
|
14
|
+
"arn": args.arn,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getCluster = getCluster;
|
|
18
|
+
/**
|
|
19
|
+
* AWS::PCS::Cluster resource creates an AWS PCS cluster.
|
|
20
|
+
*/
|
|
21
|
+
function getClusterOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("aws-native:pcs:getCluster", {
|
|
24
|
+
"arn": args.arn,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getClusterOutput = getClusterOutput;
|
|
28
|
+
//# sourceMappingURL=getCluster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../../pcs/getCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2BAA2B,EAAE;QACtD,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gCAKC;AAmCD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2BAA2B,EAAE;QAC5D,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4CAKC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
import * as enums from "../types/enums";
|
|
4
|
+
/**
|
|
5
|
+
* AWS::PCS::ComputeNodeGroup resource creates an AWS PCS compute node group.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getComputeNodeGroup(args: GetComputeNodeGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetComputeNodeGroupResult>;
|
|
8
|
+
export interface GetComputeNodeGroupArgs {
|
|
9
|
+
/**
|
|
10
|
+
* The unique Amazon Resource Name (ARN) of the compute node group.
|
|
11
|
+
*/
|
|
12
|
+
arn: string;
|
|
13
|
+
}
|
|
14
|
+
export interface GetComputeNodeGroupResult {
|
|
15
|
+
/**
|
|
16
|
+
* The ID of the Amazon Machine Image (AMI) that AWS PCS uses to launch instances. If not provided, AWS PCS uses the AMI ID specified in the custom launch template.
|
|
17
|
+
*/
|
|
18
|
+
readonly amiId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The unique Amazon Resource Name (ARN) of the compute node group.
|
|
21
|
+
*/
|
|
22
|
+
readonly arn?: string;
|
|
23
|
+
/**
|
|
24
|
+
* An Amazon EC2 launch template AWS PCS uses to launch compute nodes.
|
|
25
|
+
*/
|
|
26
|
+
readonly customLaunchTemplate?: outputs.pcs.CustomLaunchTemplateProperties;
|
|
27
|
+
/**
|
|
28
|
+
* The list of errors that occurred during compute node group provisioning.
|
|
29
|
+
*/
|
|
30
|
+
readonly errorInfo?: outputs.pcs.ComputeNodeGroupErrorInfo[];
|
|
31
|
+
/**
|
|
32
|
+
* The Amazon Resource Name (ARN) of the IAM instance profile used to pass an IAM role when launching EC2 instances. The role contained in your instance profile must have pcs:RegisterComputeNodeGroupInstance permissions attached to provision instances correctly.
|
|
33
|
+
*/
|
|
34
|
+
readonly iamInstanceProfileArn?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The generated unique ID of the compute node group.
|
|
37
|
+
*/
|
|
38
|
+
readonly id?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Specifies how EC2 instances are purchased on your behalf. AWS PCS supports On-Demand and Spot instances. For more information, see Instance purchasing options in the Amazon Elastic Compute Cloud User Guide. If you don't provide this option, it defaults to On-Demand.
|
|
41
|
+
*/
|
|
42
|
+
readonly purchaseOption?: enums.pcs.ComputeNodeGroupPurchaseOption;
|
|
43
|
+
/**
|
|
44
|
+
* Specifies the boundaries of the compute node group auto scaling.
|
|
45
|
+
*/
|
|
46
|
+
readonly scalingConfiguration?: outputs.pcs.ScalingConfigurationProperties;
|
|
47
|
+
/**
|
|
48
|
+
* Additional options related to the Slurm scheduler.
|
|
49
|
+
*/
|
|
50
|
+
readonly slurmConfiguration?: outputs.pcs.SlurmConfigurationProperties;
|
|
51
|
+
/**
|
|
52
|
+
* Additional configuration when you specify SPOT as the purchase option.
|
|
53
|
+
*/
|
|
54
|
+
readonly spotOptions?: outputs.pcs.SpotOptionsProperties;
|
|
55
|
+
/**
|
|
56
|
+
* The provisioning status of the compute node group. The provisioning status doesn't indicate the overall health of the compute node group.
|
|
57
|
+
*/
|
|
58
|
+
readonly status?: enums.pcs.ComputeNodeGroupStatus;
|
|
59
|
+
/**
|
|
60
|
+
* The list of subnet IDs where instances are provisioned by the compute node group. The subnets must be in the same VPC as the cluster.
|
|
61
|
+
*/
|
|
62
|
+
readonly subnetIds?: string[];
|
|
63
|
+
/**
|
|
64
|
+
* 1 or more tags added to the resource. Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string.
|
|
65
|
+
*/
|
|
66
|
+
readonly tags?: {
|
|
67
|
+
[key: string]: string;
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* AWS::PCS::ComputeNodeGroup resource creates an AWS PCS compute node group.
|
|
72
|
+
*/
|
|
73
|
+
export declare function getComputeNodeGroupOutput(args: GetComputeNodeGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetComputeNodeGroupResult>;
|
|
74
|
+
export interface GetComputeNodeGroupOutputArgs {
|
|
75
|
+
/**
|
|
76
|
+
* The unique Amazon Resource Name (ARN) of the compute node group.
|
|
77
|
+
*/
|
|
78
|
+
arn: pulumi.Input<string>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.getComputeNodeGroupOutput = exports.getComputeNodeGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* AWS::PCS::ComputeNodeGroup resource creates an AWS PCS compute node group.
|
|
10
|
+
*/
|
|
11
|
+
function getComputeNodeGroup(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:pcs:getComputeNodeGroup", {
|
|
14
|
+
"arn": args.arn,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getComputeNodeGroup = getComputeNodeGroup;
|
|
18
|
+
/**
|
|
19
|
+
* AWS::PCS::ComputeNodeGroup resource creates an AWS PCS compute node group.
|
|
20
|
+
*/
|
|
21
|
+
function getComputeNodeGroupOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("aws-native:pcs:getComputeNodeGroup", {
|
|
24
|
+
"arn": args.arn,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getComputeNodeGroupOutput = getComputeNodeGroupOutput;
|
|
28
|
+
//# sourceMappingURL=getComputeNodeGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getComputeNodeGroup.js","sourceRoot":"","sources":["../../pcs/getComputeNodeGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC;AA+DD;;GAEG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
import * as enums from "../types/enums";
|
|
4
|
+
/**
|
|
5
|
+
* AWS::PCS::Queue resource creates an AWS PCS queue.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getQueue(args: GetQueueArgs, opts?: pulumi.InvokeOptions): Promise<GetQueueResult>;
|
|
8
|
+
export interface GetQueueArgs {
|
|
9
|
+
/**
|
|
10
|
+
* The unique Amazon Resource Name (ARN) of the queue.
|
|
11
|
+
*/
|
|
12
|
+
arn: string;
|
|
13
|
+
}
|
|
14
|
+
export interface GetQueueResult {
|
|
15
|
+
/**
|
|
16
|
+
* The unique Amazon Resource Name (ARN) of the queue.
|
|
17
|
+
*/
|
|
18
|
+
readonly arn?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.
|
|
21
|
+
*/
|
|
22
|
+
readonly computeNodeGroupConfigurations?: outputs.pcs.QueueComputeNodeGroupConfiguration[];
|
|
23
|
+
/**
|
|
24
|
+
* The list of errors that occurred during queue provisioning.
|
|
25
|
+
*/
|
|
26
|
+
readonly errorInfo?: outputs.pcs.QueueErrorInfo[];
|
|
27
|
+
/**
|
|
28
|
+
* The generated unique ID of the queue.
|
|
29
|
+
*/
|
|
30
|
+
readonly id?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The provisioning status of the queue. The provisioning status doesn't indicate the overall health of the queue.
|
|
33
|
+
*/
|
|
34
|
+
readonly status?: enums.pcs.QueueStatus;
|
|
35
|
+
/**
|
|
36
|
+
* 1 or more tags added to the resource. Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string.
|
|
37
|
+
*/
|
|
38
|
+
readonly tags?: {
|
|
39
|
+
[key: string]: string;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* AWS::PCS::Queue resource creates an AWS PCS queue.
|
|
44
|
+
*/
|
|
45
|
+
export declare function getQueueOutput(args: GetQueueOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetQueueResult>;
|
|
46
|
+
export interface GetQueueOutputArgs {
|
|
47
|
+
/**
|
|
48
|
+
* The unique Amazon Resource Name (ARN) of the queue.
|
|
49
|
+
*/
|
|
50
|
+
arn: pulumi.Input<string>;
|
|
51
|
+
}
|
package/pcs/getQueue.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.getQueueOutput = exports.getQueue = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* AWS::PCS::Queue resource creates an AWS PCS queue.
|
|
10
|
+
*/
|
|
11
|
+
function getQueue(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:pcs:getQueue", {
|
|
14
|
+
"arn": args.arn,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getQueue = getQueue;
|
|
18
|
+
/**
|
|
19
|
+
* AWS::PCS::Queue resource creates an AWS PCS queue.
|
|
20
|
+
*/
|
|
21
|
+
function getQueueOutput(args, opts) {
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invokeOutput("aws-native:pcs:getQueue", {
|
|
24
|
+
"arn": args.arn,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getQueueOutput = getQueueOutput;
|
|
28
|
+
//# sourceMappingURL=getQueue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getQueue.js","sourceRoot":"","sources":["../../pcs/getQueue.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yBAAyB,EAAE;QACpD,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4BAKC;AAmCD;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAAiC;IACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,yBAAyB,EAAE;QAC1D,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC"}
|
package/pcs/index.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { ClusterArgs } from "./cluster";
|
|
2
|
+
export type Cluster = import("./cluster").Cluster;
|
|
3
|
+
export declare const Cluster: typeof import("./cluster").Cluster;
|
|
4
|
+
export { ComputeNodeGroupArgs } from "./computeNodeGroup";
|
|
5
|
+
export type ComputeNodeGroup = import("./computeNodeGroup").ComputeNodeGroup;
|
|
6
|
+
export declare const ComputeNodeGroup: typeof import("./computeNodeGroup").ComputeNodeGroup;
|
|
7
|
+
export { GetClusterArgs, GetClusterResult, GetClusterOutputArgs } from "./getCluster";
|
|
8
|
+
export declare const getCluster: typeof import("./getCluster").getCluster;
|
|
9
|
+
export declare const getClusterOutput: typeof import("./getCluster").getClusterOutput;
|
|
10
|
+
export { GetComputeNodeGroupArgs, GetComputeNodeGroupResult, GetComputeNodeGroupOutputArgs } from "./getComputeNodeGroup";
|
|
11
|
+
export declare const getComputeNodeGroup: typeof import("./getComputeNodeGroup").getComputeNodeGroup;
|
|
12
|
+
export declare const getComputeNodeGroupOutput: typeof import("./getComputeNodeGroup").getComputeNodeGroupOutput;
|
|
13
|
+
export { GetQueueArgs, GetQueueResult, GetQueueOutputArgs } from "./getQueue";
|
|
14
|
+
export declare const getQueue: typeof import("./getQueue").getQueue;
|
|
15
|
+
export declare const getQueueOutput: typeof import("./getQueue").getQueueOutput;
|
|
16
|
+
export { QueueArgs } from "./queue";
|
|
17
|
+
export type Queue = import("./queue").Queue;
|
|
18
|
+
export declare const Queue: typeof import("./queue").Queue;
|
|
19
|
+
export * from "../types/enums/pcs";
|
package/pcs/index.js
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.Queue = exports.getQueueOutput = exports.getQueue = exports.getComputeNodeGroupOutput = exports.getComputeNodeGroup = exports.getClusterOutput = exports.getCluster = exports.ComputeNodeGroup = exports.Cluster = void 0;
|
|
20
|
+
const pulumi = require("@pulumi/pulumi");
|
|
21
|
+
const utilities = require("../utilities");
|
|
22
|
+
exports.Cluster = null;
|
|
23
|
+
utilities.lazyLoad(exports, ["Cluster"], () => require("./cluster"));
|
|
24
|
+
exports.ComputeNodeGroup = null;
|
|
25
|
+
utilities.lazyLoad(exports, ["ComputeNodeGroup"], () => require("./computeNodeGroup"));
|
|
26
|
+
exports.getCluster = null;
|
|
27
|
+
exports.getClusterOutput = null;
|
|
28
|
+
utilities.lazyLoad(exports, ["getCluster", "getClusterOutput"], () => require("./getCluster"));
|
|
29
|
+
exports.getComputeNodeGroup = null;
|
|
30
|
+
exports.getComputeNodeGroupOutput = null;
|
|
31
|
+
utilities.lazyLoad(exports, ["getComputeNodeGroup", "getComputeNodeGroupOutput"], () => require("./getComputeNodeGroup"));
|
|
32
|
+
exports.getQueue = null;
|
|
33
|
+
exports.getQueueOutput = null;
|
|
34
|
+
utilities.lazyLoad(exports, ["getQueue", "getQueueOutput"], () => require("./getQueue"));
|
|
35
|
+
exports.Queue = null;
|
|
36
|
+
utilities.lazyLoad(exports, ["Queue"], () => require("./queue"));
|
|
37
|
+
// Export enums:
|
|
38
|
+
__exportStar(require("../types/enums/pcs"), exports);
|
|
39
|
+
const _module = {
|
|
40
|
+
version: utilities.getVersion(),
|
|
41
|
+
construct: (name, type, urn) => {
|
|
42
|
+
switch (type) {
|
|
43
|
+
case "aws-native:pcs:Cluster":
|
|
44
|
+
return new exports.Cluster(name, undefined, { urn });
|
|
45
|
+
case "aws-native:pcs:ComputeNodeGroup":
|
|
46
|
+
return new exports.ComputeNodeGroup(name, undefined, { urn });
|
|
47
|
+
case "aws-native:pcs:Queue":
|
|
48
|
+
return new exports.Queue(name, undefined, { urn });
|
|
49
|
+
default:
|
|
50
|
+
throw new Error(`unknown resource type ${type}`);
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
};
|
|
54
|
+
pulumi.runtime.registerResourceModule("aws-native", "pcs", _module);
|
|
55
|
+
//# sourceMappingURL=index.js.map
|
package/pcs/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../pcs/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC;AAG1E,QAAA,UAAU,GAA6C,IAAW,CAAC;AACnE,QAAA,gBAAgB,GAAmD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,EAAC,kBAAkB,CAAC,EAAE,GAAG,E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L,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,KAAK,EAAE,OAAO,CAAC,CAAA"}
|
package/pcs/queue.d.ts
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
import * as enums from "../types/enums";
|
|
5
|
+
/**
|
|
6
|
+
* AWS::PCS::Queue resource creates an AWS PCS queue.
|
|
7
|
+
*/
|
|
8
|
+
export declare class Queue extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing Queue resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Queue;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of Queue. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is Queue;
|
|
23
|
+
/**
|
|
24
|
+
* The unique Amazon Resource Name (ARN) of the queue.
|
|
25
|
+
*/
|
|
26
|
+
readonly arn: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* The generated unique ID of the queue.
|
|
29
|
+
*/
|
|
30
|
+
readonly awsId: pulumi.Output<string>;
|
|
31
|
+
/**
|
|
32
|
+
* The ID of the cluster of the queue.
|
|
33
|
+
*/
|
|
34
|
+
readonly clusterId: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.
|
|
37
|
+
*/
|
|
38
|
+
readonly computeNodeGroupConfigurations: pulumi.Output<outputs.pcs.QueueComputeNodeGroupConfiguration[] | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* The list of errors that occurred during queue provisioning.
|
|
41
|
+
*/
|
|
42
|
+
readonly errorInfo: pulumi.Output<outputs.pcs.QueueErrorInfo[]>;
|
|
43
|
+
/**
|
|
44
|
+
* The name that identifies the queue.
|
|
45
|
+
*/
|
|
46
|
+
readonly name: pulumi.Output<string | undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* The provisioning status of the queue. The provisioning status doesn't indicate the overall health of the queue.
|
|
49
|
+
*/
|
|
50
|
+
readonly status: pulumi.Output<enums.pcs.QueueStatus>;
|
|
51
|
+
/**
|
|
52
|
+
* 1 or more tags added to the resource. Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string.
|
|
53
|
+
*/
|
|
54
|
+
readonly tags: pulumi.Output<{
|
|
55
|
+
[key: string]: string;
|
|
56
|
+
} | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* Create a Queue resource with the given unique name, arguments, and options.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resource.
|
|
61
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
62
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
63
|
+
*/
|
|
64
|
+
constructor(name: string, args: QueueArgs, opts?: pulumi.CustomResourceOptions);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* The set of arguments for constructing a Queue resource.
|
|
68
|
+
*/
|
|
69
|
+
export interface QueueArgs {
|
|
70
|
+
/**
|
|
71
|
+
* The ID of the cluster of the queue.
|
|
72
|
+
*/
|
|
73
|
+
clusterId: pulumi.Input<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.
|
|
76
|
+
*/
|
|
77
|
+
computeNodeGroupConfigurations?: pulumi.Input<pulumi.Input<inputs.pcs.QueueComputeNodeGroupConfigurationArgs>[]>;
|
|
78
|
+
/**
|
|
79
|
+
* The name that identifies the queue.
|
|
80
|
+
*/
|
|
81
|
+
name?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* 1 or more tags added to the resource. Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string.
|
|
84
|
+
*/
|
|
85
|
+
tags?: pulumi.Input<{
|
|
86
|
+
[key: string]: pulumi.Input<string>;
|
|
87
|
+
}>;
|
|
88
|
+
}
|
package/pcs/queue.js
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.Queue = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* AWS::PCS::Queue resource creates an AWS PCS queue.
|
|
10
|
+
*/
|
|
11
|
+
class Queue extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Queue resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name, id, opts) {
|
|
21
|
+
return new Queue(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of Queue. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === Queue.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a Queue resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (!opts.id) {
|
|
44
|
+
if ((!args || args.clusterId === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'clusterId'");
|
|
46
|
+
}
|
|
47
|
+
resourceInputs["clusterId"] = args ? args.clusterId : undefined;
|
|
48
|
+
resourceInputs["computeNodeGroupConfigurations"] = args ? args.computeNodeGroupConfigurations : undefined;
|
|
49
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
50
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
51
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
52
|
+
resourceInputs["awsId"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["errorInfo"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
58
|
+
resourceInputs["awsId"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["clusterId"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["computeNodeGroupConfigurations"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["errorInfo"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
65
|
+
}
|
|
66
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
67
|
+
const replaceOnChanges = { replaceOnChanges: ["clusterId", "name"] };
|
|
68
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
69
|
+
super(Queue.__pulumiType, name, resourceInputs, opts);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.Queue = Queue;
|
|
73
|
+
/** @internal */
|
|
74
|
+
Queue.__pulumiType = 'aws-native:pcs:Queue';
|
|
75
|
+
//# sourceMappingURL=queue.js.map
|
package/pcs/queue.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queue.js","sourceRoot":"","sources":["../../pcs/queue.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IAmCD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAe,EAAE,IAAmC;QAC1E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,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AC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,WAAW,EAAE,MAAM,CAAC,EAAE,CAAC;QACrE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAhGL,sBAiGC;AApFG,gBAAgB;AACO,kBAAY,GAAG,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Definition of the AWS::QuickSight::CustomPermissions Resource Type.
|
|
6
|
+
*/
|
|
7
|
+
export declare class CustomPermissions extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing CustomPermissions resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
15
|
+
*/
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CustomPermissions;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of CustomPermissions. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is CustomPermissions;
|
|
22
|
+
readonly arn: pulumi.Output<string>;
|
|
23
|
+
readonly awsAccountId: pulumi.Output<string>;
|
|
24
|
+
readonly capabilities: pulumi.Output<outputs.quicksight.CustomPermissionsCapabilities | undefined>;
|
|
25
|
+
readonly customPermissionsName: pulumi.Output<string>;
|
|
26
|
+
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* Create a CustomPermissions resource with the given unique name, arguments, and options.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resource.
|
|
31
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
32
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
33
|
+
*/
|
|
34
|
+
constructor(name: string, args: CustomPermissionsArgs, opts?: pulumi.CustomResourceOptions);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* The set of arguments for constructing a CustomPermissions resource.
|
|
38
|
+
*/
|
|
39
|
+
export interface CustomPermissionsArgs {
|
|
40
|
+
awsAccountId: pulumi.Input<string>;
|
|
41
|
+
capabilities?: pulumi.Input<inputs.quicksight.CustomPermissionsCapabilitiesArgs>;
|
|
42
|
+
customPermissionsName?: pulumi.Input<string>;
|
|
43
|
+
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.CustomPermissions = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Definition of the AWS::QuickSight::CustomPermissions Resource Type.
|
|
10
|
+
*/
|
|
11
|
+
class CustomPermissions extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing CustomPermissions resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name, id, opts) {
|
|
21
|
+
return new CustomPermissions(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of CustomPermissions. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === CustomPermissions.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a CustomPermissions resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (!opts.id) {
|
|
44
|
+
if ((!args || args.awsAccountId === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'awsAccountId'");
|
|
46
|
+
}
|
|
47
|
+
resourceInputs["awsAccountId"] = args ? args.awsAccountId : undefined;
|
|
48
|
+
resourceInputs["capabilities"] = args ? args.capabilities : undefined;
|
|
49
|
+
resourceInputs["customPermissionsName"] = args ? args.customPermissionsName : undefined;
|
|
50
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
51
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["awsAccountId"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["capabilities"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["customPermissionsName"] = undefined /*out*/;
|
|
58
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
59
|
+
}
|
|
60
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
61
|
+
const replaceOnChanges = { replaceOnChanges: ["awsAccountId", "customPermissionsName"] };
|
|
62
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
63
|
+
super(CustomPermissions.__pulumiType, name, resourceInputs, opts);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.CustomPermissions = CustomPermissions;
|
|
67
|
+
/** @internal */
|
|
68
|
+
CustomPermissions.__pulumiType = 'aws-native:quicksight:CustomPermissions';
|
|
69
|
+
//# sourceMappingURL=customPermissions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customPermissions.js","sourceRoot":"","sources":["../../quicksight/customPermissions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAQD;;;;;;OAMG;IACH,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