@pulumi/aws 5.17.0-alpha.1665590627 → 5.17.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 +97 -11
- package/acm/certificate.js +37 -4
- package/acm/certificate.js.map +1 -1
- package/acmpca/certificate.d.ts +14 -6
- package/acmpca/certificate.js +5 -0
- package/acmpca/certificate.js.map +1 -1
- package/alb/targetGroup.d.ts +3 -3
- package/apigatewayv2/deployment.d.ts +1 -1
- package/apigatewayv2/deployment.js +1 -1
- package/apigatewayv2/integration.d.ts +1 -1
- package/apigatewayv2/integration.js +1 -1
- package/appautoscaling/policy.d.ts +8 -0
- package/appautoscaling/policy.js +2 -0
- package/appautoscaling/policy.js.map +1 -1
- package/appconfig/environment.d.ts +8 -0
- package/appconfig/environment.js.map +1 -1
- package/appconfig/getConfigurationProfile.d.ts +103 -0
- package/appconfig/getConfigurationProfile.js +40 -0
- package/appconfig/getConfigurationProfile.js.map +1 -0
- package/appconfig/getConfigurationProfiles.d.ts +41 -0
- package/appconfig/getConfigurationProfiles.js +28 -0
- package/appconfig/getConfigurationProfiles.js.map +1 -0
- package/appconfig/getEnvironment.d.ts +96 -0
- package/appconfig/getEnvironment.js +40 -0
- package/appconfig/getEnvironment.js.map +1 -0
- package/appconfig/getEnvironments.d.ts +51 -0
- package/appconfig/getEnvironments.js +38 -0
- package/appconfig/getEnvironments.js.map +1 -0
- package/appconfig/index.d.ts +12 -0
- package/appconfig/index.js +13 -1
- package/appconfig/index.js.map +1 -1
- package/applicationloadbalancing/targetGroup.d.ts +3 -3
- package/cloudfront/originRequestPolicy.d.ts +8 -0
- package/cloudfront/originRequestPolicy.js +8 -0
- package/cloudfront/originRequestPolicy.js.map +1 -1
- package/cloudwatch/metricStream.d.ts +1 -1
- package/cloudwatch/metricStream.js +1 -1
- package/ec2/ami.d.ts +13 -0
- package/ec2/ami.js +3 -0
- package/ec2/ami.js.map +1 -1
- package/ec2/getAmi.d.ts +4 -0
- package/ec2/getAmi.js.map +1 -1
- package/ec2/getVpcIamPoolCidrs.d.ts +51 -0
- package/ec2/getVpcIamPoolCidrs.js +28 -0
- package/ec2/getVpcIamPoolCidrs.js.map +1 -0
- package/ec2/index.d.ts +3 -0
- package/ec2/index.js +6 -3
- package/ec2/index.js.map +1 -1
- package/ec2/trafficMirrorTarget.d.ts +16 -0
- package/ec2/trafficMirrorTarget.js +6 -0
- package/ec2/trafficMirrorTarget.js.map +1 -1
- package/efs/fileSystemPolicy.d.ts +2 -2
- package/efs/fileSystemPolicy.js +2 -2
- package/eks/addon.d.ts +20 -3
- package/eks/addon.js +17 -0
- package/eks/addon.js.map +1 -1
- package/eks/cluster.d.ts +2 -0
- package/eks/cluster.js.map +1 -1
- package/elasticloadbalancingv2/targetGroup.d.ts +3 -3
- package/evidently/index.d.ts +3 -0
- package/evidently/index.js +22 -0
- package/evidently/index.js.map +1 -0
- package/evidently/project.d.ts +245 -0
- package/evidently/project.js +138 -0
- package/evidently/project.js.map +1 -0
- package/getAmi.d.ts +4 -0
- package/getAmi.js.map +1 -1
- package/iam/accessKey.d.ts +3 -3
- package/identitystore/getUser.d.ts +73 -5
- package/identitystore/getUser.js +2 -1
- package/identitystore/getUser.js.map +1 -1
- package/identitystore/group.d.ts +101 -0
- package/identitystore/group.js +74 -0
- package/identitystore/group.js.map +1 -0
- package/identitystore/groupMembership.d.ts +89 -0
- package/identitystore/groupMembership.js +73 -0
- package/identitystore/groupMembership.js.map +1 -0
- package/identitystore/index.d.ts +9 -0
- package/identitystore/index.js +26 -1
- package/identitystore/index.js.map +1 -1
- package/identitystore/user.d.ts +240 -0
- package/identitystore/user.js +106 -0
- package/identitystore/user.js.map +1 -0
- package/index.d.ts +3 -1
- package/index.js +7 -3
- package/index.js.map +1 -1
- package/inspector2/index.d.ts +3 -0
- package/inspector2/index.js +22 -0
- package/inspector2/index.js.map +1 -0
- package/inspector2/organizationConfiguration.d.ts +74 -0
- package/inspector2/organizationConfiguration.js +70 -0
- package/inspector2/organizationConfiguration.js.map +1 -0
- package/kinesis/firehoseDeliveryStream.d.ts +1 -1
- package/kinesis/firehoseDeliveryStream.js +1 -1
- package/kms/customKeyStore.d.ts +109 -0
- package/kms/customKeyStore.js +92 -0
- package/kms/customKeyStore.js.map +1 -0
- package/kms/getCustomKeyStore.d.ts +69 -0
- package/kms/getCustomKeyStore.js +40 -0
- package/kms/getCustomKeyStore.js.map +1 -0
- package/kms/index.d.ts +6 -0
- package/kms/index.js +9 -1
- package/kms/index.js.map +1 -1
- package/kms/key.d.ts +15 -3
- package/kms/key.js +2 -0
- package/kms/key.js.map +1 -1
- package/lambda/function.d.ts +1 -1
- package/lambda/function.js +1 -1
- package/lambda/layerVersion.d.ts +1 -1
- package/lambda/layerVersion.js +1 -1
- package/lambda/permission.d.ts +1 -1
- package/lambda/permission.js +1 -1
- package/lb/targetGroup.d.ts +3 -3
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/ssm/parameter.d.ts +0 -2
- package/ssm/parameter.js +0 -2
- package/ssm/parameter.js.map +1 -1
- package/types/input.d.ts +36046 -833
- package/types/output.d.ts +36122 -808
- package/wafv2/ruleGroup.d.ts +14 -0
- package/wafv2/ruleGroup.js +14 -0
- package/wafv2/ruleGroup.js.map +1 -1
- package/wafv2/webAclAssociation.d.ts +3 -3
|
@@ -0,0 +1,70 @@
|
|
|
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.OrganizationConfiguration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### Basic Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as aws from "@pulumi/aws";
|
|
15
|
+
*
|
|
16
|
+
* const example = new aws.inspector2.OrganizationConfiguration("example", {
|
|
17
|
+
* autoEnable: {
|
|
18
|
+
* ec2: true,
|
|
19
|
+
* ecr: false,
|
|
20
|
+
* },
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
class OrganizationConfiguration extends pulumi.CustomResource {
|
|
25
|
+
constructor(name, argsOrState, opts) {
|
|
26
|
+
let resourceInputs = {};
|
|
27
|
+
opts = opts || {};
|
|
28
|
+
if (opts.id) {
|
|
29
|
+
const state = argsOrState;
|
|
30
|
+
resourceInputs["autoEnable"] = state ? state.autoEnable : undefined;
|
|
31
|
+
resourceInputs["maxAccountLimitReached"] = state ? state.maxAccountLimitReached : undefined;
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
const args = argsOrState;
|
|
35
|
+
if ((!args || args.autoEnable === undefined) && !opts.urn) {
|
|
36
|
+
throw new Error("Missing required property 'autoEnable'");
|
|
37
|
+
}
|
|
38
|
+
resourceInputs["autoEnable"] = args ? args.autoEnable : undefined;
|
|
39
|
+
resourceInputs["maxAccountLimitReached"] = undefined /*out*/;
|
|
40
|
+
}
|
|
41
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
42
|
+
super(OrganizationConfiguration.__pulumiType, name, resourceInputs, opts);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Get an existing OrganizationConfiguration resource's state with the given name, ID, and optional extra
|
|
46
|
+
* properties used to qualify the lookup.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resulting resource.
|
|
49
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
50
|
+
* @param state Any extra arguments used during the lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name, id, state, opts) {
|
|
54
|
+
return new OrganizationConfiguration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of OrganizationConfiguration. This is designed to work even
|
|
58
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
|
+
*/
|
|
60
|
+
static isInstance(obj) {
|
|
61
|
+
if (obj === undefined || obj === null) {
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
return obj['__pulumiType'] === OrganizationConfiguration.__pulumiType;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.OrganizationConfiguration = OrganizationConfiguration;
|
|
68
|
+
/** @internal */
|
|
69
|
+
OrganizationConfiguration.__pulumiType = 'aws:inspector2/organizationConfiguration:OrganizationConfiguration';
|
|
70
|
+
//# sourceMappingURL=organizationConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationConfiguration.js","sourceRoot":"","sources":["../../inspector2/organizationConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IA6ChE,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyD,CAAC;YACxE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,wBAAwB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/F;aAAM;YACH,MAAM,IAAI,GAAG,WAAwD,CAAC;YACtE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;IA7DD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,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,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;;AA1BL,8DA+DC;AAjDG,gBAAgB;AACO,sCAAY,GAAG,oEAAoE,CAAC"}
|
|
@@ -46,7 +46,7 @@ import * as outputs from "../types/output";
|
|
|
46
46
|
* code: new pulumi.asset.FileArchive("lambda.zip"),
|
|
47
47
|
* role: lambdaIam.arn,
|
|
48
48
|
* handler: "exports.handler",
|
|
49
|
-
* runtime: "
|
|
49
|
+
* runtime: "nodejs16.x",
|
|
50
50
|
* });
|
|
51
51
|
* const extendedS3Stream = new aws.kinesis.FirehoseDeliveryStream("extendedS3Stream", {
|
|
52
52
|
* destination: "extended_s3",
|
|
@@ -50,7 +50,7 @@ const utilities = require("../utilities");
|
|
|
50
50
|
* code: new pulumi.asset.FileArchive("lambda.zip"),
|
|
51
51
|
* role: lambdaIam.arn,
|
|
52
52
|
* handler: "exports.handler",
|
|
53
|
-
* runtime: "
|
|
53
|
+
* runtime: "nodejs16.x",
|
|
54
54
|
* });
|
|
55
55
|
* const extendedS3Stream = new aws.kinesis.FirehoseDeliveryStream("extendedS3Stream", {
|
|
56
56
|
* destination: "extended_s3",
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
* ### Basic Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as aws from "@pulumi/aws";
|
|
9
|
+
* import * as fs from "fs";
|
|
10
|
+
*
|
|
11
|
+
* const test = new aws.kms.CustomKeyStore("test", {
|
|
12
|
+
* cloudHsmClusterId: _var.cloud_hsm_cluster_id,
|
|
13
|
+
* customKeyStoreName: "kms-custom-key-store-test",
|
|
14
|
+
* keyStorePassword: "noplaintextpasswords1",
|
|
15
|
+
* trustAnchorCertificate: fs.readFileSync("anchor-certificate.crt"),
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ## Import
|
|
20
|
+
*
|
|
21
|
+
* KMS (Key Management) Custom Key Store can be imported using the `id`, e.g.,
|
|
22
|
+
*
|
|
23
|
+
* ```sh
|
|
24
|
+
* $ pulumi import aws:kms/customKeyStore:CustomKeyStore example cks-5ebd4ef395a96288e
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class CustomKeyStore extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing CustomKeyStore resource's state with the given name, ID, and optional extra
|
|
30
|
+
* properties used to qualify the lookup.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resulting resource.
|
|
33
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
+
* @param state Any extra arguments used during the lookup.
|
|
35
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
|
+
*/
|
|
37
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CustomKeyStoreState, opts?: pulumi.CustomResourceOptions): CustomKeyStore;
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if the given object is an instance of CustomKeyStore. This is designed to work even
|
|
40
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
|
+
*/
|
|
42
|
+
static isInstance(obj: any): obj is CustomKeyStore;
|
|
43
|
+
/**
|
|
44
|
+
* Cluster ID of CloudHSM.
|
|
45
|
+
*/
|
|
46
|
+
readonly cloudHsmClusterId: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Unique name for Custom Key Store.
|
|
49
|
+
*/
|
|
50
|
+
readonly customKeyStoreName: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Password for `kmsuser` on CloudHSM.
|
|
53
|
+
*/
|
|
54
|
+
readonly keyStorePassword: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Customer certificate used for signing on CloudHSM.
|
|
57
|
+
*/
|
|
58
|
+
readonly trustAnchorCertificate: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Create a CustomKeyStore resource with the given unique name, arguments, and options.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resource.
|
|
63
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
64
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
65
|
+
*/
|
|
66
|
+
constructor(name: string, args: CustomKeyStoreArgs, opts?: pulumi.CustomResourceOptions);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Input properties used for looking up and filtering CustomKeyStore resources.
|
|
70
|
+
*/
|
|
71
|
+
export interface CustomKeyStoreState {
|
|
72
|
+
/**
|
|
73
|
+
* Cluster ID of CloudHSM.
|
|
74
|
+
*/
|
|
75
|
+
cloudHsmClusterId?: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Unique name for Custom Key Store.
|
|
78
|
+
*/
|
|
79
|
+
customKeyStoreName?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Password for `kmsuser` on CloudHSM.
|
|
82
|
+
*/
|
|
83
|
+
keyStorePassword?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Customer certificate used for signing on CloudHSM.
|
|
86
|
+
*/
|
|
87
|
+
trustAnchorCertificate?: pulumi.Input<string>;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* The set of arguments for constructing a CustomKeyStore resource.
|
|
91
|
+
*/
|
|
92
|
+
export interface CustomKeyStoreArgs {
|
|
93
|
+
/**
|
|
94
|
+
* Cluster ID of CloudHSM.
|
|
95
|
+
*/
|
|
96
|
+
cloudHsmClusterId: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Unique name for Custom Key Store.
|
|
99
|
+
*/
|
|
100
|
+
customKeyStoreName: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Password for `kmsuser` on CloudHSM.
|
|
103
|
+
*/
|
|
104
|
+
keyStorePassword: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Customer certificate used for signing on CloudHSM.
|
|
107
|
+
*/
|
|
108
|
+
trustAnchorCertificate: pulumi.Input<string>;
|
|
109
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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.CustomKeyStore = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
* ### Basic Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as aws from "@pulumi/aws";
|
|
15
|
+
* import * as fs from "fs";
|
|
16
|
+
*
|
|
17
|
+
* const test = new aws.kms.CustomKeyStore("test", {
|
|
18
|
+
* cloudHsmClusterId: _var.cloud_hsm_cluster_id,
|
|
19
|
+
* customKeyStoreName: "kms-custom-key-store-test",
|
|
20
|
+
* keyStorePassword: "noplaintextpasswords1",
|
|
21
|
+
* trustAnchorCertificate: fs.readFileSync("anchor-certificate.crt"),
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* KMS (Key Management) Custom Key Store can be imported using the `id`, e.g.,
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import aws:kms/customKeyStore:CustomKeyStore example cks-5ebd4ef395a96288e
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class CustomKeyStore extends pulumi.CustomResource {
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["cloudHsmClusterId"] = state ? state.cloudHsmClusterId : undefined;
|
|
40
|
+
resourceInputs["customKeyStoreName"] = state ? state.customKeyStoreName : undefined;
|
|
41
|
+
resourceInputs["keyStorePassword"] = state ? state.keyStorePassword : undefined;
|
|
42
|
+
resourceInputs["trustAnchorCertificate"] = state ? state.trustAnchorCertificate : undefined;
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
const args = argsOrState;
|
|
46
|
+
if ((!args || args.cloudHsmClusterId === undefined) && !opts.urn) {
|
|
47
|
+
throw new Error("Missing required property 'cloudHsmClusterId'");
|
|
48
|
+
}
|
|
49
|
+
if ((!args || args.customKeyStoreName === undefined) && !opts.urn) {
|
|
50
|
+
throw new Error("Missing required property 'customKeyStoreName'");
|
|
51
|
+
}
|
|
52
|
+
if ((!args || args.keyStorePassword === undefined) && !opts.urn) {
|
|
53
|
+
throw new Error("Missing required property 'keyStorePassword'");
|
|
54
|
+
}
|
|
55
|
+
if ((!args || args.trustAnchorCertificate === undefined) && !opts.urn) {
|
|
56
|
+
throw new Error("Missing required property 'trustAnchorCertificate'");
|
|
57
|
+
}
|
|
58
|
+
resourceInputs["cloudHsmClusterId"] = args ? args.cloudHsmClusterId : undefined;
|
|
59
|
+
resourceInputs["customKeyStoreName"] = args ? args.customKeyStoreName : undefined;
|
|
60
|
+
resourceInputs["keyStorePassword"] = args ? args.keyStorePassword : undefined;
|
|
61
|
+
resourceInputs["trustAnchorCertificate"] = args ? args.trustAnchorCertificate : undefined;
|
|
62
|
+
}
|
|
63
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
64
|
+
super(CustomKeyStore.__pulumiType, name, resourceInputs, opts);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Get an existing CustomKeyStore resource's state with the given name, ID, and optional extra
|
|
68
|
+
* properties used to qualify the lookup.
|
|
69
|
+
*
|
|
70
|
+
* @param name The _unique_ name of the resulting resource.
|
|
71
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
72
|
+
* @param state Any extra arguments used during the lookup.
|
|
73
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
74
|
+
*/
|
|
75
|
+
static get(name, id, state, opts) {
|
|
76
|
+
return new CustomKeyStore(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Returns true if the given object is an instance of CustomKeyStore. This is designed to work even
|
|
80
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
81
|
+
*/
|
|
82
|
+
static isInstance(obj) {
|
|
83
|
+
if (obj === undefined || obj === null) {
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
return obj['__pulumiType'] === CustomKeyStore.__pulumiType;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.CustomKeyStore = CustomKeyStore;
|
|
90
|
+
/** @internal */
|
|
91
|
+
CustomKeyStore.__pulumiType = 'aws:kms/customKeyStore:CustomKeyStore';
|
|
92
|
+
//# sourceMappingURL=customKeyStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customKeyStore.js","sourceRoot":"","sources":["../../kms/customKeyStore.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IAqDrD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,C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CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7F;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;IAlFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCAoFC;AAtEG,gBAAgB;AACO,2BAAY,GAAG,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to get the metadata KMS custom key store.
|
|
4
|
+
* By using this data source, you can reference KMS custom key store
|
|
5
|
+
* without having to hard code the ID as input.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const keystore = pulumi.output(aws.kms.getCustomKeyStore({
|
|
14
|
+
* customKeyStoreName: "my_cloudhsm",
|
|
15
|
+
* }));
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getCustomKeyStore(args?: GetCustomKeyStoreArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomKeyStoreResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getCustomKeyStore.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetCustomKeyStoreArgs {
|
|
23
|
+
/**
|
|
24
|
+
* The ID for the custom key store.
|
|
25
|
+
*/
|
|
26
|
+
customKeyStoreId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The user-specified friendly name for the custom key store.
|
|
29
|
+
*/
|
|
30
|
+
customKeyStoreName?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A collection of values returned by getCustomKeyStore.
|
|
34
|
+
*/
|
|
35
|
+
export interface GetCustomKeyStoreResult {
|
|
36
|
+
readonly cloudHsmClusterId: string;
|
|
37
|
+
/**
|
|
38
|
+
* Indicates whether the custom key store is connected to its CloudHSM cluster.
|
|
39
|
+
*/
|
|
40
|
+
readonly connectionState: string;
|
|
41
|
+
/**
|
|
42
|
+
* The date and time when the custom key store was created.
|
|
43
|
+
*/
|
|
44
|
+
readonly creationDate: string;
|
|
45
|
+
readonly customKeyStoreId: string;
|
|
46
|
+
readonly customKeyStoreName: string;
|
|
47
|
+
/**
|
|
48
|
+
* The provider-assigned unique ID for this managed resource.
|
|
49
|
+
*/
|
|
50
|
+
readonly id: string;
|
|
51
|
+
/**
|
|
52
|
+
* The trust anchor certificate of the associated CloudHSM cluster.
|
|
53
|
+
*/
|
|
54
|
+
readonly trustAnchorCertificate: string;
|
|
55
|
+
}
|
|
56
|
+
export declare function getCustomKeyStoreOutput(args?: GetCustomKeyStoreOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCustomKeyStoreResult>;
|
|
57
|
+
/**
|
|
58
|
+
* A collection of arguments for invoking getCustomKeyStore.
|
|
59
|
+
*/
|
|
60
|
+
export interface GetCustomKeyStoreOutputArgs {
|
|
61
|
+
/**
|
|
62
|
+
* The ID for the custom key store.
|
|
63
|
+
*/
|
|
64
|
+
customKeyStoreId?: pulumi.Input<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The user-specified friendly name for the custom key store.
|
|
67
|
+
*/
|
|
68
|
+
customKeyStoreName?: pulumi.Input<string>;
|
|
69
|
+
}
|
|
@@ -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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getCustomKeyStoreOutput = exports.getCustomKeyStore = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to get the metadata KMS custom key store.
|
|
10
|
+
* By using this data source, you can reference KMS custom key store
|
|
11
|
+
* without having to hard code the ID as input.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const keystore = pulumi.output(aws.kms.getCustomKeyStore({
|
|
20
|
+
* customKeyStoreName: "my_cloudhsm",
|
|
21
|
+
* }));
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getCustomKeyStore(args, opts) {
|
|
25
|
+
args = args || {};
|
|
26
|
+
if (!opts) {
|
|
27
|
+
opts = {};
|
|
28
|
+
}
|
|
29
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
30
|
+
return pulumi.runtime.invoke("aws:kms/getCustomKeyStore:getCustomKeyStore", {
|
|
31
|
+
"customKeyStoreId": args.customKeyStoreId,
|
|
32
|
+
"customKeyStoreName": args.customKeyStoreName,
|
|
33
|
+
}, opts);
|
|
34
|
+
}
|
|
35
|
+
exports.getCustomKeyStore = getCustomKeyStore;
|
|
36
|
+
function getCustomKeyStoreOutput(args, opts) {
|
|
37
|
+
return pulumi.output(args).apply(a => getCustomKeyStore(a, opts));
|
|
38
|
+
}
|
|
39
|
+
exports.getCustomKeyStoreOutput = getCustomKeyStoreOutput;
|
|
40
|
+
//# sourceMappingURL=getCustomKeyStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCustomKeyStore.js","sourceRoot":"","sources":["../../kms/getCustomKeyStore.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE;QACxE,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;KAChD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8CAWC;AAyCD,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,0DAEC"}
|
package/kms/index.d.ts
CHANGED
|
@@ -4,6 +4,9 @@ export declare const Alias: typeof import("./alias").Alias;
|
|
|
4
4
|
export { CiphertextArgs, CiphertextState } from "./ciphertext";
|
|
5
5
|
export declare type Ciphertext = import("./ciphertext").Ciphertext;
|
|
6
6
|
export declare const Ciphertext: typeof import("./ciphertext").Ciphertext;
|
|
7
|
+
export { CustomKeyStoreArgs, CustomKeyStoreState } from "./customKeyStore";
|
|
8
|
+
export declare type CustomKeyStore = import("./customKeyStore").CustomKeyStore;
|
|
9
|
+
export declare const CustomKeyStore: typeof import("./customKeyStore").CustomKeyStore;
|
|
7
10
|
export { ExternalKeyArgs, ExternalKeyState } from "./externalKey";
|
|
8
11
|
export declare type ExternalKey = import("./externalKey").ExternalKey;
|
|
9
12
|
export declare const ExternalKey: typeof import("./externalKey").ExternalKey;
|
|
@@ -13,6 +16,9 @@ export declare const getAliasOutput: typeof import("./getAlias").getAliasOutput;
|
|
|
13
16
|
export { GetCipherTextArgs, GetCipherTextResult, GetCipherTextOutputArgs } from "./getCipherText";
|
|
14
17
|
export declare const getCipherText: typeof import("./getCipherText").getCipherText;
|
|
15
18
|
export declare const getCipherTextOutput: typeof import("./getCipherText").getCipherTextOutput;
|
|
19
|
+
export { GetCustomKeyStoreArgs, GetCustomKeyStoreResult, GetCustomKeyStoreOutputArgs } from "./getCustomKeyStore";
|
|
20
|
+
export declare const getCustomKeyStore: typeof import("./getCustomKeyStore").getCustomKeyStore;
|
|
21
|
+
export declare const getCustomKeyStoreOutput: typeof import("./getCustomKeyStore").getCustomKeyStoreOutput;
|
|
16
22
|
export { GetKeyArgs, GetKeyResult, GetKeyOutputArgs } from "./getKey";
|
|
17
23
|
export declare const getKey: typeof import("./getKey").getKey;
|
|
18
24
|
export declare const getKeyOutput: typeof import("./getKey").getKeyOutput;
|
package/kms/index.js
CHANGED
|
@@ -2,16 +2,19 @@
|
|
|
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.ReplicaKey = exports.ReplicaExternalKey = exports.Key = exports.Grant = exports.getSecretsOutput = exports.getSecrets = exports.getSecretOutput = exports.getSecret = exports.getPublicKeyOutput = exports.getPublicKey = exports.getKeyOutput = exports.getKey = exports.getCipherTextOutput = exports.getCipherText = exports.getAliasOutput = exports.getAlias = exports.ExternalKey = exports.Ciphertext = exports.Alias = void 0;
|
|
5
|
+
exports.ReplicaKey = exports.ReplicaExternalKey = exports.Key = exports.Grant = exports.getSecretsOutput = exports.getSecrets = exports.getSecretOutput = exports.getSecret = exports.getPublicKeyOutput = exports.getPublicKey = exports.getKeyOutput = exports.getKey = exports.getCustomKeyStoreOutput = exports.getCustomKeyStore = exports.getCipherTextOutput = exports.getCipherText = exports.getAliasOutput = exports.getAlias = exports.ExternalKey = exports.CustomKeyStore = exports.Ciphertext = exports.Alias = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.Alias = null;
|
|
9
9
|
exports.Ciphertext = null;
|
|
10
|
+
exports.CustomKeyStore = null;
|
|
10
11
|
exports.ExternalKey = null;
|
|
11
12
|
exports.getAlias = null;
|
|
12
13
|
exports.getAliasOutput = null;
|
|
13
14
|
exports.getCipherText = null;
|
|
14
15
|
exports.getCipherTextOutput = null;
|
|
16
|
+
exports.getCustomKeyStore = null;
|
|
17
|
+
exports.getCustomKeyStoreOutput = null;
|
|
15
18
|
exports.getKey = null;
|
|
16
19
|
exports.getKeyOutput = null;
|
|
17
20
|
exports.getPublicKey = null;
|
|
@@ -26,9 +29,11 @@ exports.ReplicaExternalKey = null;
|
|
|
26
29
|
exports.ReplicaKey = null;
|
|
27
30
|
utilities.lazyLoad(exports, ["Alias"], () => require("./alias"));
|
|
28
31
|
utilities.lazyLoad(exports, ["Ciphertext"], () => require("./ciphertext"));
|
|
32
|
+
utilities.lazyLoad(exports, ["CustomKeyStore"], () => require("./customKeyStore"));
|
|
29
33
|
utilities.lazyLoad(exports, ["ExternalKey"], () => require("./externalKey"));
|
|
30
34
|
utilities.lazyLoad(exports, ["getAlias", "getAliasOutput"], () => require("./getAlias"));
|
|
31
35
|
utilities.lazyLoad(exports, ["getCipherText", "getCipherTextOutput"], () => require("./getCipherText"));
|
|
36
|
+
utilities.lazyLoad(exports, ["getCustomKeyStore", "getCustomKeyStoreOutput"], () => require("./getCustomKeyStore"));
|
|
32
37
|
utilities.lazyLoad(exports, ["getKey", "getKeyOutput"], () => require("./getKey"));
|
|
33
38
|
utilities.lazyLoad(exports, ["getPublicKey", "getPublicKeyOutput"], () => require("./getPublicKey"));
|
|
34
39
|
utilities.lazyLoad(exports, ["getSecret", "getSecretOutput"], () => require("./getSecret"));
|
|
@@ -45,6 +50,8 @@ const _module = {
|
|
|
45
50
|
return new exports.Alias(name, undefined, { urn });
|
|
46
51
|
case "aws:kms/ciphertext:Ciphertext":
|
|
47
52
|
return new exports.Ciphertext(name, undefined, { urn });
|
|
53
|
+
case "aws:kms/customKeyStore:CustomKeyStore":
|
|
54
|
+
return new exports.CustomKeyStore(name, undefined, { urn });
|
|
48
55
|
case "aws:kms/externalKey:ExternalKey":
|
|
49
56
|
return new exports.ExternalKey(name, undefined, { urn });
|
|
50
57
|
case "aws:kms/grant:Grant":
|
|
@@ -62,6 +69,7 @@ const _module = {
|
|
|
62
69
|
};
|
|
63
70
|
pulumi.runtime.registerResourceModule("aws", "kms/alias", _module);
|
|
64
71
|
pulumi.runtime.registerResourceModule("aws", "kms/ciphertext", _module);
|
|
72
|
+
pulumi.runtime.registerResourceModule("aws", "kms/customKeyStore", _module);
|
|
65
73
|
pulumi.runtime.registerResourceModule("aws", "kms/externalKey", _module);
|
|
66
74
|
pulumi.runtime.registerResourceModule("aws", "kms/grant", _module);
|
|
67
75
|
pulumi.runtime.registerResourceModule("aws", "kms/key", _module);
|
package/kms/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../kms/index.ts"],"names":[],"mappings":";AAAA,wFAAw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AC,KAAK,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;AAChE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA"}
|
package/kms/key.d.ts
CHANGED
|
@@ -49,6 +49,10 @@ export declare class Key extends pulumi.CustomResource {
|
|
|
49
49
|
* The default value is `false`.
|
|
50
50
|
*/
|
|
51
51
|
readonly bypassPolicyLockoutSafetyCheck: pulumi.Output<boolean | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* ID of the KMS [Custom Key Store](https://docs.aws.amazon.com/kms/latest/developerguide/create-cmk-keystore.html) where the key will be stored instead of KMS (eg CloudHSM).
|
|
54
|
+
*/
|
|
55
|
+
readonly customKeyStoreId: pulumi.Output<string | undefined>;
|
|
52
56
|
/**
|
|
53
57
|
* Specifies whether the key contains a symmetric key or an asymmetric key pair and the encryption algorithms or signing algorithms that the key supports.
|
|
54
58
|
* Valid values: `SYMMETRIC_DEFAULT`, `RSA_2048`, `RSA_3072`, `RSA_4096`, `HMAC_256`, `ECC_NIST_P256`, `ECC_NIST_P384`, `ECC_NIST_P521`, or `ECC_SECG_P256K1`. Defaults to `SYMMETRIC_DEFAULT`. For help with choosing a key spec, see the [AWS KMS Developer Guide](https://docs.aws.amazon.com/kms/latest/developerguide/symm-asymm-choose.html).
|
|
@@ -77,7 +81,7 @@ export declare class Key extends pulumi.CustomResource {
|
|
|
77
81
|
*/
|
|
78
82
|
readonly keyId: pulumi.Output<string>;
|
|
79
83
|
/**
|
|
80
|
-
* Specifies the intended use of the key. Valid values: `ENCRYPT_DECRYPT` or `
|
|
84
|
+
* Specifies the intended use of the key. Valid values: `ENCRYPT_DECRYPT`, `SIGN_VERIFY`, or `GENERATE_VERIFY_MAC`.
|
|
81
85
|
* Defaults to `ENCRYPT_DECRYPT`.
|
|
82
86
|
*/
|
|
83
87
|
readonly keyUsage: pulumi.Output<string | undefined>;
|
|
@@ -125,6 +129,10 @@ export interface KeyState {
|
|
|
125
129
|
* The default value is `false`.
|
|
126
130
|
*/
|
|
127
131
|
bypassPolicyLockoutSafetyCheck?: pulumi.Input<boolean>;
|
|
132
|
+
/**
|
|
133
|
+
* ID of the KMS [Custom Key Store](https://docs.aws.amazon.com/kms/latest/developerguide/create-cmk-keystore.html) where the key will be stored instead of KMS (eg CloudHSM).
|
|
134
|
+
*/
|
|
135
|
+
customKeyStoreId?: pulumi.Input<string>;
|
|
128
136
|
/**
|
|
129
137
|
* Specifies whether the key contains a symmetric key or an asymmetric key pair and the encryption algorithms or signing algorithms that the key supports.
|
|
130
138
|
* Valid values: `SYMMETRIC_DEFAULT`, `RSA_2048`, `RSA_3072`, `RSA_4096`, `HMAC_256`, `ECC_NIST_P256`, `ECC_NIST_P384`, `ECC_NIST_P521`, or `ECC_SECG_P256K1`. Defaults to `SYMMETRIC_DEFAULT`. For help with choosing a key spec, see the [AWS KMS Developer Guide](https://docs.aws.amazon.com/kms/latest/developerguide/symm-asymm-choose.html).
|
|
@@ -153,7 +161,7 @@ export interface KeyState {
|
|
|
153
161
|
*/
|
|
154
162
|
keyId?: pulumi.Input<string>;
|
|
155
163
|
/**
|
|
156
|
-
* Specifies the intended use of the key. Valid values: `ENCRYPT_DECRYPT` or `
|
|
164
|
+
* Specifies the intended use of the key. Valid values: `ENCRYPT_DECRYPT`, `SIGN_VERIFY`, or `GENERATE_VERIFY_MAC`.
|
|
157
165
|
* Defaults to `ENCRYPT_DECRYPT`.
|
|
158
166
|
*/
|
|
159
167
|
keyUsage?: pulumi.Input<string>;
|
|
@@ -189,6 +197,10 @@ export interface KeyArgs {
|
|
|
189
197
|
* The default value is `false`.
|
|
190
198
|
*/
|
|
191
199
|
bypassPolicyLockoutSafetyCheck?: pulumi.Input<boolean>;
|
|
200
|
+
/**
|
|
201
|
+
* ID of the KMS [Custom Key Store](https://docs.aws.amazon.com/kms/latest/developerguide/create-cmk-keystore.html) where the key will be stored instead of KMS (eg CloudHSM).
|
|
202
|
+
*/
|
|
203
|
+
customKeyStoreId?: pulumi.Input<string>;
|
|
192
204
|
/**
|
|
193
205
|
* Specifies whether the key contains a symmetric key or an asymmetric key pair and the encryption algorithms or signing algorithms that the key supports.
|
|
194
206
|
* Valid values: `SYMMETRIC_DEFAULT`, `RSA_2048`, `RSA_3072`, `RSA_4096`, `HMAC_256`, `ECC_NIST_P256`, `ECC_NIST_P384`, `ECC_NIST_P521`, or `ECC_SECG_P256K1`. Defaults to `SYMMETRIC_DEFAULT`. For help with choosing a key spec, see the [AWS KMS Developer Guide](https://docs.aws.amazon.com/kms/latest/developerguide/symm-asymm-choose.html).
|
|
@@ -213,7 +225,7 @@ export interface KeyArgs {
|
|
|
213
225
|
*/
|
|
214
226
|
isEnabled?: pulumi.Input<boolean>;
|
|
215
227
|
/**
|
|
216
|
-
* Specifies the intended use of the key. Valid values: `ENCRYPT_DECRYPT` or `
|
|
228
|
+
* Specifies the intended use of the key. Valid values: `ENCRYPT_DECRYPT`, `SIGN_VERIFY`, or `GENERATE_VERIFY_MAC`.
|
|
217
229
|
* Defaults to `ENCRYPT_DECRYPT`.
|
|
218
230
|
*/
|
|
219
231
|
keyUsage?: pulumi.Input<string>;
|
package/kms/key.js
CHANGED
|
@@ -36,6 +36,7 @@ class Key extends pulumi.CustomResource {
|
|
|
36
36
|
const state = argsOrState;
|
|
37
37
|
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
38
38
|
resourceInputs["bypassPolicyLockoutSafetyCheck"] = state ? state.bypassPolicyLockoutSafetyCheck : undefined;
|
|
39
|
+
resourceInputs["customKeyStoreId"] = state ? state.customKeyStoreId : undefined;
|
|
39
40
|
resourceInputs["customerMasterKeySpec"] = state ? state.customerMasterKeySpec : undefined;
|
|
40
41
|
resourceInputs["deletionWindowInDays"] = state ? state.deletionWindowInDays : undefined;
|
|
41
42
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
@@ -51,6 +52,7 @@ class Key extends pulumi.CustomResource {
|
|
|
51
52
|
else {
|
|
52
53
|
const args = argsOrState;
|
|
53
54
|
resourceInputs["bypassPolicyLockoutSafetyCheck"] = args ? args.bypassPolicyLockoutSafetyCheck : undefined;
|
|
55
|
+
resourceInputs["customKeyStoreId"] = args ? args.customKeyStoreId : undefined;
|
|
54
56
|
resourceInputs["customerMasterKeySpec"] = args ? args.customerMasterKeySpec : undefined;
|
|
55
57
|
resourceInputs["deletionWindowInDays"] = args ? args.deletionWindowInDays : undefined;
|
|
56
58
|
resourceInputs["description"] = args ? args.description : undefined;
|
package/kms/key.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key.js","sourceRoot":"","sources":["../../kms/key.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"key.js","sourceRoot":"","sources":["../../kms/key.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAoG1C,YAAY,IAAY,EAAE,WAAgC,EAAE,IAAmC;QAC3F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmC,CAAC;YAClD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,gCAAgC,CAAC,GAAG,KAAK,CAAC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,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;IAzID;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1D,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,GAAG,CAAC,YAAY,CAAC;IACpD,CAAC;;AA1BL,kBA2IC;AA7HG,gBAAgB;AACO,gBAAY,GAAG,iBAAiB,CAAC"}
|
package/lambda/function.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ import { ARN } from "..";
|
|
|
39
39
|
* code: new pulumi.asset.FileArchive("lambda_function_payload.zip"),
|
|
40
40
|
* role: iamForLambda.arn,
|
|
41
41
|
* handler: "index.test",
|
|
42
|
-
* runtime: "
|
|
42
|
+
* runtime: "nodejs16.x",
|
|
43
43
|
* environment: {
|
|
44
44
|
* variables: {
|
|
45
45
|
* foo: "bar",
|
package/lambda/function.js
CHANGED
|
@@ -41,7 +41,7 @@ const utilities = require("../utilities");
|
|
|
41
41
|
* code: new pulumi.asset.FileArchive("lambda_function_payload.zip"),
|
|
42
42
|
* role: iamForLambda.arn,
|
|
43
43
|
* handler: "index.test",
|
|
44
|
-
* runtime: "
|
|
44
|
+
* runtime: "nodejs16.x",
|
|
45
45
|
* environment: {
|
|
46
46
|
* variables: {
|
|
47
47
|
* foo: "bar",
|
package/lambda/layerVersion.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* import * as aws from "@pulumi/aws";
|
|
9
9
|
*
|
|
10
10
|
* const lambdaLayer = new aws.lambda.LayerVersion("lambda_layer", {
|
|
11
|
-
* compatibleRuntimes: ["
|
|
11
|
+
* compatibleRuntimes: ["nodejs16.x"],
|
|
12
12
|
* code: new pulumi.asset.FileArchive("lambda_layer_payload.zip"),
|
|
13
13
|
* layerName: "lambda_layer_name",
|
|
14
14
|
* });
|
package/lambda/layerVersion.js
CHANGED
|
@@ -14,7 +14,7 @@ const utilities = require("../utilities");
|
|
|
14
14
|
* import * as aws from "@pulumi/aws";
|
|
15
15
|
*
|
|
16
16
|
* const lambdaLayer = new aws.lambda.LayerVersion("lambda_layer", {
|
|
17
|
-
* compatibleRuntimes: ["
|
|
17
|
+
* compatibleRuntimes: ["nodejs16.x"],
|
|
18
18
|
* code: new pulumi.asset.FileArchive("lambda_layer_payload.zip"),
|
|
19
19
|
* layerName: "lambda_layer_name",
|
|
20
20
|
* });
|