@pulumi/aws 4.35.0-alpha.1642548637 → 4.36.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/appsync/apiCache.d.ts +132 -0
- package/appsync/apiCache.js +97 -0
- package/appsync/apiCache.js.map +1 -0
- package/appsync/domainName.d.ts +111 -0
- package/appsync/domainName.js +88 -0
- package/appsync/domainName.js.map +1 -0
- package/appsync/domainNameApiAssociation.d.ts +83 -0
- package/appsync/domainNameApiAssociation.js +82 -0
- package/appsync/domainNameApiAssociation.js.map +1 -0
- package/appsync/index.d.ts +3 -0
- package/appsync/index.js +15 -0
- package/appsync/index.js.map +1 -1
- package/cloudfront/getFunction.d.ts +84 -0
- package/cloudfront/getFunction.js +41 -0
- package/cloudfront/getFunction.js.map +1 -0
- package/cloudfront/getOriginAccessIdentity.d.ts +58 -0
- package/cloudfront/getOriginAccessIdentity.js +24 -0
- package/cloudfront/getOriginAccessIdentity.js.map +1 -0
- package/cloudfront/index.d.ts +2 -0
- package/cloudfront/index.js +2 -0
- package/cloudfront/index.js.map +1 -1
- package/cloudsearch/domain.d.ts +138 -0
- package/cloudsearch/domain.js +76 -0
- package/cloudsearch/domain.js.map +1 -0
- package/cloudsearch/domainServiceAccessPolicy.d.ts +69 -0
- package/cloudsearch/domainServiceAccessPolicy.js +68 -0
- package/cloudsearch/domainServiceAccessPolicy.js.map +1 -0
- package/cloudsearch/index.d.ts +2 -0
- package/cloudsearch/index.js +38 -0
- package/cloudsearch/index.js.map +1 -0
- package/cloudtrail/getFunction.d.ts +2 -1
- package/cloudtrail/getFunction.js +3 -1
- package/cloudtrail/getFunction.js.map +1 -1
- package/cloudwatch/eventTarget.d.ts +4 -7
- package/cloudwatch/eventTarget.js +4 -7
- package/cloudwatch/eventTarget.js.map +1 -1
- package/cognito/getUserPoolClients.d.ts +4 -0
- package/cognito/getUserPoolClients.js.map +1 -1
- package/detective/graph.d.ts +1 -1
- package/detective/graph.js +1 -1
- package/detective/index.d.ts +2 -0
- package/detective/index.js +10 -0
- package/detective/index.js.map +1 -1
- package/detective/invitationAccepter.d.ts +78 -0
- package/detective/invitationAccepter.js +84 -0
- package/detective/invitationAccepter.js.map +1 -0
- package/detective/member.d.ts +165 -0
- package/detective/member.js +107 -0
- package/detective/member.js.map +1 -0
- package/ec2/getIpamPreviewNextCidr.d.ts +53 -0
- package/ec2/getIpamPreviewNextCidr.js +26 -0
- package/ec2/getIpamPreviewNextCidr.js.map +1 -0
- package/ec2/index.d.ts +1 -0
- package/ec2/index.js +1 -0
- package/ec2/index.js.map +1 -1
- package/elasticloadbalancing/loadBalancerPolicy.d.ts +1 -1
- package/elb/loadBalancerPolicy.d.ts +1 -1
- package/fsx/dataRepositoryAssociation.d.ts +219 -0
- package/fsx/dataRepositoryAssociation.js +129 -0
- package/fsx/dataRepositoryAssociation.js.map +1 -0
- package/fsx/index.d.ts +1 -0
- package/fsx/index.js +5 -0
- package/fsx/index.js.map +1 -1
- package/fsx/lustreFileSystem.d.ts +47 -33
- package/fsx/lustreFileSystem.js +4 -0
- package/fsx/lustreFileSystem.js.map +1 -1
- package/glue/schema.d.ts +3 -3
- package/imagebuilder/getImageRecipe.d.ts +4 -0
- package/imagebuilder/getImageRecipe.js.map +1 -1
- package/imagebuilder/imageRecipe.d.ts +15 -3
- package/imagebuilder/imageRecipe.js +2 -0
- package/imagebuilder/imageRecipe.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +6 -4
- package/index.js.map +1 -1
- package/lambda/eventSourceMapping.d.ts +3 -3
- package/lambda/index.d.ts +1 -0
- package/lambda/index.js +5 -0
- package/lambda/index.js.map +1 -1
- package/lambda/invocation.d.ts +114 -0
- package/lambda/invocation.js +90 -0
- package/lambda/invocation.js.map +1 -0
- package/opsworks/customLayer.d.ts +15 -3
- package/opsworks/customLayer.js +2 -0
- package/opsworks/customLayer.js.map +1 -1
- package/opsworks/gangliaLayer.d.ts +3 -0
- package/opsworks/gangliaLayer.js +2 -0
- package/opsworks/gangliaLayer.js.map +1 -1
- package/opsworks/haproxyLayer.d.ts +3 -0
- package/opsworks/haproxyLayer.js +2 -0
- package/opsworks/haproxyLayer.js.map +1 -1
- package/opsworks/javaAppLayer.d.ts +3 -0
- package/opsworks/javaAppLayer.js +2 -0
- package/opsworks/javaAppLayer.js.map +1 -1
- package/opsworks/memcachedLayer.d.ts +3 -0
- package/opsworks/memcachedLayer.js +2 -0
- package/opsworks/memcachedLayer.js.map +1 -1
- package/opsworks/mysqlLayer.d.ts +3 -0
- package/opsworks/mysqlLayer.js +2 -0
- package/opsworks/mysqlLayer.js.map +1 -1
- package/opsworks/nodejsAppLayer.d.ts +3 -0
- package/opsworks/nodejsAppLayer.js +2 -0
- package/opsworks/nodejsAppLayer.js.map +1 -1
- package/opsworks/phpAppLayer.d.ts +3 -0
- package/opsworks/phpAppLayer.js +2 -0
- package/opsworks/phpAppLayer.js.map +1 -1
- package/opsworks/railsAppLayer.d.ts +3 -0
- package/opsworks/railsAppLayer.js +2 -0
- package/opsworks/railsAppLayer.js.map +1 -1
- package/opsworks/staticWebLayer.d.ts +3 -0
- package/opsworks/staticWebLayer.js +2 -0
- package/opsworks/staticWebLayer.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/types/enums/iam/index.d.ts +4 -0
- package/types/enums/iam/index.js +4 -0
- package/types/enums/iam/index.js.map +1 -1
- package/types/input.d.ts +295 -0
- package/types/output.d.ts +295 -0
|
@@ -0,0 +1,129 @@
|
|
|
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.DataRepositoryAssociation = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a FSx for Lustre Data Repository Association. See [Linking your file system to an S3 bucket](https://docs.aws.amazon.com/fsx/latest/LustreGuide/create-dra-linked-data-repo.html) for more information.
|
|
10
|
+
*
|
|
11
|
+
* > **NOTE:** Data Repository Associations are only compatible with AWS FSx for Lustre File Systems and `PERSISTENT_2` deployment type.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const exampleBucket = new aws.s3.Bucket("exampleBucket", {acl: "private"});
|
|
20
|
+
* const exampleLustreFileSystem = new aws.fsx.LustreFileSystem("exampleLustreFileSystem", {
|
|
21
|
+
* storageCapacity: 1200,
|
|
22
|
+
* subnetIds: [aws_subnet.example.id],
|
|
23
|
+
* deploymentType: "PERSISTENT_2",
|
|
24
|
+
* perUnitStorageThroughput: 125,
|
|
25
|
+
* });
|
|
26
|
+
* const exampleDataRepositoryAssociation = new aws.fsx.DataRepositoryAssociation("exampleDataRepositoryAssociation", {
|
|
27
|
+
* fileSystemId: exampleLustreFileSystem.id,
|
|
28
|
+
* dataRepositoryPath: pulumi.interpolate`s3://${exampleBucket.id}`,
|
|
29
|
+
* fileSystemPath: "/my-bucket",
|
|
30
|
+
* s3: {
|
|
31
|
+
* autoExportPolicy: {
|
|
32
|
+
* events: [
|
|
33
|
+
* "NEW",
|
|
34
|
+
* "CHANGED",
|
|
35
|
+
* "DELETED",
|
|
36
|
+
* ],
|
|
37
|
+
* },
|
|
38
|
+
* autoImportPolicy: {
|
|
39
|
+
* events: [
|
|
40
|
+
* "NEW",
|
|
41
|
+
* "CHANGED",
|
|
42
|
+
* "DELETED",
|
|
43
|
+
* ],
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* ## Import
|
|
50
|
+
*
|
|
51
|
+
* FSx Data Repository Associations can be imported using the `id`, e.g.,
|
|
52
|
+
*
|
|
53
|
+
* ```sh
|
|
54
|
+
* $ pulumi import aws:fsx/dataRepositoryAssociation:DataRepositoryAssociation example dra-0b1cfaeca11088b10
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
class DataRepositoryAssociation extends pulumi.CustomResource {
|
|
58
|
+
constructor(name, argsOrState, opts) {
|
|
59
|
+
let inputs = {};
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
if (opts.id) {
|
|
62
|
+
const state = argsOrState;
|
|
63
|
+
inputs["arn"] = state ? state.arn : undefined;
|
|
64
|
+
inputs["associationId"] = state ? state.associationId : undefined;
|
|
65
|
+
inputs["batchImportMetaDataOnCreate"] = state ? state.batchImportMetaDataOnCreate : undefined;
|
|
66
|
+
inputs["dataRepositoryPath"] = state ? state.dataRepositoryPath : undefined;
|
|
67
|
+
inputs["deleteDataInFilesystem"] = state ? state.deleteDataInFilesystem : undefined;
|
|
68
|
+
inputs["fileSystemId"] = state ? state.fileSystemId : undefined;
|
|
69
|
+
inputs["fileSystemPath"] = state ? state.fileSystemPath : undefined;
|
|
70
|
+
inputs["importedFileChunkSize"] = state ? state.importedFileChunkSize : undefined;
|
|
71
|
+
inputs["s3"] = state ? state.s3 : undefined;
|
|
72
|
+
inputs["tags"] = state ? state.tags : undefined;
|
|
73
|
+
inputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
const args = argsOrState;
|
|
77
|
+
if ((!args || args.dataRepositoryPath === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'dataRepositoryPath'");
|
|
79
|
+
}
|
|
80
|
+
if ((!args || args.fileSystemId === undefined) && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'fileSystemId'");
|
|
82
|
+
}
|
|
83
|
+
if ((!args || args.fileSystemPath === undefined) && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'fileSystemPath'");
|
|
85
|
+
}
|
|
86
|
+
inputs["batchImportMetaDataOnCreate"] = args ? args.batchImportMetaDataOnCreate : undefined;
|
|
87
|
+
inputs["dataRepositoryPath"] = args ? args.dataRepositoryPath : undefined;
|
|
88
|
+
inputs["deleteDataInFilesystem"] = args ? args.deleteDataInFilesystem : undefined;
|
|
89
|
+
inputs["fileSystemId"] = args ? args.fileSystemId : undefined;
|
|
90
|
+
inputs["fileSystemPath"] = args ? args.fileSystemPath : undefined;
|
|
91
|
+
inputs["importedFileChunkSize"] = args ? args.importedFileChunkSize : undefined;
|
|
92
|
+
inputs["s3"] = args ? args.s3 : undefined;
|
|
93
|
+
inputs["tags"] = args ? args.tags : undefined;
|
|
94
|
+
inputs["tagsAll"] = args ? args.tagsAll : undefined;
|
|
95
|
+
inputs["arn"] = undefined /*out*/;
|
|
96
|
+
inputs["associationId"] = undefined /*out*/;
|
|
97
|
+
}
|
|
98
|
+
if (!opts.version) {
|
|
99
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
100
|
+
}
|
|
101
|
+
super(DataRepositoryAssociation.__pulumiType, name, inputs, opts);
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Get an existing DataRepositoryAssociation resource's state with the given name, ID, and optional extra
|
|
105
|
+
* properties used to qualify the lookup.
|
|
106
|
+
*
|
|
107
|
+
* @param name The _unique_ name of the resulting resource.
|
|
108
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
109
|
+
* @param state Any extra arguments used during the lookup.
|
|
110
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
111
|
+
*/
|
|
112
|
+
static get(name, id, state, opts) {
|
|
113
|
+
return new DataRepositoryAssociation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Returns true if the given object is an instance of DataRepositoryAssociation. This is designed to work even
|
|
117
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
118
|
+
*/
|
|
119
|
+
static isInstance(obj) {
|
|
120
|
+
if (obj === undefined || obj === null) {
|
|
121
|
+
return false;
|
|
122
|
+
}
|
|
123
|
+
return obj['__pulumiType'] === DataRepositoryAssociation.__pulumiType;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
exports.DataRepositoryAssociation = DataRepositoryAssociation;
|
|
127
|
+
/** @internal */
|
|
128
|
+
DataRepositoryAssociation.__pulumiType = 'aws:fsx/dataRepositoryAssociation:DataRepositoryAssociation';
|
|
129
|
+
//# sourceMappingURL=dataRepositoryAssociation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataRepositoryAssociation.js","sourceRoot":"","sources":["../../fsx/dataRepositoryAssociation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IA+EhE,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyD,CAAC;YACxE,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,MAAM,CAAC,6BAA6B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,MAAM,CAAC,oBAAoB,CAAC,GAAG,KAAK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,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;IAzHD;;;;;;;;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,8DA2HC;AA7GG,gBAAgB;AACO,sCAAY,GAAG,6DAA6D,CAAC"}
|
package/fsx/index.d.ts
CHANGED
package/fsx/index.js
CHANGED
|
@@ -16,6 +16,7 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
16
16
|
const utilities = require("../utilities");
|
|
17
17
|
// Export members:
|
|
18
18
|
__exportStar(require("./backup"), exports);
|
|
19
|
+
__exportStar(require("./dataRepositoryAssociation"), exports);
|
|
19
20
|
__exportStar(require("./lustreFileSystem"), exports);
|
|
20
21
|
__exportStar(require("./ontapFileSystem"), exports);
|
|
21
22
|
__exportStar(require("./ontapStorageVirtualMachine"), exports);
|
|
@@ -26,6 +27,7 @@ __exportStar(require("./openZfsVolume"), exports);
|
|
|
26
27
|
__exportStar(require("./windowsFileSystem"), exports);
|
|
27
28
|
// Import resources to register:
|
|
28
29
|
const backup_1 = require("./backup");
|
|
30
|
+
const dataRepositoryAssociation_1 = require("./dataRepositoryAssociation");
|
|
29
31
|
const lustreFileSystem_1 = require("./lustreFileSystem");
|
|
30
32
|
const ontapFileSystem_1 = require("./ontapFileSystem");
|
|
31
33
|
const ontapStorageVirtualMachine_1 = require("./ontapStorageVirtualMachine");
|
|
@@ -40,6 +42,8 @@ const _module = {
|
|
|
40
42
|
switch (type) {
|
|
41
43
|
case "aws:fsx/backup:Backup":
|
|
42
44
|
return new backup_1.Backup(name, undefined, { urn });
|
|
45
|
+
case "aws:fsx/dataRepositoryAssociation:DataRepositoryAssociation":
|
|
46
|
+
return new dataRepositoryAssociation_1.DataRepositoryAssociation(name, undefined, { urn });
|
|
43
47
|
case "aws:fsx/lustreFileSystem:LustreFileSystem":
|
|
44
48
|
return new lustreFileSystem_1.LustreFileSystem(name, undefined, { urn });
|
|
45
49
|
case "aws:fsx/ontapFileSystem:OntapFileSystem":
|
|
@@ -62,6 +66,7 @@ const _module = {
|
|
|
62
66
|
},
|
|
63
67
|
};
|
|
64
68
|
pulumi.runtime.registerResourceModule("aws", "fsx/backup", _module);
|
|
69
|
+
pulumi.runtime.registerResourceModule("aws", "fsx/dataRepositoryAssociation", _module);
|
|
65
70
|
pulumi.runtime.registerResourceModule("aws", "fsx/lustreFileSystem", _module);
|
|
66
71
|
pulumi.runtime.registerResourceModule("aws", "fsx/ontapFileSystem", _module);
|
|
67
72
|
pulumi.runtime.registerResourceModule("aws", "fsx/ontapStorageVirtualMachine", _module);
|
package/fsx/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../fsx/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,2CAAyB;AACzB,qDAAmC;AACnC,oD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O,CAAC,sBAAsB,CAAC,KAAK,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -2,6 +2,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Manages a FSx Lustre File System. See the [FSx Lustre Guide](https://docs.aws.amazon.com/fsx/latest/LustreGuide/what-is.html) for more information.
|
|
4
4
|
*
|
|
5
|
+
* > **NOTE:** `autoImportPolicy`, `exportPath`, `importPath` and `importedFileChunkSize` are not supported with the `PERSISTENT_2` deployment type. Use `aws.fsx.DataRepositoryAssociation` instead.
|
|
6
|
+
*
|
|
5
7
|
* ## Example Usage
|
|
6
8
|
*
|
|
7
9
|
* ```typescript
|
|
@@ -58,11 +60,11 @@ export declare class LustreFileSystem extends pulumi.CustomResource {
|
|
|
58
60
|
*/
|
|
59
61
|
readonly arn: pulumi.Output<string>;
|
|
60
62
|
/**
|
|
61
|
-
* How Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. see [Auto Import Data Repo](https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html) for more details.
|
|
63
|
+
* How Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. see [Auto Import Data Repo](https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html) for more details. Only supported on `PERSISTENT_1` deployment types.
|
|
62
64
|
*/
|
|
63
65
|
readonly autoImportPolicy: pulumi.Output<string>;
|
|
64
66
|
/**
|
|
65
|
-
* The number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days. only valid for `PERSISTENT_1` deployment_type.
|
|
67
|
+
* The number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days. only valid for `PERSISTENT_1` and `PERSISTENT_2` deployment_type.
|
|
66
68
|
*/
|
|
67
69
|
readonly automaticBackupRetentionDays: pulumi.Output<number>;
|
|
68
70
|
/**
|
|
@@ -70,11 +72,11 @@ export declare class LustreFileSystem extends pulumi.CustomResource {
|
|
|
70
72
|
*/
|
|
71
73
|
readonly backupId: pulumi.Output<string | undefined>;
|
|
72
74
|
/**
|
|
73
|
-
* A boolean flag indicating whether tags for the file system should be copied to backups. Applicable for `PERSISTENT_1` deployment_type. The default value is false.
|
|
75
|
+
* A boolean flag indicating whether tags for the file system should be copied to backups. Applicable for `PERSISTENT_1` and `PERSISTENT_2` deployment_type. The default value is false.
|
|
74
76
|
*/
|
|
75
77
|
readonly copyTagsToBackups: pulumi.Output<boolean | undefined>;
|
|
76
78
|
/**
|
|
77
|
-
* A recurring daily time, in the format HH:MM. HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour. For example, 05:00 specifies 5 AM daily. only valid for `PERSISTENT_1` deployment_type. Requires `automaticBackupRetentionDays` to be set.
|
|
79
|
+
* A recurring daily time, in the format HH:MM. HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour. For example, 05:00 specifies 5 AM daily. only valid for `PERSISTENT_1` and `PERSISTENT_2` deployment_type. Requires `automaticBackupRetentionDays` to be set.
|
|
78
80
|
*/
|
|
79
81
|
readonly dailyAutomaticBackupStartTime: pulumi.Output<string>;
|
|
80
82
|
/**
|
|
@@ -82,7 +84,7 @@ export declare class LustreFileSystem extends pulumi.CustomResource {
|
|
|
82
84
|
*/
|
|
83
85
|
readonly dataCompressionType: pulumi.Output<string | undefined>;
|
|
84
86
|
/**
|
|
85
|
-
* - The filesystem deployment type. One of: `SCRATCH_1`, `SCRATCH_2`, `PERSISTENT_1
|
|
87
|
+
* - The filesystem deployment type. One of: `SCRATCH_1`, `SCRATCH_2`, `PERSISTENT_1`, `PERSISTENT_2`.
|
|
86
88
|
*/
|
|
87
89
|
readonly deploymentType: pulumi.Output<string | undefined>;
|
|
88
90
|
/**
|
|
@@ -94,19 +96,23 @@ export declare class LustreFileSystem extends pulumi.CustomResource {
|
|
|
94
96
|
*/
|
|
95
97
|
readonly driveCacheType: pulumi.Output<string | undefined>;
|
|
96
98
|
/**
|
|
97
|
-
* S3 URI (with optional prefix) where the root of your Amazon FSx file system is exported. Can only be specified with `importPath` argument and the path must use the same Amazon S3 bucket as specified in `importPath`. Set equal to `importPath` to overwrite files on export. Defaults to `s3://{IMPORT BUCKET}/FSxLustre{CREATION TIMESTAMP}`.
|
|
99
|
+
* S3 URI (with optional prefix) where the root of your Amazon FSx file system is exported. Can only be specified with `importPath` argument and the path must use the same Amazon S3 bucket as specified in `importPath`. Set equal to `importPath` to overwrite files on export. Defaults to `s3://{IMPORT BUCKET}/FSxLustre{CREATION TIMESTAMP}`. Only supported on `PERSISTENT_1` deployment types.
|
|
98
100
|
*/
|
|
99
101
|
readonly exportPath: pulumi.Output<string>;
|
|
100
102
|
/**
|
|
101
|
-
*
|
|
103
|
+
* Sets the Lustre version for the file system that you're creating. Valid values are 2.10 for `SCRATCH_1`, `SCRATCH_2` and `PERSISTENT_1` deployment types. Valid values for 2.12 include all deployment types.
|
|
104
|
+
*/
|
|
105
|
+
readonly fileSystemTypeVersion: pulumi.Output<string>;
|
|
106
|
+
/**
|
|
107
|
+
* S3 URI (with optional prefix) that you're using as the data repository for your FSx for Lustre file system. For example, `s3://example-bucket/optional-prefix/`. Only supported on `PERSISTENT_1` deployment types.
|
|
102
108
|
*/
|
|
103
109
|
readonly importPath: pulumi.Output<string | undefined>;
|
|
104
110
|
/**
|
|
105
|
-
* For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. Can only be specified with `importPath` argument. Defaults to `1024`. Minimum of `1` and maximum of `512000`.
|
|
111
|
+
* For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. Can only be specified with `importPath` argument. Defaults to `1024`. Minimum of `1` and maximum of `512000`. Only supported on `PERSISTENT_1` deployment types.
|
|
106
112
|
*/
|
|
107
113
|
readonly importedFileChunkSize: pulumi.Output<number>;
|
|
108
114
|
/**
|
|
109
|
-
* ARN for the KMS Key to encrypt the file system at rest, applicable for `PERSISTENT_1` deployment_type. Defaults to an AWS managed KMS Key.
|
|
115
|
+
* ARN for the KMS Key to encrypt the file system at rest, applicable for `PERSISTENT_1` and `PERSISTENT_2` deployment_type. Defaults to an AWS managed KMS Key.
|
|
110
116
|
*/
|
|
111
117
|
readonly kmsKeyId: pulumi.Output<string>;
|
|
112
118
|
/**
|
|
@@ -122,7 +128,7 @@ export declare class LustreFileSystem extends pulumi.CustomResource {
|
|
|
122
128
|
*/
|
|
123
129
|
readonly ownerId: pulumi.Output<string>;
|
|
124
130
|
/**
|
|
125
|
-
* - Describes the amount of read and write throughput for each 1 tebibyte of storage, in MB/s/TiB, required for the `PERSISTENT_1` deployment_type. Valid values for `SSD` storageType are 50, 100, 200. Valid values for `HDD` storageType are 12, 40.
|
|
131
|
+
* - Describes the amount of read and write throughput for each 1 tebibyte of storage, in MB/s/TiB, required for the `PERSISTENT_1` and `PERSISTENT_2` deployment_type. Valid values for `PERSISTENT_1` deploymentType and `SSD` storageType are 50, 100, 200. Valid values for `PERSISTENT_1` deploymentType and `HDD` storageType are 12, 40. Valid values for `PERSISTENT_2` deploymentType and ` SSD` storageType are 125, 250, 500, 1000.
|
|
126
132
|
*/
|
|
127
133
|
readonly perUnitStorageThroughput: pulumi.Output<number | undefined>;
|
|
128
134
|
/**
|
|
@@ -130,7 +136,7 @@ export declare class LustreFileSystem extends pulumi.CustomResource {
|
|
|
130
136
|
*/
|
|
131
137
|
readonly securityGroupIds: pulumi.Output<string[] | undefined>;
|
|
132
138
|
/**
|
|
133
|
-
* The storage capacity (GiB) of the file system. Minimum of `1200`. See more details at [Allowed values for Fsx storage capacity](https://docs.aws.amazon.com/fsx/latest/APIReference/API_CreateFileSystem.html#FSx-CreateFileSystem-request-StorageCapacity). Update is allowed only for `SCRATCH_2` and `
|
|
139
|
+
* The storage capacity (GiB) of the file system. Minimum of `1200`. See more details at [Allowed values for Fsx storage capacity](https://docs.aws.amazon.com/fsx/latest/APIReference/API_CreateFileSystem.html#FSx-CreateFileSystem-request-StorageCapacity). Update is allowed only for `SCRATCH_2`, `PERSISTENT_1` and `PERSISTENT_2` deployment types, See more details at [Fsx Storage Capacity Update](https://docs.aws.amazon.com/fsx/latest/APIReference/API_UpdateFileSystem.html#FSx-UpdateFileSystem-request-StorageCapacity). Required when not creating filesystem for a backup.
|
|
134
140
|
*/
|
|
135
141
|
readonly storageCapacity: pulumi.Output<number | undefined>;
|
|
136
142
|
/**
|
|
@@ -179,11 +185,11 @@ export interface LustreFileSystemState {
|
|
|
179
185
|
*/
|
|
180
186
|
arn?: pulumi.Input<string>;
|
|
181
187
|
/**
|
|
182
|
-
* How Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. see [Auto Import Data Repo](https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html) for more details.
|
|
188
|
+
* How Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. see [Auto Import Data Repo](https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html) for more details. Only supported on `PERSISTENT_1` deployment types.
|
|
183
189
|
*/
|
|
184
190
|
autoImportPolicy?: pulumi.Input<string>;
|
|
185
191
|
/**
|
|
186
|
-
* The number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days. only valid for `PERSISTENT_1` deployment_type.
|
|
192
|
+
* The number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days. only valid for `PERSISTENT_1` and `PERSISTENT_2` deployment_type.
|
|
187
193
|
*/
|
|
188
194
|
automaticBackupRetentionDays?: pulumi.Input<number>;
|
|
189
195
|
/**
|
|
@@ -191,11 +197,11 @@ export interface LustreFileSystemState {
|
|
|
191
197
|
*/
|
|
192
198
|
backupId?: pulumi.Input<string>;
|
|
193
199
|
/**
|
|
194
|
-
* A boolean flag indicating whether tags for the file system should be copied to backups. Applicable for `PERSISTENT_1` deployment_type. The default value is false.
|
|
200
|
+
* A boolean flag indicating whether tags for the file system should be copied to backups. Applicable for `PERSISTENT_1` and `PERSISTENT_2` deployment_type. The default value is false.
|
|
195
201
|
*/
|
|
196
202
|
copyTagsToBackups?: pulumi.Input<boolean>;
|
|
197
203
|
/**
|
|
198
|
-
* A recurring daily time, in the format HH:MM. HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour. For example, 05:00 specifies 5 AM daily. only valid for `PERSISTENT_1` deployment_type. Requires `automaticBackupRetentionDays` to be set.
|
|
204
|
+
* A recurring daily time, in the format HH:MM. HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour. For example, 05:00 specifies 5 AM daily. only valid for `PERSISTENT_1` and `PERSISTENT_2` deployment_type. Requires `automaticBackupRetentionDays` to be set.
|
|
199
205
|
*/
|
|
200
206
|
dailyAutomaticBackupStartTime?: pulumi.Input<string>;
|
|
201
207
|
/**
|
|
@@ -203,7 +209,7 @@ export interface LustreFileSystemState {
|
|
|
203
209
|
*/
|
|
204
210
|
dataCompressionType?: pulumi.Input<string>;
|
|
205
211
|
/**
|
|
206
|
-
* - The filesystem deployment type. One of: `SCRATCH_1`, `SCRATCH_2`, `PERSISTENT_1
|
|
212
|
+
* - The filesystem deployment type. One of: `SCRATCH_1`, `SCRATCH_2`, `PERSISTENT_1`, `PERSISTENT_2`.
|
|
207
213
|
*/
|
|
208
214
|
deploymentType?: pulumi.Input<string>;
|
|
209
215
|
/**
|
|
@@ -215,19 +221,23 @@ export interface LustreFileSystemState {
|
|
|
215
221
|
*/
|
|
216
222
|
driveCacheType?: pulumi.Input<string>;
|
|
217
223
|
/**
|
|
218
|
-
* S3 URI (with optional prefix) where the root of your Amazon FSx file system is exported. Can only be specified with `importPath` argument and the path must use the same Amazon S3 bucket as specified in `importPath`. Set equal to `importPath` to overwrite files on export. Defaults to `s3://{IMPORT BUCKET}/FSxLustre{CREATION TIMESTAMP}`.
|
|
224
|
+
* S3 URI (with optional prefix) where the root of your Amazon FSx file system is exported. Can only be specified with `importPath` argument and the path must use the same Amazon S3 bucket as specified in `importPath`. Set equal to `importPath` to overwrite files on export. Defaults to `s3://{IMPORT BUCKET}/FSxLustre{CREATION TIMESTAMP}`. Only supported on `PERSISTENT_1` deployment types.
|
|
219
225
|
*/
|
|
220
226
|
exportPath?: pulumi.Input<string>;
|
|
221
227
|
/**
|
|
222
|
-
*
|
|
228
|
+
* Sets the Lustre version for the file system that you're creating. Valid values are 2.10 for `SCRATCH_1`, `SCRATCH_2` and `PERSISTENT_1` deployment types. Valid values for 2.12 include all deployment types.
|
|
229
|
+
*/
|
|
230
|
+
fileSystemTypeVersion?: pulumi.Input<string>;
|
|
231
|
+
/**
|
|
232
|
+
* S3 URI (with optional prefix) that you're using as the data repository for your FSx for Lustre file system. For example, `s3://example-bucket/optional-prefix/`. Only supported on `PERSISTENT_1` deployment types.
|
|
223
233
|
*/
|
|
224
234
|
importPath?: pulumi.Input<string>;
|
|
225
235
|
/**
|
|
226
|
-
* For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. Can only be specified with `importPath` argument. Defaults to `1024`. Minimum of `1` and maximum of `512000`.
|
|
236
|
+
* For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. Can only be specified with `importPath` argument. Defaults to `1024`. Minimum of `1` and maximum of `512000`. Only supported on `PERSISTENT_1` deployment types.
|
|
227
237
|
*/
|
|
228
238
|
importedFileChunkSize?: pulumi.Input<number>;
|
|
229
239
|
/**
|
|
230
|
-
* ARN for the KMS Key to encrypt the file system at rest, applicable for `PERSISTENT_1` deployment_type. Defaults to an AWS managed KMS Key.
|
|
240
|
+
* ARN for the KMS Key to encrypt the file system at rest, applicable for `PERSISTENT_1` and `PERSISTENT_2` deployment_type. Defaults to an AWS managed KMS Key.
|
|
231
241
|
*/
|
|
232
242
|
kmsKeyId?: pulumi.Input<string>;
|
|
233
243
|
/**
|
|
@@ -243,7 +253,7 @@ export interface LustreFileSystemState {
|
|
|
243
253
|
*/
|
|
244
254
|
ownerId?: pulumi.Input<string>;
|
|
245
255
|
/**
|
|
246
|
-
* - Describes the amount of read and write throughput for each 1 tebibyte of storage, in MB/s/TiB, required for the `PERSISTENT_1` deployment_type. Valid values for `SSD` storageType are 50, 100, 200. Valid values for `HDD` storageType are 12, 40.
|
|
256
|
+
* - Describes the amount of read and write throughput for each 1 tebibyte of storage, in MB/s/TiB, required for the `PERSISTENT_1` and `PERSISTENT_2` deployment_type. Valid values for `PERSISTENT_1` deploymentType and `SSD` storageType are 50, 100, 200. Valid values for `PERSISTENT_1` deploymentType and `HDD` storageType are 12, 40. Valid values for `PERSISTENT_2` deploymentType and ` SSD` storageType are 125, 250, 500, 1000.
|
|
247
257
|
*/
|
|
248
258
|
perUnitStorageThroughput?: pulumi.Input<number>;
|
|
249
259
|
/**
|
|
@@ -251,7 +261,7 @@ export interface LustreFileSystemState {
|
|
|
251
261
|
*/
|
|
252
262
|
securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
253
263
|
/**
|
|
254
|
-
* The storage capacity (GiB) of the file system. Minimum of `1200`. See more details at [Allowed values for Fsx storage capacity](https://docs.aws.amazon.com/fsx/latest/APIReference/API_CreateFileSystem.html#FSx-CreateFileSystem-request-StorageCapacity). Update is allowed only for `SCRATCH_2` and `
|
|
264
|
+
* The storage capacity (GiB) of the file system. Minimum of `1200`. See more details at [Allowed values for Fsx storage capacity](https://docs.aws.amazon.com/fsx/latest/APIReference/API_CreateFileSystem.html#FSx-CreateFileSystem-request-StorageCapacity). Update is allowed only for `SCRATCH_2`, `PERSISTENT_1` and `PERSISTENT_2` deployment types, See more details at [Fsx Storage Capacity Update](https://docs.aws.amazon.com/fsx/latest/APIReference/API_UpdateFileSystem.html#FSx-UpdateFileSystem-request-StorageCapacity). Required when not creating filesystem for a backup.
|
|
255
265
|
*/
|
|
256
266
|
storageCapacity?: pulumi.Input<number>;
|
|
257
267
|
/**
|
|
@@ -288,11 +298,11 @@ export interface LustreFileSystemState {
|
|
|
288
298
|
*/
|
|
289
299
|
export interface LustreFileSystemArgs {
|
|
290
300
|
/**
|
|
291
|
-
* How Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. see [Auto Import Data Repo](https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html) for more details.
|
|
301
|
+
* How Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. see [Auto Import Data Repo](https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html) for more details. Only supported on `PERSISTENT_1` deployment types.
|
|
292
302
|
*/
|
|
293
303
|
autoImportPolicy?: pulumi.Input<string>;
|
|
294
304
|
/**
|
|
295
|
-
* The number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days. only valid for `PERSISTENT_1` deployment_type.
|
|
305
|
+
* The number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days. only valid for `PERSISTENT_1` and `PERSISTENT_2` deployment_type.
|
|
296
306
|
*/
|
|
297
307
|
automaticBackupRetentionDays?: pulumi.Input<number>;
|
|
298
308
|
/**
|
|
@@ -300,11 +310,11 @@ export interface LustreFileSystemArgs {
|
|
|
300
310
|
*/
|
|
301
311
|
backupId?: pulumi.Input<string>;
|
|
302
312
|
/**
|
|
303
|
-
* A boolean flag indicating whether tags for the file system should be copied to backups. Applicable for `PERSISTENT_1` deployment_type. The default value is false.
|
|
313
|
+
* A boolean flag indicating whether tags for the file system should be copied to backups. Applicable for `PERSISTENT_1` and `PERSISTENT_2` deployment_type. The default value is false.
|
|
304
314
|
*/
|
|
305
315
|
copyTagsToBackups?: pulumi.Input<boolean>;
|
|
306
316
|
/**
|
|
307
|
-
* A recurring daily time, in the format HH:MM. HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour. For example, 05:00 specifies 5 AM daily. only valid for `PERSISTENT_1` deployment_type. Requires `automaticBackupRetentionDays` to be set.
|
|
317
|
+
* A recurring daily time, in the format HH:MM. HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour. For example, 05:00 specifies 5 AM daily. only valid for `PERSISTENT_1` and `PERSISTENT_2` deployment_type. Requires `automaticBackupRetentionDays` to be set.
|
|
308
318
|
*/
|
|
309
319
|
dailyAutomaticBackupStartTime?: pulumi.Input<string>;
|
|
310
320
|
/**
|
|
@@ -312,7 +322,7 @@ export interface LustreFileSystemArgs {
|
|
|
312
322
|
*/
|
|
313
323
|
dataCompressionType?: pulumi.Input<string>;
|
|
314
324
|
/**
|
|
315
|
-
* - The filesystem deployment type. One of: `SCRATCH_1`, `SCRATCH_2`, `PERSISTENT_1
|
|
325
|
+
* - The filesystem deployment type. One of: `SCRATCH_1`, `SCRATCH_2`, `PERSISTENT_1`, `PERSISTENT_2`.
|
|
316
326
|
*/
|
|
317
327
|
deploymentType?: pulumi.Input<string>;
|
|
318
328
|
/**
|
|
@@ -320,23 +330,27 @@ export interface LustreFileSystemArgs {
|
|
|
320
330
|
*/
|
|
321
331
|
driveCacheType?: pulumi.Input<string>;
|
|
322
332
|
/**
|
|
323
|
-
* S3 URI (with optional prefix) where the root of your Amazon FSx file system is exported. Can only be specified with `importPath` argument and the path must use the same Amazon S3 bucket as specified in `importPath`. Set equal to `importPath` to overwrite files on export. Defaults to `s3://{IMPORT BUCKET}/FSxLustre{CREATION TIMESTAMP}`.
|
|
333
|
+
* S3 URI (with optional prefix) where the root of your Amazon FSx file system is exported. Can only be specified with `importPath` argument and the path must use the same Amazon S3 bucket as specified in `importPath`. Set equal to `importPath` to overwrite files on export. Defaults to `s3://{IMPORT BUCKET}/FSxLustre{CREATION TIMESTAMP}`. Only supported on `PERSISTENT_1` deployment types.
|
|
324
334
|
*/
|
|
325
335
|
exportPath?: pulumi.Input<string>;
|
|
326
336
|
/**
|
|
327
|
-
*
|
|
337
|
+
* Sets the Lustre version for the file system that you're creating. Valid values are 2.10 for `SCRATCH_1`, `SCRATCH_2` and `PERSISTENT_1` deployment types. Valid values for 2.12 include all deployment types.
|
|
338
|
+
*/
|
|
339
|
+
fileSystemTypeVersion?: pulumi.Input<string>;
|
|
340
|
+
/**
|
|
341
|
+
* S3 URI (with optional prefix) that you're using as the data repository for your FSx for Lustre file system. For example, `s3://example-bucket/optional-prefix/`. Only supported on `PERSISTENT_1` deployment types.
|
|
328
342
|
*/
|
|
329
343
|
importPath?: pulumi.Input<string>;
|
|
330
344
|
/**
|
|
331
|
-
* For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. Can only be specified with `importPath` argument. Defaults to `1024`. Minimum of `1` and maximum of `512000`.
|
|
345
|
+
* For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. Can only be specified with `importPath` argument. Defaults to `1024`. Minimum of `1` and maximum of `512000`. Only supported on `PERSISTENT_1` deployment types.
|
|
332
346
|
*/
|
|
333
347
|
importedFileChunkSize?: pulumi.Input<number>;
|
|
334
348
|
/**
|
|
335
|
-
* ARN for the KMS Key to encrypt the file system at rest, applicable for `PERSISTENT_1` deployment_type. Defaults to an AWS managed KMS Key.
|
|
349
|
+
* ARN for the KMS Key to encrypt the file system at rest, applicable for `PERSISTENT_1` and `PERSISTENT_2` deployment_type. Defaults to an AWS managed KMS Key.
|
|
336
350
|
*/
|
|
337
351
|
kmsKeyId?: pulumi.Input<string>;
|
|
338
352
|
/**
|
|
339
|
-
* - Describes the amount of read and write throughput for each 1 tebibyte of storage, in MB/s/TiB, required for the `PERSISTENT_1` deployment_type. Valid values for `SSD` storageType are 50, 100, 200. Valid values for `HDD` storageType are 12, 40.
|
|
353
|
+
* - Describes the amount of read and write throughput for each 1 tebibyte of storage, in MB/s/TiB, required for the `PERSISTENT_1` and `PERSISTENT_2` deployment_type. Valid values for `PERSISTENT_1` deploymentType and `SSD` storageType are 50, 100, 200. Valid values for `PERSISTENT_1` deploymentType and `HDD` storageType are 12, 40. Valid values for `PERSISTENT_2` deploymentType and ` SSD` storageType are 125, 250, 500, 1000.
|
|
340
354
|
*/
|
|
341
355
|
perUnitStorageThroughput?: pulumi.Input<number>;
|
|
342
356
|
/**
|
|
@@ -344,7 +358,7 @@ export interface LustreFileSystemArgs {
|
|
|
344
358
|
*/
|
|
345
359
|
securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
346
360
|
/**
|
|
347
|
-
* The storage capacity (GiB) of the file system. Minimum of `1200`. See more details at [Allowed values for Fsx storage capacity](https://docs.aws.amazon.com/fsx/latest/APIReference/API_CreateFileSystem.html#FSx-CreateFileSystem-request-StorageCapacity). Update is allowed only for `SCRATCH_2` and `
|
|
361
|
+
* The storage capacity (GiB) of the file system. Minimum of `1200`. See more details at [Allowed values for Fsx storage capacity](https://docs.aws.amazon.com/fsx/latest/APIReference/API_CreateFileSystem.html#FSx-CreateFileSystem-request-StorageCapacity). Update is allowed only for `SCRATCH_2`, `PERSISTENT_1` and `PERSISTENT_2` deployment types, See more details at [Fsx Storage Capacity Update](https://docs.aws.amazon.com/fsx/latest/APIReference/API_UpdateFileSystem.html#FSx-UpdateFileSystem-request-StorageCapacity). Required when not creating filesystem for a backup.
|
|
348
362
|
*/
|
|
349
363
|
storageCapacity?: pulumi.Input<number>;
|
|
350
364
|
/**
|
package/fsx/lustreFileSystem.js
CHANGED
|
@@ -8,6 +8,8 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Manages a FSx Lustre File System. See the [FSx Lustre Guide](https://docs.aws.amazon.com/fsx/latest/LustreGuide/what-is.html) for more information.
|
|
10
10
|
*
|
|
11
|
+
* > **NOTE:** `autoImportPolicy`, `exportPath`, `importPath` and `importedFileChunkSize` are not supported with the `PERSISTENT_2` deployment type. Use `aws.fsx.DataRepositoryAssociation` instead.
|
|
12
|
+
*
|
|
11
13
|
* ## Example Usage
|
|
12
14
|
*
|
|
13
15
|
* ```typescript
|
|
@@ -60,6 +62,7 @@ class LustreFileSystem extends pulumi.CustomResource {
|
|
|
60
62
|
inputs["dnsName"] = state ? state.dnsName : undefined;
|
|
61
63
|
inputs["driveCacheType"] = state ? state.driveCacheType : undefined;
|
|
62
64
|
inputs["exportPath"] = state ? state.exportPath : undefined;
|
|
65
|
+
inputs["fileSystemTypeVersion"] = state ? state.fileSystemTypeVersion : undefined;
|
|
63
66
|
inputs["importPath"] = state ? state.importPath : undefined;
|
|
64
67
|
inputs["importedFileChunkSize"] = state ? state.importedFileChunkSize : undefined;
|
|
65
68
|
inputs["kmsKeyId"] = state ? state.kmsKeyId : undefined;
|
|
@@ -90,6 +93,7 @@ class LustreFileSystem extends pulumi.CustomResource {
|
|
|
90
93
|
inputs["deploymentType"] = args ? args.deploymentType : undefined;
|
|
91
94
|
inputs["driveCacheType"] = args ? args.driveCacheType : undefined;
|
|
92
95
|
inputs["exportPath"] = args ? args.exportPath : undefined;
|
|
96
|
+
inputs["fileSystemTypeVersion"] = args ? args.fileSystemTypeVersion : undefined;
|
|
93
97
|
inputs["importPath"] = args ? args.importPath : undefined;
|
|
94
98
|
inputs["importedFileChunkSize"] = args ? args.importedFileChunkSize : undefined;
|
|
95
99
|
inputs["kmsKeyId"] = args ? args.kmsKeyId : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lustreFileSystem.js","sourceRoot":"","sources":["../../fsx/lustreFileSystem.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"lustreFileSystem.js","sourceRoot":"","sources":["../../fsx/lustreFileSystem.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IAiJvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,I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gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IArND;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CAuNC;AAzMG,gBAAgB;AACO,6BAAY,GAAG,2CAA2C,CAAC"}
|
package/glue/schema.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export declare class Schema extends pulumi.CustomResource {
|
|
|
50
50
|
*/
|
|
51
51
|
readonly compatibility: pulumi.Output<string>;
|
|
52
52
|
/**
|
|
53
|
-
* The data format of the schema definition.
|
|
53
|
+
* The data format of the schema definition. Valid values are `AVRO` and `JSON`.
|
|
54
54
|
*/
|
|
55
55
|
readonly dataFormat: pulumi.Output<string>;
|
|
56
56
|
/**
|
|
@@ -119,7 +119,7 @@ export interface SchemaState {
|
|
|
119
119
|
*/
|
|
120
120
|
compatibility?: pulumi.Input<string>;
|
|
121
121
|
/**
|
|
122
|
-
* The data format of the schema definition.
|
|
122
|
+
* The data format of the schema definition. Valid values are `AVRO` and `JSON`.
|
|
123
123
|
*/
|
|
124
124
|
dataFormat?: pulumi.Input<string>;
|
|
125
125
|
/**
|
|
@@ -176,7 +176,7 @@ export interface SchemaArgs {
|
|
|
176
176
|
*/
|
|
177
177
|
compatibility: pulumi.Input<string>;
|
|
178
178
|
/**
|
|
179
|
-
* The data format of the schema definition.
|
|
179
|
+
* The data format of the schema definition. Valid values are `AVRO` and `JSON`.
|
|
180
180
|
*/
|
|
181
181
|
dataFormat: pulumi.Input<string>;
|
|
182
182
|
/**
|
|
@@ -77,6 +77,10 @@ export interface GetImageRecipeResult {
|
|
|
77
77
|
readonly tags?: {
|
|
78
78
|
[key: string]: string;
|
|
79
79
|
};
|
|
80
|
+
/**
|
|
81
|
+
* Base64 encoded contents of user data. Commands or a command script to run when build instance is launched.
|
|
82
|
+
*/
|
|
83
|
+
readonly userDataBase64: string;
|
|
80
84
|
/**
|
|
81
85
|
* Version of the image recipe.
|
|
82
86
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getImageRecipe.js","sourceRoot":"","sources":["../../imagebuilder/getImageRecipe.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,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,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,wCAYC;
|
|
1
|
+
{"version":3,"file":"getImageRecipe.js","sourceRoot":"","sources":["../../imagebuilder/getImageRecipe.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,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,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,wCAYC;AA2ED,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,oDAEC"}
|
|
@@ -87,7 +87,7 @@ export declare class ImageRecipe extends pulumi.CustomResource {
|
|
|
87
87
|
*/
|
|
88
88
|
readonly platform: pulumi.Output<string>;
|
|
89
89
|
/**
|
|
90
|
-
* Key-value map of resource tags for the image recipe.
|
|
90
|
+
* Key-value map of resource tags for the image recipe. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
91
91
|
*/
|
|
92
92
|
readonly tags: pulumi.Output<{
|
|
93
93
|
[key: string]: string;
|
|
@@ -98,6 +98,10 @@ export declare class ImageRecipe extends pulumi.CustomResource {
|
|
|
98
98
|
readonly tagsAll: pulumi.Output<{
|
|
99
99
|
[key: string]: string;
|
|
100
100
|
}>;
|
|
101
|
+
/**
|
|
102
|
+
* Base64 encoded user data. Use this to provide commands or a command script to run when you launch your build instance.
|
|
103
|
+
*/
|
|
104
|
+
readonly userDataBase64: pulumi.Output<string>;
|
|
101
105
|
/**
|
|
102
106
|
* Version of the image recipe.
|
|
103
107
|
*/
|
|
@@ -156,7 +160,7 @@ export interface ImageRecipeState {
|
|
|
156
160
|
*/
|
|
157
161
|
platform?: pulumi.Input<string>;
|
|
158
162
|
/**
|
|
159
|
-
* Key-value map of resource tags for the image recipe.
|
|
163
|
+
* Key-value map of resource tags for the image recipe. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
160
164
|
*/
|
|
161
165
|
tags?: pulumi.Input<{
|
|
162
166
|
[key: string]: pulumi.Input<string>;
|
|
@@ -167,6 +171,10 @@ export interface ImageRecipeState {
|
|
|
167
171
|
tagsAll?: pulumi.Input<{
|
|
168
172
|
[key: string]: pulumi.Input<string>;
|
|
169
173
|
}>;
|
|
174
|
+
/**
|
|
175
|
+
* Base64 encoded user data. Use this to provide commands or a command script to run when you launch your build instance.
|
|
176
|
+
*/
|
|
177
|
+
userDataBase64?: pulumi.Input<string>;
|
|
170
178
|
/**
|
|
171
179
|
* Version of the image recipe.
|
|
172
180
|
*/
|
|
@@ -201,11 +209,15 @@ export interface ImageRecipeArgs {
|
|
|
201
209
|
*/
|
|
202
210
|
parentImage: pulumi.Input<string>;
|
|
203
211
|
/**
|
|
204
|
-
* Key-value map of resource tags for the image recipe.
|
|
212
|
+
* Key-value map of resource tags for the image recipe. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
205
213
|
*/
|
|
206
214
|
tags?: pulumi.Input<{
|
|
207
215
|
[key: string]: pulumi.Input<string>;
|
|
208
216
|
}>;
|
|
217
|
+
/**
|
|
218
|
+
* Base64 encoded user data. Use this to provide commands or a command script to run when you launch your build instance.
|
|
219
|
+
*/
|
|
220
|
+
userDataBase64?: pulumi.Input<string>;
|
|
209
221
|
/**
|
|
210
222
|
* Version of the image recipe.
|
|
211
223
|
*/
|