@pulumi/aws 4.33.1 → 4.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/appstream/fleet.d.ts +3 -3
- package/batch/getJobQueue.d.ts +4 -0
- package/batch/getJobQueue.js.map +1 -1
- package/batch/getSchedulingPolicy.d.ts +69 -0
- package/batch/getSchedulingPolicy.js +39 -0
- package/batch/getSchedulingPolicy.js.map +1 -0
- package/batch/index.d.ts +2 -0
- package/batch/index.js +6 -0
- package/batch/index.js.map +1 -1
- package/batch/jobQueue.d.ts +37 -0
- package/batch/jobQueue.js +27 -0
- package/batch/jobQueue.js.map +1 -1
- package/batch/schedulingPolicy.d.ts +134 -0
- package/batch/schedulingPolicy.js +97 -0
- package/batch/schedulingPolicy.js.map +1 -0
- package/cloud9/environmentMembership.d.ts +106 -0
- package/cloud9/environmentMembership.js +92 -0
- package/cloud9/environmentMembership.js.map +1 -0
- package/cloud9/index.d.ts +1 -0
- package/cloud9/index.js +5 -0
- package/cloud9/index.js.map +1 -1
- package/cloudwatch/eventTarget.d.ts +48 -3
- package/cloudwatch/eventTarget.js +45 -0
- package/cloudwatch/eventTarget.js.map +1 -1
- package/codebuild/index.d.ts +1 -0
- package/codebuild/index.js +5 -0
- package/codebuild/index.js.map +1 -1
- package/codebuild/project.d.ts +49 -5
- package/codebuild/project.js +8 -0
- package/codebuild/project.js.map +1 -1
- package/codebuild/resourcePolicy.d.ts +108 -0
- package/codebuild/resourcePolicy.js +107 -0
- package/codebuild/resourcePolicy.js.map +1 -0
- package/codepipeline/webhook.d.ts +8 -0
- package/codepipeline/webhook.js +2 -0
- package/codepipeline/webhook.js.map +1 -1
- package/cognito/getUserPoolClients.d.ts +49 -0
- package/cognito/getUserPoolClients.js +38 -0
- package/cognito/getUserPoolClients.js.map +1 -0
- package/cognito/getUserPoolSigningCertificate.d.ts +49 -0
- package/cognito/getUserPoolSigningCertificate.js +38 -0
- package/cognito/getUserPoolSigningCertificate.js.map +1 -0
- package/cognito/index.d.ts +2 -0
- package/cognito/index.js +2 -0
- package/cognito/index.js.map +1 -1
- package/datasync/index.d.ts +2 -0
- package/datasync/index.js +10 -0
- package/datasync/index.js.map +1 -1
- package/datasync/locationFsxLustre.d.ts +155 -0
- package/datasync/locationFsxLustre.js +94 -0
- package/datasync/locationFsxLustre.js.map +1 -0
- package/datasync/locationHdfs.d.ts +257 -0
- package/datasync/locationHdfs.js +117 -0
- package/datasync/locationHdfs.js.map +1 -0
- package/dax/cluster.d.ts +18 -0
- package/dax/cluster.js +2 -0
- package/dax/cluster.js.map +1 -1
- package/devicefarm/devicePool.d.ts +170 -0
- package/devicefarm/devicePool.js +100 -0
- package/devicefarm/devicePool.js.map +1 -0
- package/devicefarm/index.d.ts +3 -0
- package/devicefarm/index.js +15 -0
- package/devicefarm/index.js.map +1 -1
- package/devicefarm/networkProfile.d.ts +247 -0
- package/devicefarm/networkProfile.js +105 -0
- package/devicefarm/networkProfile.js.map +1 -0
- package/devicefarm/upload.d.ts +142 -0
- package/devicefarm/upload.js +97 -0
- package/devicefarm/upload.js.map +1 -0
- package/directconnect/privateVirtualInterface.d.ts +3 -0
- package/directconnect/privateVirtualInterface.js +2 -0
- package/directconnect/privateVirtualInterface.js.map +1 -1
- package/directconnect/transitVirtualInterface.d.ts +3 -0
- package/directconnect/transitVirtualInterface.js +2 -0
- package/directconnect/transitVirtualInterface.js.map +1 -1
- package/ec2/defaultSubnet.d.ts +15 -0
- package/ec2/defaultSubnet.js +10 -0
- package/ec2/defaultSubnet.js.map +1 -1
- package/ec2/getSubnet.d.ts +20 -0
- package/ec2/getSubnet.js.map +1 -1
- package/ec2/index.d.ts +3 -0
- package/ec2/index.js +15 -0
- package/ec2/index.js.map +1 -1
- package/ec2/subnet.d.ts +65 -5
- package/ec2/subnet.js +10 -3
- package/ec2/subnet.js.map +1 -1
- package/ec2/vpcEndpointConnectionAccepter.d.ts +105 -0
- package/ec2/vpcEndpointConnectionAccepter.js +98 -0
- package/ec2/vpcEndpointConnectionAccepter.js.map +1 -0
- package/ec2/vpcIpamOrganizationAdminAccount.d.ts +94 -0
- package/ec2/vpcIpamOrganizationAdminAccount.js +85 -0
- package/ec2/vpcIpamOrganizationAdminAccount.js.map +1 -0
- package/ec2/vpcIpamPoolCidr.d.ts +3 -0
- package/ec2/vpcIpamPoolCidr.js +3 -0
- package/ec2/vpcIpamPoolCidr.js.map +1 -1
- package/ec2/vpcIpamPoolCidrAllocation.d.ts +3 -3
- package/ec2/vpcIpamPreviewNextCidr.d.ts +100 -0
- package/ec2/vpcIpamPreviewNextCidr.js +90 -0
- package/ec2/vpcIpamPreviewNextCidr.js.map +1 -0
- package/ecr/replicationConfiguration.d.ts +22 -0
- package/ecr/replicationConfiguration.js +22 -0
- package/ecr/replicationConfiguration.js.map +1 -1
- package/ecs/getTaskDefinition.d.ts +39 -0
- package/ecs/getTaskDefinition.js +35 -0
- package/ecs/getTaskDefinition.js.map +1 -1
- package/fsx/backup.d.ts +15 -0
- package/fsx/backup.js +15 -0
- package/fsx/backup.js.map +1 -1
- package/fsx/index.d.ts +3 -0
- package/fsx/index.js +15 -0
- package/fsx/index.js.map +1 -1
- package/fsx/openZfsFileSystem.d.ts +341 -0
- package/fsx/openZfsFileSystem.js +144 -0
- package/fsx/openZfsFileSystem.js.map +1 -0
- package/fsx/openZfsSnapshot.d.ts +149 -0
- package/fsx/openZfsSnapshot.js +107 -0
- package/fsx/openZfsSnapshot.js.map +1 -0
- package/fsx/openZfsVolume.d.ts +225 -0
- package/fsx/openZfsVolume.js +101 -0
- package/fsx/openZfsVolume.js.map +1 -0
- package/glue/trigger.d.ts +15 -3
- package/glue/trigger.js +2 -0
- package/glue/trigger.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +7 -2
- package/index.js.map +1 -1
- package/memorydb/acl.d.ts +142 -0
- package/memorydb/acl.js +90 -0
- package/memorydb/acl.js.map +1 -0
- package/memorydb/cluster.d.ts +388 -0
- package/memorydb/cluster.js +140 -0
- package/memorydb/cluster.js.map +1 -0
- package/memorydb/index.d.ts +5 -0
- package/memorydb/index.js +53 -0
- package/memorydb/index.js.map +1 -0
- package/memorydb/parameterGroup.d.ts +160 -0
- package/memorydb/parameterGroup.js +96 -0
- package/memorydb/parameterGroup.js.map +1 -0
- package/memorydb/subnetGroup.d.ts +146 -0
- package/memorydb/subnetGroup.js +96 -0
- package/memorydb/subnetGroup.js.map +1 -0
- package/memorydb/user.d.ts +138 -0
- package/memorydb/user.js +83 -0
- package/memorydb/user.js.map +1 -0
- package/mskconnect/customPlugin.d.ts +144 -0
- package/mskconnect/customPlugin.js +104 -0
- package/mskconnect/customPlugin.js.map +1 -0
- package/mskconnect/getCustomPlugin.d.ts +61 -0
- package/mskconnect/getCustomPlugin.js +38 -0
- package/mskconnect/getCustomPlugin.js.map +1 -0
- package/mskconnect/getWorkerConfiguration.d.ts +61 -0
- package/mskconnect/getWorkerConfiguration.js +38 -0
- package/mskconnect/getWorkerConfiguration.js.map +1 -0
- package/mskconnect/index.d.ts +4 -0
- package/mskconnect/index.js +40 -0
- package/mskconnect/index.js.map +1 -0
- package/mskconnect/workerConfiguration.d.ts +113 -0
- package/mskconnect/workerConfiguration.js +87 -0
- package/mskconnect/workerConfiguration.js.map +1 -0
- package/organizations/getResourceTags.d.ts +63 -0
- package/organizations/getResourceTags.js +39 -0
- package/organizations/getResourceTags.js.map +1 -0
- package/organizations/index.d.ts +1 -0
- package/organizations/index.js +1 -0
- package/organizations/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/sagemaker/device.d.ts +97 -0
- package/sagemaker/device.js +89 -0
- package/sagemaker/device.js.map +1 -0
- package/sagemaker/getPrebuiltEcrImage.d.ts +2 -2
- package/sagemaker/index.d.ts +1 -0
- package/sagemaker/index.js +5 -0
- package/sagemaker/index.js.map +1 -1
- package/ses/getActiveReceiptRuleSet.d.ts +31 -0
- package/ses/getActiveReceiptRuleSet.js +30 -0
- package/ses/getActiveReceiptRuleSet.js.map +1 -0
- package/ses/getDomainIdentity.d.ts +56 -0
- package/ses/getDomainIdentity.js +38 -0
- package/ses/getDomainIdentity.js.map +1 -0
- package/ses/getEmailIdentity.d.ts +52 -0
- package/ses/getEmailIdentity.js +38 -0
- package/ses/getEmailIdentity.js.map +1 -0
- package/ses/index.d.ts +3 -0
- package/ses/index.js +3 -0
- package/ses/index.js.map +1 -1
- package/sqs/queue.d.ts +16 -0
- package/sqs/queue.js +6 -0
- package/sqs/queue.js.map +1 -1
- package/ssm/getParametersByPath.d.ts +9 -0
- package/ssm/getParametersByPath.js +1 -0
- package/ssm/getParametersByPath.js.map +1 -1
- package/timestreamwrite/table.d.ts +12 -0
- package/timestreamwrite/table.js +2 -0
- package/timestreamwrite/table.js.map +1 -1
- package/types/input.d.ts +409 -11
- package/types/output.d.ts +430 -11
- package/wafv2/webAclLoggingConfiguration.d.ts +3 -3
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages an AWS DataSync FSx Lustre Location.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const example = new aws.datasync.LocationFsxLustre("example", {
|
|
12
|
+
* fsxFilesystemArn: aws_fsx_lustre_file_system.example.arn,
|
|
13
|
+
* securityGroupArns: [aws_security_group.example.arn],
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* `aws_datasync_location_fsx_lustre_file_system` can be imported by using the `DataSync-ARN#FSx-Lustre-ARN`, e.g.,
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import aws:datasync/locationFsxLustre:LocationFsxLustre example arn:aws:datasync:us-west-2:123456789012:location/loc-12345678901234567#arn:aws:fsx:us-west-2:476956259333:file-system/fs-08e04cd442c1bb94a
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class LocationFsxLustre extends pulumi.CustomResource {
|
|
26
|
+
/**
|
|
27
|
+
* Get an existing LocationFsxLustre resource's state with the given name, ID, and optional extra
|
|
28
|
+
* properties used to qualify the lookup.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resulting resource.
|
|
31
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
32
|
+
* @param state Any extra arguments used during the lookup.
|
|
33
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
34
|
+
*/
|
|
35
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LocationFsxLustreState, opts?: pulumi.CustomResourceOptions): LocationFsxLustre;
|
|
36
|
+
/**
|
|
37
|
+
* Returns true if the given object is an instance of LocationFsxLustre. This is designed to work even
|
|
38
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
+
*/
|
|
40
|
+
static isInstance(obj: any): obj is LocationFsxLustre;
|
|
41
|
+
/**
|
|
42
|
+
* Amazon Resource Name (ARN) of the DataSync Location.
|
|
43
|
+
*/
|
|
44
|
+
readonly arn: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* The time that the FSx for Lustre location was created.
|
|
47
|
+
*/
|
|
48
|
+
readonly creationTime: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* The Amazon Resource Name (ARN) for the FSx for Lustre file system.
|
|
51
|
+
*/
|
|
52
|
+
readonly fsxFilesystemArn: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for Lustre file system.
|
|
55
|
+
*/
|
|
56
|
+
readonly securityGroupArns: pulumi.Output<string[]>;
|
|
57
|
+
/**
|
|
58
|
+
* Subdirectory to perform actions as source or destination.
|
|
59
|
+
*/
|
|
60
|
+
readonly subdirectory: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
63
|
+
*/
|
|
64
|
+
readonly tags: pulumi.Output<{
|
|
65
|
+
[key: string]: string;
|
|
66
|
+
} | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
69
|
+
*/
|
|
70
|
+
readonly tagsAll: pulumi.Output<{
|
|
71
|
+
[key: string]: string;
|
|
72
|
+
}>;
|
|
73
|
+
/**
|
|
74
|
+
* The URL of the FSx for Lustre location that was described.
|
|
75
|
+
*/
|
|
76
|
+
readonly uri: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Create a LocationFsxLustre resource with the given unique name, arguments, and options.
|
|
79
|
+
*
|
|
80
|
+
* @param name The _unique_ name of the resource.
|
|
81
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
82
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
83
|
+
*/
|
|
84
|
+
constructor(name: string, args: LocationFsxLustreArgs, opts?: pulumi.CustomResourceOptions);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Input properties used for looking up and filtering LocationFsxLustre resources.
|
|
88
|
+
*/
|
|
89
|
+
export interface LocationFsxLustreState {
|
|
90
|
+
/**
|
|
91
|
+
* Amazon Resource Name (ARN) of the DataSync Location.
|
|
92
|
+
*/
|
|
93
|
+
arn?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The time that the FSx for Lustre location was created.
|
|
96
|
+
*/
|
|
97
|
+
creationTime?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The Amazon Resource Name (ARN) for the FSx for Lustre file system.
|
|
100
|
+
*/
|
|
101
|
+
fsxFilesystemArn?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for Lustre file system.
|
|
104
|
+
*/
|
|
105
|
+
securityGroupArns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
106
|
+
/**
|
|
107
|
+
* Subdirectory to perform actions as source or destination.
|
|
108
|
+
*/
|
|
109
|
+
subdirectory?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
112
|
+
*/
|
|
113
|
+
tags?: pulumi.Input<{
|
|
114
|
+
[key: string]: pulumi.Input<string>;
|
|
115
|
+
}>;
|
|
116
|
+
/**
|
|
117
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
118
|
+
*/
|
|
119
|
+
tagsAll?: pulumi.Input<{
|
|
120
|
+
[key: string]: pulumi.Input<string>;
|
|
121
|
+
}>;
|
|
122
|
+
/**
|
|
123
|
+
* The URL of the FSx for Lustre location that was described.
|
|
124
|
+
*/
|
|
125
|
+
uri?: pulumi.Input<string>;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* The set of arguments for constructing a LocationFsxLustre resource.
|
|
129
|
+
*/
|
|
130
|
+
export interface LocationFsxLustreArgs {
|
|
131
|
+
/**
|
|
132
|
+
* The Amazon Resource Name (ARN) for the FSx for Lustre file system.
|
|
133
|
+
*/
|
|
134
|
+
fsxFilesystemArn: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* The Amazon Resource Names (ARNs) of the security groups that are to use to configure the FSx for Lustre file system.
|
|
137
|
+
*/
|
|
138
|
+
securityGroupArns: pulumi.Input<pulumi.Input<string>[]>;
|
|
139
|
+
/**
|
|
140
|
+
* Subdirectory to perform actions as source or destination.
|
|
141
|
+
*/
|
|
142
|
+
subdirectory?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
145
|
+
*/
|
|
146
|
+
tags?: pulumi.Input<{
|
|
147
|
+
[key: string]: pulumi.Input<string>;
|
|
148
|
+
}>;
|
|
149
|
+
/**
|
|
150
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
151
|
+
*/
|
|
152
|
+
tagsAll?: pulumi.Input<{
|
|
153
|
+
[key: string]: pulumi.Input<string>;
|
|
154
|
+
}>;
|
|
155
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
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.LocationFsxLustre = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages an AWS DataSync FSx Lustre Location.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const example = new aws.datasync.LocationFsxLustre("example", {
|
|
18
|
+
* fsxFilesystemArn: aws_fsx_lustre_file_system.example.arn,
|
|
19
|
+
* securityGroupArns: [aws_security_group.example.arn],
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* `aws_datasync_location_fsx_lustre_file_system` can be imported by using the `DataSync-ARN#FSx-Lustre-ARN`, e.g.,
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import aws:datasync/locationFsxLustre:LocationFsxLustre example arn:aws:datasync:us-west-2:123456789012:location/loc-12345678901234567#arn:aws:fsx:us-west-2:476956259333:file-system/fs-08e04cd442c1bb94a
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
class LocationFsxLustre extends pulumi.CustomResource {
|
|
32
|
+
constructor(name, argsOrState, opts) {
|
|
33
|
+
let inputs = {};
|
|
34
|
+
opts = opts || {};
|
|
35
|
+
if (opts.id) {
|
|
36
|
+
const state = argsOrState;
|
|
37
|
+
inputs["arn"] = state ? state.arn : undefined;
|
|
38
|
+
inputs["creationTime"] = state ? state.creationTime : undefined;
|
|
39
|
+
inputs["fsxFilesystemArn"] = state ? state.fsxFilesystemArn : undefined;
|
|
40
|
+
inputs["securityGroupArns"] = state ? state.securityGroupArns : undefined;
|
|
41
|
+
inputs["subdirectory"] = state ? state.subdirectory : undefined;
|
|
42
|
+
inputs["tags"] = state ? state.tags : undefined;
|
|
43
|
+
inputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
44
|
+
inputs["uri"] = state ? state.uri : undefined;
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
const args = argsOrState;
|
|
48
|
+
if ((!args || args.fsxFilesystemArn === undefined) && !opts.urn) {
|
|
49
|
+
throw new Error("Missing required property 'fsxFilesystemArn'");
|
|
50
|
+
}
|
|
51
|
+
if ((!args || args.securityGroupArns === undefined) && !opts.urn) {
|
|
52
|
+
throw new Error("Missing required property 'securityGroupArns'");
|
|
53
|
+
}
|
|
54
|
+
inputs["fsxFilesystemArn"] = args ? args.fsxFilesystemArn : undefined;
|
|
55
|
+
inputs["securityGroupArns"] = args ? args.securityGroupArns : undefined;
|
|
56
|
+
inputs["subdirectory"] = args ? args.subdirectory : undefined;
|
|
57
|
+
inputs["tags"] = args ? args.tags : undefined;
|
|
58
|
+
inputs["tagsAll"] = args ? args.tagsAll : undefined;
|
|
59
|
+
inputs["arn"] = undefined /*out*/;
|
|
60
|
+
inputs["creationTime"] = undefined /*out*/;
|
|
61
|
+
inputs["uri"] = undefined /*out*/;
|
|
62
|
+
}
|
|
63
|
+
if (!opts.version) {
|
|
64
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
65
|
+
}
|
|
66
|
+
super(LocationFsxLustre.__pulumiType, name, inputs, opts);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Get an existing LocationFsxLustre resource's state with the given name, ID, and optional extra
|
|
70
|
+
* properties used to qualify the lookup.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resulting resource.
|
|
73
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
74
|
+
* @param state Any extra arguments used during the lookup.
|
|
75
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
76
|
+
*/
|
|
77
|
+
static get(name, id, state, opts) {
|
|
78
|
+
return new LocationFsxLustre(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Returns true if the given object is an instance of LocationFsxLustre. This is designed to work even
|
|
82
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
83
|
+
*/
|
|
84
|
+
static isInstance(obj) {
|
|
85
|
+
if (obj === undefined || obj === null) {
|
|
86
|
+
return false;
|
|
87
|
+
}
|
|
88
|
+
return obj['__pulumiType'] === LocationFsxLustre.__pulumiType;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.LocationFsxLustre = LocationFsxLustre;
|
|
92
|
+
/** @internal */
|
|
93
|
+
LocationFsxLustre.__pulumiType = 'aws:datasync/locationFsxLustre:LocationFsxLustre';
|
|
94
|
+
//# sourceMappingURL=locationFsxLustre.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locationFsxLustre.js","sourceRoot":"","sources":["../../datasync/locationFsxLustre.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IAqExD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,MAAM,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,MAAM,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,MAAM,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,K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C,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrC;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,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;IAtGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;;AA1BL,8CAwGC;AA1FG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Manages a Hdfs Location within AWS DataSync.
|
|
5
|
+
*
|
|
6
|
+
* > **NOTE:** The DataSync Agents must be available before creating this resource.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as aws from "@pulumi/aws";
|
|
13
|
+
*
|
|
14
|
+
* const example = new aws.datasync.LocationHdfs("example", {
|
|
15
|
+
* agentArns: [aws_datasync_agent.example.arn],
|
|
16
|
+
* authenticationType: "SIMPLE",
|
|
17
|
+
* simpleUser: "example",
|
|
18
|
+
* nameNodes: [{
|
|
19
|
+
* hostname: aws_instance.example.private_dns,
|
|
20
|
+
* port: 80,
|
|
21
|
+
* }],
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* `aws_datasync_location_hdfs` can be imported by using the Amazon Resource Name (ARN), e.g.,
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import aws:datasync/locationHdfs:LocationHdfs example arn:aws:datasync:us-east-1:123456789012:location/loc-12345678901234567
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare class LocationHdfs extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing LocationHdfs resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LocationHdfsState, opts?: pulumi.CustomResourceOptions): LocationHdfs;
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of LocationHdfs. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj: any): obj is LocationHdfs;
|
|
49
|
+
/**
|
|
50
|
+
* A list of DataSync Agent ARNs with which this location will be associated.
|
|
51
|
+
*/
|
|
52
|
+
readonly agentArns: pulumi.Output<string[]>;
|
|
53
|
+
/**
|
|
54
|
+
* Amazon Resource Name (ARN) of the DataSync Location.
|
|
55
|
+
*/
|
|
56
|
+
readonly arn: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The type of authentication used to determine the identity of the user. Valid values are `SIMPLE` and `KERBEROS`.
|
|
59
|
+
*/
|
|
60
|
+
readonly authenticationType: pulumi.Output<string | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* The size of data blocks to write into the HDFS cluster. The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).
|
|
63
|
+
*/
|
|
64
|
+
readonly blockSize: pulumi.Output<number | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. If `KERBEROS` is specified for `authenticationType`, this parameter is required.
|
|
67
|
+
*/
|
|
68
|
+
readonly kerberosKeytab: pulumi.Output<string | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* The krb5.conf file that contains the Kerberos configuration information. If `KERBEROS` is specified for `authenticationType`, this parameter is required.
|
|
71
|
+
*/
|
|
72
|
+
readonly kerberosKrb5Conf: pulumi.Output<string | undefined>;
|
|
73
|
+
/**
|
|
74
|
+
* The Kerberos principal with access to the files and folders on the HDFS cluster. If `KERBEROS` is specified for `authenticationType`, this parameter is required.
|
|
75
|
+
*/
|
|
76
|
+
readonly kerberosPrincipal: pulumi.Output<string | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* The URI of the HDFS cluster's Key Management Server (KMS).
|
|
79
|
+
*/
|
|
80
|
+
readonly kmsKeyProviderUri: pulumi.Output<string | undefined>;
|
|
81
|
+
/**
|
|
82
|
+
* The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode. See configuration below.
|
|
83
|
+
*/
|
|
84
|
+
readonly nameNodes: pulumi.Output<outputs.datasync.LocationHdfsNameNode[]>;
|
|
85
|
+
/**
|
|
86
|
+
* The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer protection settings configured on the Hadoop Distributed File System (HDFS) cluster. If QopConfiguration isn't specified, RpcProtection and DataTransferProtection default to `PRIVACY`. If you set RpcProtection or DataTransferProtection, the other parameter assumes the same value. See configuration below.
|
|
87
|
+
*/
|
|
88
|
+
readonly qopConfiguration: pulumi.Output<outputs.datasync.LocationHdfsQopConfiguration | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* The number of DataNodes to replicate the data to when writing to the HDFS cluster. By default, data is replicated to three DataNodes.
|
|
91
|
+
*/
|
|
92
|
+
readonly replicationFactor: pulumi.Output<number | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* The user name used to identify the client on the host operating system. If `SIMPLE` is specified for `authenticationType`, this parameter is required.
|
|
95
|
+
*/
|
|
96
|
+
readonly simpleUser: pulumi.Output<string | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.
|
|
99
|
+
*/
|
|
100
|
+
readonly subdirectory: pulumi.Output<string | undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
103
|
+
*/
|
|
104
|
+
readonly tags: pulumi.Output<{
|
|
105
|
+
[key: string]: string;
|
|
106
|
+
} | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
109
|
+
*/
|
|
110
|
+
readonly tagsAll: pulumi.Output<{
|
|
111
|
+
[key: string]: string;
|
|
112
|
+
}>;
|
|
113
|
+
readonly uri: pulumi.Output<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Create a LocationHdfs resource with the given unique name, arguments, and options.
|
|
116
|
+
*
|
|
117
|
+
* @param name The _unique_ name of the resource.
|
|
118
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
119
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
120
|
+
*/
|
|
121
|
+
constructor(name: string, args: LocationHdfsArgs, opts?: pulumi.CustomResourceOptions);
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Input properties used for looking up and filtering LocationHdfs resources.
|
|
125
|
+
*/
|
|
126
|
+
export interface LocationHdfsState {
|
|
127
|
+
/**
|
|
128
|
+
* A list of DataSync Agent ARNs with which this location will be associated.
|
|
129
|
+
*/
|
|
130
|
+
agentArns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
131
|
+
/**
|
|
132
|
+
* Amazon Resource Name (ARN) of the DataSync Location.
|
|
133
|
+
*/
|
|
134
|
+
arn?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* The type of authentication used to determine the identity of the user. Valid values are `SIMPLE` and `KERBEROS`.
|
|
137
|
+
*/
|
|
138
|
+
authenticationType?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* The size of data blocks to write into the HDFS cluster. The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).
|
|
141
|
+
*/
|
|
142
|
+
blockSize?: pulumi.Input<number>;
|
|
143
|
+
/**
|
|
144
|
+
* The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. If `KERBEROS` is specified for `authenticationType`, this parameter is required.
|
|
145
|
+
*/
|
|
146
|
+
kerberosKeytab?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* The krb5.conf file that contains the Kerberos configuration information. If `KERBEROS` is specified for `authenticationType`, this parameter is required.
|
|
149
|
+
*/
|
|
150
|
+
kerberosKrb5Conf?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* The Kerberos principal with access to the files and folders on the HDFS cluster. If `KERBEROS` is specified for `authenticationType`, this parameter is required.
|
|
153
|
+
*/
|
|
154
|
+
kerberosPrincipal?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* The URI of the HDFS cluster's Key Management Server (KMS).
|
|
157
|
+
*/
|
|
158
|
+
kmsKeyProviderUri?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode. See configuration below.
|
|
161
|
+
*/
|
|
162
|
+
nameNodes?: pulumi.Input<pulumi.Input<inputs.datasync.LocationHdfsNameNode>[]>;
|
|
163
|
+
/**
|
|
164
|
+
* The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer protection settings configured on the Hadoop Distributed File System (HDFS) cluster. If QopConfiguration isn't specified, RpcProtection and DataTransferProtection default to `PRIVACY`. If you set RpcProtection or DataTransferProtection, the other parameter assumes the same value. See configuration below.
|
|
165
|
+
*/
|
|
166
|
+
qopConfiguration?: pulumi.Input<inputs.datasync.LocationHdfsQopConfiguration>;
|
|
167
|
+
/**
|
|
168
|
+
* The number of DataNodes to replicate the data to when writing to the HDFS cluster. By default, data is replicated to three DataNodes.
|
|
169
|
+
*/
|
|
170
|
+
replicationFactor?: pulumi.Input<number>;
|
|
171
|
+
/**
|
|
172
|
+
* The user name used to identify the client on the host operating system. If `SIMPLE` is specified for `authenticationType`, this parameter is required.
|
|
173
|
+
*/
|
|
174
|
+
simpleUser?: pulumi.Input<string>;
|
|
175
|
+
/**
|
|
176
|
+
* A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.
|
|
177
|
+
*/
|
|
178
|
+
subdirectory?: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
181
|
+
*/
|
|
182
|
+
tags?: pulumi.Input<{
|
|
183
|
+
[key: string]: pulumi.Input<string>;
|
|
184
|
+
}>;
|
|
185
|
+
/**
|
|
186
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
187
|
+
*/
|
|
188
|
+
tagsAll?: pulumi.Input<{
|
|
189
|
+
[key: string]: pulumi.Input<string>;
|
|
190
|
+
}>;
|
|
191
|
+
uri?: pulumi.Input<string>;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* The set of arguments for constructing a LocationHdfs resource.
|
|
195
|
+
*/
|
|
196
|
+
export interface LocationHdfsArgs {
|
|
197
|
+
/**
|
|
198
|
+
* A list of DataSync Agent ARNs with which this location will be associated.
|
|
199
|
+
*/
|
|
200
|
+
agentArns: pulumi.Input<pulumi.Input<string>[]>;
|
|
201
|
+
/**
|
|
202
|
+
* The type of authentication used to determine the identity of the user. Valid values are `SIMPLE` and `KERBEROS`.
|
|
203
|
+
*/
|
|
204
|
+
authenticationType?: pulumi.Input<string>;
|
|
205
|
+
/**
|
|
206
|
+
* The size of data blocks to write into the HDFS cluster. The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).
|
|
207
|
+
*/
|
|
208
|
+
blockSize?: pulumi.Input<number>;
|
|
209
|
+
/**
|
|
210
|
+
* The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. If `KERBEROS` is specified for `authenticationType`, this parameter is required.
|
|
211
|
+
*/
|
|
212
|
+
kerberosKeytab?: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* The krb5.conf file that contains the Kerberos configuration information. If `KERBEROS` is specified for `authenticationType`, this parameter is required.
|
|
215
|
+
*/
|
|
216
|
+
kerberosKrb5Conf?: pulumi.Input<string>;
|
|
217
|
+
/**
|
|
218
|
+
* The Kerberos principal with access to the files and folders on the HDFS cluster. If `KERBEROS` is specified for `authenticationType`, this parameter is required.
|
|
219
|
+
*/
|
|
220
|
+
kerberosPrincipal?: pulumi.Input<string>;
|
|
221
|
+
/**
|
|
222
|
+
* The URI of the HDFS cluster's Key Management Server (KMS).
|
|
223
|
+
*/
|
|
224
|
+
kmsKeyProviderUri?: pulumi.Input<string>;
|
|
225
|
+
/**
|
|
226
|
+
* The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode. See configuration below.
|
|
227
|
+
*/
|
|
228
|
+
nameNodes: pulumi.Input<pulumi.Input<inputs.datasync.LocationHdfsNameNode>[]>;
|
|
229
|
+
/**
|
|
230
|
+
* The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer protection settings configured on the Hadoop Distributed File System (HDFS) cluster. If QopConfiguration isn't specified, RpcProtection and DataTransferProtection default to `PRIVACY`. If you set RpcProtection or DataTransferProtection, the other parameter assumes the same value. See configuration below.
|
|
231
|
+
*/
|
|
232
|
+
qopConfiguration?: pulumi.Input<inputs.datasync.LocationHdfsQopConfiguration>;
|
|
233
|
+
/**
|
|
234
|
+
* The number of DataNodes to replicate the data to when writing to the HDFS cluster. By default, data is replicated to three DataNodes.
|
|
235
|
+
*/
|
|
236
|
+
replicationFactor?: pulumi.Input<number>;
|
|
237
|
+
/**
|
|
238
|
+
* The user name used to identify the client on the host operating system. If `SIMPLE` is specified for `authenticationType`, this parameter is required.
|
|
239
|
+
*/
|
|
240
|
+
simpleUser?: pulumi.Input<string>;
|
|
241
|
+
/**
|
|
242
|
+
* A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.
|
|
243
|
+
*/
|
|
244
|
+
subdirectory?: pulumi.Input<string>;
|
|
245
|
+
/**
|
|
246
|
+
* Key-value pairs of resource tags to assign to the DataSync Location. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
247
|
+
*/
|
|
248
|
+
tags?: pulumi.Input<{
|
|
249
|
+
[key: string]: pulumi.Input<string>;
|
|
250
|
+
}>;
|
|
251
|
+
/**
|
|
252
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
253
|
+
*/
|
|
254
|
+
tagsAll?: pulumi.Input<{
|
|
255
|
+
[key: string]: pulumi.Input<string>;
|
|
256
|
+
}>;
|
|
257
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
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.LocationHdfs = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a Hdfs Location within AWS DataSync.
|
|
10
|
+
*
|
|
11
|
+
* > **NOTE:** The DataSync Agents must be available before creating this resource.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const example = new aws.datasync.LocationHdfs("example", {
|
|
20
|
+
* agentArns: [aws_datasync_agent.example.arn],
|
|
21
|
+
* authenticationType: "SIMPLE",
|
|
22
|
+
* simpleUser: "example",
|
|
23
|
+
* nameNodes: [{
|
|
24
|
+
* hostname: aws_instance.example.private_dns,
|
|
25
|
+
* port: 80,
|
|
26
|
+
* }],
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* `aws_datasync_location_hdfs` can be imported by using the Amazon Resource Name (ARN), e.g.,
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import aws:datasync/locationHdfs:LocationHdfs example arn:aws:datasync:us-east-1:123456789012:location/loc-12345678901234567
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
class LocationHdfs extends pulumi.CustomResource {
|
|
39
|
+
constructor(name, argsOrState, opts) {
|
|
40
|
+
let inputs = {};
|
|
41
|
+
opts = opts || {};
|
|
42
|
+
if (opts.id) {
|
|
43
|
+
const state = argsOrState;
|
|
44
|
+
inputs["agentArns"] = state ? state.agentArns : undefined;
|
|
45
|
+
inputs["arn"] = state ? state.arn : undefined;
|
|
46
|
+
inputs["authenticationType"] = state ? state.authenticationType : undefined;
|
|
47
|
+
inputs["blockSize"] = state ? state.blockSize : undefined;
|
|
48
|
+
inputs["kerberosKeytab"] = state ? state.kerberosKeytab : undefined;
|
|
49
|
+
inputs["kerberosKrb5Conf"] = state ? state.kerberosKrb5Conf : undefined;
|
|
50
|
+
inputs["kerberosPrincipal"] = state ? state.kerberosPrincipal : undefined;
|
|
51
|
+
inputs["kmsKeyProviderUri"] = state ? state.kmsKeyProviderUri : undefined;
|
|
52
|
+
inputs["nameNodes"] = state ? state.nameNodes : undefined;
|
|
53
|
+
inputs["qopConfiguration"] = state ? state.qopConfiguration : undefined;
|
|
54
|
+
inputs["replicationFactor"] = state ? state.replicationFactor : undefined;
|
|
55
|
+
inputs["simpleUser"] = state ? state.simpleUser : undefined;
|
|
56
|
+
inputs["subdirectory"] = state ? state.subdirectory : undefined;
|
|
57
|
+
inputs["tags"] = state ? state.tags : undefined;
|
|
58
|
+
inputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
59
|
+
inputs["uri"] = state ? state.uri : undefined;
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
const args = argsOrState;
|
|
63
|
+
if ((!args || args.agentArns === undefined) && !opts.urn) {
|
|
64
|
+
throw new Error("Missing required property 'agentArns'");
|
|
65
|
+
}
|
|
66
|
+
if ((!args || args.nameNodes === undefined) && !opts.urn) {
|
|
67
|
+
throw new Error("Missing required property 'nameNodes'");
|
|
68
|
+
}
|
|
69
|
+
inputs["agentArns"] = args ? args.agentArns : undefined;
|
|
70
|
+
inputs["authenticationType"] = args ? args.authenticationType : undefined;
|
|
71
|
+
inputs["blockSize"] = args ? args.blockSize : undefined;
|
|
72
|
+
inputs["kerberosKeytab"] = args ? args.kerberosKeytab : undefined;
|
|
73
|
+
inputs["kerberosKrb5Conf"] = args ? args.kerberosKrb5Conf : undefined;
|
|
74
|
+
inputs["kerberosPrincipal"] = args ? args.kerberosPrincipal : undefined;
|
|
75
|
+
inputs["kmsKeyProviderUri"] = args ? args.kmsKeyProviderUri : undefined;
|
|
76
|
+
inputs["nameNodes"] = args ? args.nameNodes : undefined;
|
|
77
|
+
inputs["qopConfiguration"] = args ? args.qopConfiguration : undefined;
|
|
78
|
+
inputs["replicationFactor"] = args ? args.replicationFactor : undefined;
|
|
79
|
+
inputs["simpleUser"] = args ? args.simpleUser : undefined;
|
|
80
|
+
inputs["subdirectory"] = args ? args.subdirectory : undefined;
|
|
81
|
+
inputs["tags"] = args ? args.tags : undefined;
|
|
82
|
+
inputs["tagsAll"] = args ? args.tagsAll : undefined;
|
|
83
|
+
inputs["arn"] = undefined /*out*/;
|
|
84
|
+
inputs["uri"] = undefined /*out*/;
|
|
85
|
+
}
|
|
86
|
+
if (!opts.version) {
|
|
87
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
88
|
+
}
|
|
89
|
+
super(LocationHdfs.__pulumiType, name, inputs, opts);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Get an existing LocationHdfs resource's state with the given name, ID, and optional extra
|
|
93
|
+
* properties used to qualify the lookup.
|
|
94
|
+
*
|
|
95
|
+
* @param name The _unique_ name of the resulting resource.
|
|
96
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
97
|
+
* @param state Any extra arguments used during the lookup.
|
|
98
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
99
|
+
*/
|
|
100
|
+
static get(name, id, state, opts) {
|
|
101
|
+
return new LocationHdfs(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Returns true if the given object is an instance of LocationHdfs. This is designed to work even
|
|
105
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
106
|
+
*/
|
|
107
|
+
static isInstance(obj) {
|
|
108
|
+
if (obj === undefined || obj === null) {
|
|
109
|
+
return false;
|
|
110
|
+
}
|
|
111
|
+
return obj['__pulumiType'] === LocationHdfs.__pulumiType;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
exports.LocationHdfs = LocationHdfs;
|
|
115
|
+
/** @internal */
|
|
116
|
+
LocationHdfs.__pulumiType = 'aws:datasync/locationHdfs:LocationHdfs';
|
|
117
|
+
//# sourceMappingURL=locationHdfs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locationHdfs.js","sourceRoot":"","sources":["../../datasync/locationHdfs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IAkGnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC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