@pulumi/aws 4.33.1 → 4.34.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/appstream/fleet.d.ts +3 -3
- package/batch/getJobQueue.d.ts +4 -0
- package/batch/getJobQueue.js.map +1 -1
- package/batch/getSchedulingPolicy.d.ts +69 -0
- package/batch/getSchedulingPolicy.js +39 -0
- package/batch/getSchedulingPolicy.js.map +1 -0
- package/batch/index.d.ts +2 -0
- package/batch/index.js +6 -0
- package/batch/index.js.map +1 -1
- package/batch/jobQueue.d.ts +37 -0
- package/batch/jobQueue.js +27 -0
- package/batch/jobQueue.js.map +1 -1
- package/batch/schedulingPolicy.d.ts +134 -0
- package/batch/schedulingPolicy.js +97 -0
- package/batch/schedulingPolicy.js.map +1 -0
- package/cloud9/environmentMembership.d.ts +106 -0
- package/cloud9/environmentMembership.js +92 -0
- package/cloud9/environmentMembership.js.map +1 -0
- package/cloud9/index.d.ts +1 -0
- package/cloud9/index.js +5 -0
- package/cloud9/index.js.map +1 -1
- package/cloudwatch/eventTarget.d.ts +48 -3
- package/cloudwatch/eventTarget.js +45 -0
- package/cloudwatch/eventTarget.js.map +1 -1
- package/codebuild/index.d.ts +1 -0
- package/codebuild/index.js +5 -0
- package/codebuild/index.js.map +1 -1
- package/codebuild/project.d.ts +49 -5
- package/codebuild/project.js +8 -0
- package/codebuild/project.js.map +1 -1
- package/codebuild/resourcePolicy.d.ts +108 -0
- package/codebuild/resourcePolicy.js +107 -0
- package/codebuild/resourcePolicy.js.map +1 -0
- package/codepipeline/webhook.d.ts +8 -0
- package/codepipeline/webhook.js +2 -0
- package/codepipeline/webhook.js.map +1 -1
- package/cognito/getUserPoolClients.d.ts +49 -0
- package/cognito/getUserPoolClients.js +38 -0
- package/cognito/getUserPoolClients.js.map +1 -0
- package/cognito/getUserPoolSigningCertificate.d.ts +49 -0
- package/cognito/getUserPoolSigningCertificate.js +38 -0
- package/cognito/getUserPoolSigningCertificate.js.map +1 -0
- package/cognito/index.d.ts +2 -0
- package/cognito/index.js +2 -0
- package/cognito/index.js.map +1 -1
- package/datasync/index.d.ts +2 -0
- package/datasync/index.js +10 -0
- package/datasync/index.js.map +1 -1
- package/datasync/locationFsxLustre.d.ts +155 -0
- package/datasync/locationFsxLustre.js +94 -0
- package/datasync/locationFsxLustre.js.map +1 -0
- package/datasync/locationHdfs.d.ts +257 -0
- package/datasync/locationHdfs.js +117 -0
- package/datasync/locationHdfs.js.map +1 -0
- package/dax/cluster.d.ts +18 -0
- package/dax/cluster.js +2 -0
- package/dax/cluster.js.map +1 -1
- package/devicefarm/devicePool.d.ts +170 -0
- package/devicefarm/devicePool.js +100 -0
- package/devicefarm/devicePool.js.map +1 -0
- package/devicefarm/index.d.ts +3 -0
- package/devicefarm/index.js +15 -0
- package/devicefarm/index.js.map +1 -1
- package/devicefarm/networkProfile.d.ts +247 -0
- package/devicefarm/networkProfile.js +105 -0
- package/devicefarm/networkProfile.js.map +1 -0
- package/devicefarm/upload.d.ts +142 -0
- package/devicefarm/upload.js +97 -0
- package/devicefarm/upload.js.map +1 -0
- package/directconnect/privateVirtualInterface.d.ts +3 -0
- package/directconnect/privateVirtualInterface.js +2 -0
- package/directconnect/privateVirtualInterface.js.map +1 -1
- package/directconnect/transitVirtualInterface.d.ts +3 -0
- package/directconnect/transitVirtualInterface.js +2 -0
- package/directconnect/transitVirtualInterface.js.map +1 -1
- package/ec2/defaultSubnet.d.ts +15 -0
- package/ec2/defaultSubnet.js +10 -0
- package/ec2/defaultSubnet.js.map +1 -1
- package/ec2/getSubnet.d.ts +20 -0
- package/ec2/getSubnet.js.map +1 -1
- package/ec2/index.d.ts +3 -0
- package/ec2/index.js +15 -0
- package/ec2/index.js.map +1 -1
- package/ec2/subnet.d.ts +65 -5
- package/ec2/subnet.js +10 -3
- package/ec2/subnet.js.map +1 -1
- package/ec2/vpcEndpointConnectionAccepter.d.ts +105 -0
- package/ec2/vpcEndpointConnectionAccepter.js +98 -0
- package/ec2/vpcEndpointConnectionAccepter.js.map +1 -0
- package/ec2/vpcIpamOrganizationAdminAccount.d.ts +94 -0
- package/ec2/vpcIpamOrganizationAdminAccount.js +85 -0
- package/ec2/vpcIpamOrganizationAdminAccount.js.map +1 -0
- package/ec2/vpcIpamPoolCidr.d.ts +3 -0
- package/ec2/vpcIpamPoolCidr.js +3 -0
- package/ec2/vpcIpamPoolCidr.js.map +1 -1
- package/ec2/vpcIpamPoolCidrAllocation.d.ts +3 -3
- package/ec2/vpcIpamPreviewNextCidr.d.ts +100 -0
- package/ec2/vpcIpamPreviewNextCidr.js +90 -0
- package/ec2/vpcIpamPreviewNextCidr.js.map +1 -0
- package/ecr/replicationConfiguration.d.ts +22 -0
- package/ecr/replicationConfiguration.js +22 -0
- package/ecr/replicationConfiguration.js.map +1 -1
- package/ecs/getTaskDefinition.d.ts +39 -0
- package/ecs/getTaskDefinition.js +35 -0
- package/ecs/getTaskDefinition.js.map +1 -1
- package/fsx/backup.d.ts +15 -0
- package/fsx/backup.js +15 -0
- package/fsx/backup.js.map +1 -1
- package/fsx/index.d.ts +3 -0
- package/fsx/index.js +15 -0
- package/fsx/index.js.map +1 -1
- package/fsx/openZfsFileSystem.d.ts +341 -0
- package/fsx/openZfsFileSystem.js +144 -0
- package/fsx/openZfsFileSystem.js.map +1 -0
- package/fsx/openZfsSnapshot.d.ts +149 -0
- package/fsx/openZfsSnapshot.js +107 -0
- package/fsx/openZfsSnapshot.js.map +1 -0
- package/fsx/openZfsVolume.d.ts +225 -0
- package/fsx/openZfsVolume.js +101 -0
- package/fsx/openZfsVolume.js.map +1 -0
- package/glue/trigger.d.ts +15 -3
- package/glue/trigger.js +2 -0
- package/glue/trigger.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +7 -2
- package/index.js.map +1 -1
- package/memorydb/acl.d.ts +142 -0
- package/memorydb/acl.js +90 -0
- package/memorydb/acl.js.map +1 -0
- package/memorydb/cluster.d.ts +388 -0
- package/memorydb/cluster.js +140 -0
- package/memorydb/cluster.js.map +1 -0
- package/memorydb/index.d.ts +5 -0
- package/memorydb/index.js +53 -0
- package/memorydb/index.js.map +1 -0
- package/memorydb/parameterGroup.d.ts +160 -0
- package/memorydb/parameterGroup.js +96 -0
- package/memorydb/parameterGroup.js.map +1 -0
- package/memorydb/subnetGroup.d.ts +146 -0
- package/memorydb/subnetGroup.js +96 -0
- package/memorydb/subnetGroup.js.map +1 -0
- package/memorydb/user.d.ts +138 -0
- package/memorydb/user.js +83 -0
- package/memorydb/user.js.map +1 -0
- package/mskconnect/customPlugin.d.ts +144 -0
- package/mskconnect/customPlugin.js +104 -0
- package/mskconnect/customPlugin.js.map +1 -0
- package/mskconnect/getCustomPlugin.d.ts +61 -0
- package/mskconnect/getCustomPlugin.js +38 -0
- package/mskconnect/getCustomPlugin.js.map +1 -0
- package/mskconnect/getWorkerConfiguration.d.ts +61 -0
- package/mskconnect/getWorkerConfiguration.js +38 -0
- package/mskconnect/getWorkerConfiguration.js.map +1 -0
- package/mskconnect/index.d.ts +4 -0
- package/mskconnect/index.js +40 -0
- package/mskconnect/index.js.map +1 -0
- package/mskconnect/workerConfiguration.d.ts +113 -0
- package/mskconnect/workerConfiguration.js +87 -0
- package/mskconnect/workerConfiguration.js.map +1 -0
- package/organizations/getResourceTags.d.ts +63 -0
- package/organizations/getResourceTags.js +39 -0
- package/organizations/getResourceTags.js.map +1 -0
- package/organizations/index.d.ts +1 -0
- package/organizations/index.js +1 -0
- package/organizations/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/sagemaker/device.d.ts +97 -0
- package/sagemaker/device.js +89 -0
- package/sagemaker/device.js.map +1 -0
- package/sagemaker/getPrebuiltEcrImage.d.ts +2 -2
- package/sagemaker/index.d.ts +1 -0
- package/sagemaker/index.js +5 -0
- package/sagemaker/index.js.map +1 -1
- package/ses/getActiveReceiptRuleSet.d.ts +31 -0
- package/ses/getActiveReceiptRuleSet.js +30 -0
- package/ses/getActiveReceiptRuleSet.js.map +1 -0
- package/ses/getDomainIdentity.d.ts +56 -0
- package/ses/getDomainIdentity.js +38 -0
- package/ses/getDomainIdentity.js.map +1 -0
- package/ses/getEmailIdentity.d.ts +52 -0
- package/ses/getEmailIdentity.js +38 -0
- package/ses/getEmailIdentity.js.map +1 -0
- package/ses/index.d.ts +3 -0
- package/ses/index.js +3 -0
- package/ses/index.js.map +1 -1
- package/sqs/queue.d.ts +16 -0
- package/sqs/queue.js +6 -0
- package/sqs/queue.js.map +1 -1
- package/ssm/getParametersByPath.d.ts +9 -0
- package/ssm/getParametersByPath.js +1 -0
- package/ssm/getParametersByPath.js.map +1 -1
- package/timestreamwrite/table.d.ts +12 -0
- package/timestreamwrite/table.js +2 -0
- package/timestreamwrite/table.js.map +1 -1
- package/types/input.d.ts +409 -11
- package/types/output.d.ts +430 -11
- package/wafv2/webAclLoggingConfiguration.d.ts +3 -3
package/memorydb/user.js
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
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.User = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* Use the `user_name` to import a user. For example
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import aws:memorydb/user:User example my-user
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* The `passwords` are not available for imported resources, as this information cannot be read back from the MemoryDB API.
|
|
18
|
+
*/
|
|
19
|
+
class User extends pulumi.CustomResource {
|
|
20
|
+
constructor(name, argsOrState, opts) {
|
|
21
|
+
let inputs = {};
|
|
22
|
+
opts = opts || {};
|
|
23
|
+
if (opts.id) {
|
|
24
|
+
const state = argsOrState;
|
|
25
|
+
inputs["accessString"] = state ? state.accessString : undefined;
|
|
26
|
+
inputs["arn"] = state ? state.arn : undefined;
|
|
27
|
+
inputs["authenticationMode"] = state ? state.authenticationMode : undefined;
|
|
28
|
+
inputs["minimumEngineVersion"] = state ? state.minimumEngineVersion : undefined;
|
|
29
|
+
inputs["tags"] = state ? state.tags : undefined;
|
|
30
|
+
inputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
31
|
+
inputs["userName"] = state ? state.userName : undefined;
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
const args = argsOrState;
|
|
35
|
+
if ((!args || args.accessString === undefined) && !opts.urn) {
|
|
36
|
+
throw new Error("Missing required property 'accessString'");
|
|
37
|
+
}
|
|
38
|
+
if ((!args || args.authenticationMode === undefined) && !opts.urn) {
|
|
39
|
+
throw new Error("Missing required property 'authenticationMode'");
|
|
40
|
+
}
|
|
41
|
+
if ((!args || args.userName === undefined) && !opts.urn) {
|
|
42
|
+
throw new Error("Missing required property 'userName'");
|
|
43
|
+
}
|
|
44
|
+
inputs["accessString"] = args ? args.accessString : undefined;
|
|
45
|
+
inputs["authenticationMode"] = args ? args.authenticationMode : undefined;
|
|
46
|
+
inputs["tags"] = args ? args.tags : undefined;
|
|
47
|
+
inputs["tagsAll"] = args ? args.tagsAll : undefined;
|
|
48
|
+
inputs["userName"] = args ? args.userName : undefined;
|
|
49
|
+
inputs["arn"] = undefined /*out*/;
|
|
50
|
+
inputs["minimumEngineVersion"] = undefined /*out*/;
|
|
51
|
+
}
|
|
52
|
+
if (!opts.version) {
|
|
53
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
54
|
+
}
|
|
55
|
+
super(User.__pulumiType, name, inputs, opts);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Get an existing User resource's state with the given name, ID, and optional extra
|
|
59
|
+
* properties used to qualify the lookup.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resulting resource.
|
|
62
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
63
|
+
* @param state Any extra arguments used during the lookup.
|
|
64
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
65
|
+
*/
|
|
66
|
+
static get(name, id, state, opts) {
|
|
67
|
+
return new User(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Returns true if the given object is an instance of User. This is designed to work even
|
|
71
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
72
|
+
*/
|
|
73
|
+
static isInstance(obj) {
|
|
74
|
+
if (obj === undefined || obj === null) {
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
return obj['__pulumiType'] === User.__pulumiType;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.User = User;
|
|
81
|
+
/** @internal */
|
|
82
|
+
User.__pulumiType = 'aws:memorydb/user:User';
|
|
83
|
+
//# sourceMappingURL=user.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../memorydb/user.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAkE3C,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoC,CAAC;YACnD,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC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AC,cAAc,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;;AA1BL,oBAsGC;AAxFG,gBAAgB;AACO,iBAAY,GAAG,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Provides an Amazon MSK Connect Custom Plugin Resource.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
* ### Basic configuration
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const exampleBucket = new aws.s3.Bucket("exampleBucket", {});
|
|
14
|
+
* const exampleBucketObject = new aws.s3.BucketObject("exampleBucketObject", {
|
|
15
|
+
* bucket: exampleBucket.id,
|
|
16
|
+
* key: "debezium.zip",
|
|
17
|
+
* source: new pulumi.asset.FileAsset("debezium.zip"),
|
|
18
|
+
* });
|
|
19
|
+
* const exampleCustomPlugin = new aws.mskconnect.CustomPlugin("exampleCustomPlugin", {
|
|
20
|
+
* contentType: "ZIP",
|
|
21
|
+
* location: {
|
|
22
|
+
* s3: {
|
|
23
|
+
* bucketArn: exampleBucket.arn,
|
|
24
|
+
* fileKey: exampleBucketObject.key,
|
|
25
|
+
* },
|
|
26
|
+
* },
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* MSK Connect Custom Plugin can be imported using the plugin's `arn`, e.g.,
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import aws:mskconnect/customPlugin:CustomPlugin example 'arn:aws:kafkaconnect:eu-central-1:123456789012:custom-plugin/debezium-example/abcdefgh-1234-5678-9abc-defghijklmno-4'
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare class CustomPlugin extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing CustomPlugin resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CustomPluginState, opts?: pulumi.CustomResourceOptions): CustomPlugin;
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of CustomPlugin. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj: any): obj is CustomPlugin;
|
|
54
|
+
/**
|
|
55
|
+
* the Amazon Resource Name (ARN) of the custom plugin.
|
|
56
|
+
*/
|
|
57
|
+
readonly arn: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The type of the plugin file. Allowed values are `ZIP` and `JAR`.
|
|
60
|
+
*/
|
|
61
|
+
readonly contentType: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* A summary description of the custom plugin.
|
|
64
|
+
*/
|
|
65
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* an ID of the latest successfully created revision of the custom plugin.
|
|
68
|
+
*/
|
|
69
|
+
readonly latestRevision: pulumi.Output<number>;
|
|
70
|
+
/**
|
|
71
|
+
* Information about the location of a custom plugin. See below.
|
|
72
|
+
*/
|
|
73
|
+
readonly location: pulumi.Output<outputs.mskconnect.CustomPluginLocation>;
|
|
74
|
+
/**
|
|
75
|
+
* The name of the custom plugin..
|
|
76
|
+
*/
|
|
77
|
+
readonly name: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* the state of the custom plugin.
|
|
80
|
+
*/
|
|
81
|
+
readonly state: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Create a CustomPlugin resource with the given unique name, arguments, and options.
|
|
84
|
+
*
|
|
85
|
+
* @param name The _unique_ name of the resource.
|
|
86
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
87
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
88
|
+
*/
|
|
89
|
+
constructor(name: string, args: CustomPluginArgs, opts?: pulumi.CustomResourceOptions);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Input properties used for looking up and filtering CustomPlugin resources.
|
|
93
|
+
*/
|
|
94
|
+
export interface CustomPluginState {
|
|
95
|
+
/**
|
|
96
|
+
* the Amazon Resource Name (ARN) of the custom plugin.
|
|
97
|
+
*/
|
|
98
|
+
arn?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The type of the plugin file. Allowed values are `ZIP` and `JAR`.
|
|
101
|
+
*/
|
|
102
|
+
contentType?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* A summary description of the custom plugin.
|
|
105
|
+
*/
|
|
106
|
+
description?: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* an ID of the latest successfully created revision of the custom plugin.
|
|
109
|
+
*/
|
|
110
|
+
latestRevision?: pulumi.Input<number>;
|
|
111
|
+
/**
|
|
112
|
+
* Information about the location of a custom plugin. See below.
|
|
113
|
+
*/
|
|
114
|
+
location?: pulumi.Input<inputs.mskconnect.CustomPluginLocation>;
|
|
115
|
+
/**
|
|
116
|
+
* The name of the custom plugin..
|
|
117
|
+
*/
|
|
118
|
+
name?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* the state of the custom plugin.
|
|
121
|
+
*/
|
|
122
|
+
state?: pulumi.Input<string>;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* The set of arguments for constructing a CustomPlugin resource.
|
|
126
|
+
*/
|
|
127
|
+
export interface CustomPluginArgs {
|
|
128
|
+
/**
|
|
129
|
+
* The type of the plugin file. Allowed values are `ZIP` and `JAR`.
|
|
130
|
+
*/
|
|
131
|
+
contentType: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* A summary description of the custom plugin.
|
|
134
|
+
*/
|
|
135
|
+
description?: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* Information about the location of a custom plugin. See below.
|
|
138
|
+
*/
|
|
139
|
+
location: pulumi.Input<inputs.mskconnect.CustomPluginLocation>;
|
|
140
|
+
/**
|
|
141
|
+
* The name of the custom plugin..
|
|
142
|
+
*/
|
|
143
|
+
name?: pulumi.Input<string>;
|
|
144
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
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.CustomPlugin = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides an Amazon MSK Connect Custom Plugin Resource.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
* ### Basic configuration
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as aws from "@pulumi/aws";
|
|
17
|
+
*
|
|
18
|
+
* const exampleBucket = new aws.s3.Bucket("exampleBucket", {});
|
|
19
|
+
* const exampleBucketObject = new aws.s3.BucketObject("exampleBucketObject", {
|
|
20
|
+
* bucket: exampleBucket.id,
|
|
21
|
+
* key: "debezium.zip",
|
|
22
|
+
* source: new pulumi.asset.FileAsset("debezium.zip"),
|
|
23
|
+
* });
|
|
24
|
+
* const exampleCustomPlugin = new aws.mskconnect.CustomPlugin("exampleCustomPlugin", {
|
|
25
|
+
* contentType: "ZIP",
|
|
26
|
+
* location: {
|
|
27
|
+
* s3: {
|
|
28
|
+
* bucketArn: exampleBucket.arn,
|
|
29
|
+
* fileKey: exampleBucketObject.key,
|
|
30
|
+
* },
|
|
31
|
+
* },
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ## Import
|
|
36
|
+
*
|
|
37
|
+
* MSK Connect Custom Plugin can be imported using the plugin's `arn`, e.g.,
|
|
38
|
+
*
|
|
39
|
+
* ```sh
|
|
40
|
+
* $ pulumi import aws:mskconnect/customPlugin:CustomPlugin example 'arn:aws:kafkaconnect:eu-central-1:123456789012:custom-plugin/debezium-example/abcdefgh-1234-5678-9abc-defghijklmno-4'
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
class CustomPlugin extends pulumi.CustomResource {
|
|
44
|
+
constructor(name, argsOrState, opts) {
|
|
45
|
+
let inputs = {};
|
|
46
|
+
opts = opts || {};
|
|
47
|
+
if (opts.id) {
|
|
48
|
+
const state = argsOrState;
|
|
49
|
+
inputs["arn"] = state ? state.arn : undefined;
|
|
50
|
+
inputs["contentType"] = state ? state.contentType : undefined;
|
|
51
|
+
inputs["description"] = state ? state.description : undefined;
|
|
52
|
+
inputs["latestRevision"] = state ? state.latestRevision : undefined;
|
|
53
|
+
inputs["location"] = state ? state.location : undefined;
|
|
54
|
+
inputs["name"] = state ? state.name : undefined;
|
|
55
|
+
inputs["state"] = state ? state.state : undefined;
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
const args = argsOrState;
|
|
59
|
+
if ((!args || args.contentType === undefined) && !opts.urn) {
|
|
60
|
+
throw new Error("Missing required property 'contentType'");
|
|
61
|
+
}
|
|
62
|
+
if ((!args || args.location === undefined) && !opts.urn) {
|
|
63
|
+
throw new Error("Missing required property 'location'");
|
|
64
|
+
}
|
|
65
|
+
inputs["contentType"] = args ? args.contentType : undefined;
|
|
66
|
+
inputs["description"] = args ? args.description : undefined;
|
|
67
|
+
inputs["location"] = args ? args.location : undefined;
|
|
68
|
+
inputs["name"] = args ? args.name : undefined;
|
|
69
|
+
inputs["arn"] = undefined /*out*/;
|
|
70
|
+
inputs["latestRevision"] = undefined /*out*/;
|
|
71
|
+
inputs["state"] = undefined /*out*/;
|
|
72
|
+
}
|
|
73
|
+
if (!opts.version) {
|
|
74
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
75
|
+
}
|
|
76
|
+
super(CustomPlugin.__pulumiType, name, inputs, opts);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Get an existing CustomPlugin resource's state with the given name, ID, and optional extra
|
|
80
|
+
* properties used to qualify the lookup.
|
|
81
|
+
*
|
|
82
|
+
* @param name The _unique_ name of the resulting resource.
|
|
83
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
84
|
+
* @param state Any extra arguments used during the lookup.
|
|
85
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
86
|
+
*/
|
|
87
|
+
static get(name, id, state, opts) {
|
|
88
|
+
return new CustomPlugin(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Returns true if the given object is an instance of CustomPlugin. This is designed to work even
|
|
92
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
93
|
+
*/
|
|
94
|
+
static isInstance(obj) {
|
|
95
|
+
if (obj === undefined || obj === null) {
|
|
96
|
+
return false;
|
|
97
|
+
}
|
|
98
|
+
return obj['__pulumiType'] === CustomPlugin.__pulumiType;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.CustomPlugin = CustomPlugin;
|
|
102
|
+
/** @internal */
|
|
103
|
+
CustomPlugin.__pulumiType = 'aws:mskconnect/customPlugin:CustomPlugin';
|
|
104
|
+
//# sourceMappingURL=customPlugin.js.map
|
|
@@ -0,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AAC,CAAC;IACzD,CAAC;IAhGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAkGC;AApFG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Get information on an Amazon MSK Connect custom plugin.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const example = pulumi.output(aws.mskconnect.getCustomPlugin({
|
|
12
|
+
* name: "example-debezium-1",
|
|
13
|
+
* }));
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getCustomPlugin(args: GetCustomPluginArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomPluginResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getCustomPlugin.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetCustomPluginArgs {
|
|
21
|
+
/**
|
|
22
|
+
* Name of the custom plugin.
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A collection of values returned by getCustomPlugin.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetCustomPluginResult {
|
|
30
|
+
/**
|
|
31
|
+
* the Amazon Resource Name (ARN) of the custom plugin.
|
|
32
|
+
*/
|
|
33
|
+
readonly arn: string;
|
|
34
|
+
/**
|
|
35
|
+
* a summary description of the custom plugin.
|
|
36
|
+
*/
|
|
37
|
+
readonly description: string;
|
|
38
|
+
/**
|
|
39
|
+
* The provider-assigned unique ID for this managed resource.
|
|
40
|
+
*/
|
|
41
|
+
readonly id: string;
|
|
42
|
+
/**
|
|
43
|
+
* an ID of the latest successfully created revision of the custom plugin.
|
|
44
|
+
*/
|
|
45
|
+
readonly latestRevision: number;
|
|
46
|
+
readonly name: string;
|
|
47
|
+
/**
|
|
48
|
+
* the state of the custom plugin.
|
|
49
|
+
*/
|
|
50
|
+
readonly state: string;
|
|
51
|
+
}
|
|
52
|
+
export declare function getCustomPluginOutput(args: GetCustomPluginOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCustomPluginResult>;
|
|
53
|
+
/**
|
|
54
|
+
* A collection of arguments for invoking getCustomPlugin.
|
|
55
|
+
*/
|
|
56
|
+
export interface GetCustomPluginOutputArgs {
|
|
57
|
+
/**
|
|
58
|
+
* Name of the custom plugin.
|
|
59
|
+
*/
|
|
60
|
+
name: pulumi.Input<string>;
|
|
61
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.getCustomPluginOutput = exports.getCustomPlugin = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Get information on an Amazon MSK Connect custom plugin.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const example = pulumi.output(aws.mskconnect.getCustomPlugin({
|
|
18
|
+
* name: "example-debezium-1",
|
|
19
|
+
* }));
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getCustomPlugin(args, opts) {
|
|
23
|
+
if (!opts) {
|
|
24
|
+
opts = {};
|
|
25
|
+
}
|
|
26
|
+
if (!opts.version) {
|
|
27
|
+
opts.version = utilities.getVersion();
|
|
28
|
+
}
|
|
29
|
+
return pulumi.runtime.invoke("aws:mskconnect/getCustomPlugin:getCustomPlugin", {
|
|
30
|
+
"name": args.name,
|
|
31
|
+
}, opts);
|
|
32
|
+
}
|
|
33
|
+
exports.getCustomPlugin = getCustomPlugin;
|
|
34
|
+
function getCustomPluginOutput(args, opts) {
|
|
35
|
+
return pulumi.output(args).apply(a => getCustomPlugin(a, opts));
|
|
36
|
+
}
|
|
37
|
+
exports.getCustomPluginOutput = getCustomPluginOutput;
|
|
38
|
+
//# sourceMappingURL=getCustomPlugin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCustomPlugin.js","sourceRoot":"","sources":["../../mskconnect/getCustomPlugin.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0CAWC;AAuCD,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,sDAEC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Get information on an Amazon MSK Connect Worker Configuration.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const example = pulumi.output(aws.mskconnect.getWorkerConfiguration({
|
|
12
|
+
* name: "example",
|
|
13
|
+
* }));
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getWorkerConfiguration(args: GetWorkerConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkerConfigurationResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getWorkerConfiguration.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetWorkerConfigurationArgs {
|
|
21
|
+
/**
|
|
22
|
+
* Name of the worker configuration.
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A collection of values returned by getWorkerConfiguration.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetWorkerConfigurationResult {
|
|
30
|
+
/**
|
|
31
|
+
* the Amazon Resource Name (ARN) of the worker configuration.
|
|
32
|
+
*/
|
|
33
|
+
readonly arn: string;
|
|
34
|
+
/**
|
|
35
|
+
* a summary description of the worker configuration.
|
|
36
|
+
*/
|
|
37
|
+
readonly description: string;
|
|
38
|
+
/**
|
|
39
|
+
* The provider-assigned unique ID for this managed resource.
|
|
40
|
+
*/
|
|
41
|
+
readonly id: string;
|
|
42
|
+
/**
|
|
43
|
+
* an ID of the latest successfully created revision of the worker configuration.
|
|
44
|
+
*/
|
|
45
|
+
readonly latestRevision: number;
|
|
46
|
+
readonly name: string;
|
|
47
|
+
/**
|
|
48
|
+
* contents of connect-distributed.properties file.
|
|
49
|
+
*/
|
|
50
|
+
readonly propertiesFileContent: string;
|
|
51
|
+
}
|
|
52
|
+
export declare function getWorkerConfigurationOutput(args: GetWorkerConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetWorkerConfigurationResult>;
|
|
53
|
+
/**
|
|
54
|
+
* A collection of arguments for invoking getWorkerConfiguration.
|
|
55
|
+
*/
|
|
56
|
+
export interface GetWorkerConfigurationOutputArgs {
|
|
57
|
+
/**
|
|
58
|
+
* Name of the worker configuration.
|
|
59
|
+
*/
|
|
60
|
+
name: pulumi.Input<string>;
|
|
61
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.getWorkerConfigurationOutput = exports.getWorkerConfiguration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Get information on an Amazon MSK Connect Worker Configuration.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const example = pulumi.output(aws.mskconnect.getWorkerConfiguration({
|
|
18
|
+
* name: "example",
|
|
19
|
+
* }));
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getWorkerConfiguration(args, opts) {
|
|
23
|
+
if (!opts) {
|
|
24
|
+
opts = {};
|
|
25
|
+
}
|
|
26
|
+
if (!opts.version) {
|
|
27
|
+
opts.version = utilities.getVersion();
|
|
28
|
+
}
|
|
29
|
+
return pulumi.runtime.invoke("aws:mskconnect/getWorkerConfiguration:getWorkerConfiguration", {
|
|
30
|
+
"name": args.name,
|
|
31
|
+
}, opts);
|
|
32
|
+
}
|
|
33
|
+
exports.getWorkerConfiguration = getWorkerConfiguration;
|
|
34
|
+
function getWorkerConfigurationOutput(args, opts) {
|
|
35
|
+
return pulumi.output(args).apply(a => getWorkerConfiguration(a, opts));
|
|
36
|
+
}
|
|
37
|
+
exports.getWorkerConfigurationOutput = getWorkerConfigurationOutput;
|
|
38
|
+
//# sourceMappingURL=getWorkerConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getWorkerConfiguration.js","sourceRoot":"","sources":["../../mskconnect/getWorkerConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,wDAWC;AAuCD,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,oEAEC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
7
|
+
}) : (function(o, m, k, k2) {
|
|
8
|
+
if (k2 === undefined) k2 = k;
|
|
9
|
+
o[k2] = m[k];
|
|
10
|
+
}));
|
|
11
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
12
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const pulumi = require("@pulumi/pulumi");
|
|
16
|
+
const utilities = require("../utilities");
|
|
17
|
+
// Export members:
|
|
18
|
+
__exportStar(require("./customPlugin"), exports);
|
|
19
|
+
__exportStar(require("./getCustomPlugin"), exports);
|
|
20
|
+
__exportStar(require("./getWorkerConfiguration"), exports);
|
|
21
|
+
__exportStar(require("./workerConfiguration"), exports);
|
|
22
|
+
// Import resources to register:
|
|
23
|
+
const customPlugin_1 = require("./customPlugin");
|
|
24
|
+
const workerConfiguration_1 = require("./workerConfiguration");
|
|
25
|
+
const _module = {
|
|
26
|
+
version: utilities.getVersion(),
|
|
27
|
+
construct: (name, type, urn) => {
|
|
28
|
+
switch (type) {
|
|
29
|
+
case "aws:mskconnect/customPlugin:CustomPlugin":
|
|
30
|
+
return new customPlugin_1.CustomPlugin(name, undefined, { urn });
|
|
31
|
+
case "aws:mskconnect/workerConfiguration:WorkerConfiguration":
|
|
32
|
+
return new workerConfiguration_1.WorkerConfiguration(name, undefined, { urn });
|
|
33
|
+
default:
|
|
34
|
+
throw new Error(`unknown resource type ${type}`);
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
pulumi.runtime.registerResourceModule("aws", "mskconnect/customPlugin", _module);
|
|
39
|
+
pulumi.runtime.registerResourceModule("aws", "mskconnect/workerConfiguration", _module);
|
|
40
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../mskconnect/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,iDAA+B;AAC/B,oDAAkC;AAClC,2DAAyC;AACzC,wDAAsC;AAEtC,gCAAgC;AAChC,iDAA8C;AAC9C,+DAA4D;AAE5D,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,0CAA0C;gBAC3C,OAAO,IAAI,2BAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D,KAAK,wDAAwD;gBACzD,OAAO,IAAI,yCAAmB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,gCAAgC,EAAE,OAAO,CAAC,CAAA"}
|