@pulumi/aws 6.0.0-alpha.1 → 6.0.0-alpha.2

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.
Files changed (141) hide show
  1. package/README.md +4 -4
  2. package/appintegrations/dataIntegration.d.ts +2 -1
  3. package/appintegrations/dataIntegration.js +4 -0
  4. package/appintegrations/dataIntegration.js.map +1 -1
  5. package/auditmanager/accountRegistration.d.ts +109 -0
  6. package/auditmanager/accountRegistration.js +84 -0
  7. package/auditmanager/accountRegistration.js.map +1 -0
  8. package/auditmanager/assessment.d.ts +204 -0
  9. package/auditmanager/assessment.js +118 -0
  10. package/auditmanager/assessment.js.map +1 -0
  11. package/auditmanager/assessmentDelegation.d.ts +144 -0
  12. package/auditmanager/assessmentDelegation.js +99 -0
  13. package/auditmanager/assessmentDelegation.js.map +1 -0
  14. package/auditmanager/assessmentReport.d.ts +118 -0
  15. package/auditmanager/assessmentReport.js +87 -0
  16. package/auditmanager/assessmentReport.js.map +1 -0
  17. package/auditmanager/control.d.ts +186 -0
  18. package/auditmanager/control.js +98 -0
  19. package/auditmanager/control.js.map +1 -0
  20. package/auditmanager/framework.d.ts +163 -0
  21. package/auditmanager/framework.js +95 -0
  22. package/auditmanager/framework.js.map +1 -0
  23. package/auditmanager/frameworkShare.d.ts +123 -0
  24. package/auditmanager/frameworkShare.js +91 -0
  25. package/auditmanager/frameworkShare.js.map +1 -0
  26. package/auditmanager/getControl.d.ts +146 -0
  27. package/auditmanager/getControl.js +117 -0
  28. package/auditmanager/getControl.js.map +1 -0
  29. package/auditmanager/getFramework.d.ts +74 -0
  30. package/auditmanager/getFramework.js +53 -0
  31. package/auditmanager/getFramework.js.map +1 -0
  32. package/auditmanager/index.d.ts +30 -0
  33. package/auditmanager/index.js +63 -0
  34. package/auditmanager/index.js.map +1 -0
  35. package/auditmanager/organizationAdminAccountRegistration.d.ts +77 -0
  36. package/auditmanager/organizationAdminAccountRegistration.js +75 -0
  37. package/auditmanager/organizationAdminAccountRegistration.js.map +1 -0
  38. package/chime/sdkvoiceVoiceProfileDomain.d.ts +2 -1
  39. package/chime/sdkvoiceVoiceProfileDomain.js +4 -0
  40. package/chime/sdkvoiceVoiceProfileDomain.js.map +1 -1
  41. package/cloudfront/fieldLevelEncryptionProfile.d.ts +1 -0
  42. package/cloudfront/fieldLevelEncryptionProfile.js +1 -0
  43. package/cloudfront/fieldLevelEncryptionProfile.js.map +1 -1
  44. package/cloudfront/keyGroup.d.ts +1 -0
  45. package/cloudfront/keyGroup.js +1 -0
  46. package/cloudfront/keyGroup.js.map +1 -1
  47. package/cloudfront/publicKey.d.ts +1 -0
  48. package/cloudfront/publicKey.js +1 -0
  49. package/cloudfront/publicKey.js.map +1 -1
  50. package/directoryservice/index.d.ts +3 -0
  51. package/directoryservice/index.js +6 -1
  52. package/directoryservice/index.js.map +1 -1
  53. package/directoryservice/trust.d.ts +282 -0
  54. package/directoryservice/trust.js +166 -0
  55. package/directoryservice/trust.js.map +1 -0
  56. package/ec2/securityGroup.d.ts +1 -1
  57. package/ec2/securityGroup.js +1 -1
  58. package/ec2/securityGroupRule.d.ts +2 -2
  59. package/ec2/securityGroupRule.js +2 -2
  60. package/emrcontainers/jobTemplate.d.ts +11 -8
  61. package/emrcontainers/jobTemplate.js +13 -7
  62. package/emrcontainers/jobTemplate.js.map +1 -1
  63. package/glue/dataQualityRuleset.d.ts +8 -2
  64. package/glue/dataQualityRuleset.js +10 -1
  65. package/glue/dataQualityRuleset.js.map +1 -1
  66. package/index.d.ts +4 -1
  67. package/index.js +10 -4
  68. package/index.js.map +1 -1
  69. package/medialive/index.d.ts +3 -0
  70. package/medialive/index.js +6 -1
  71. package/medialive/index.js.map +1 -1
  72. package/medialive/multiplexProgram.d.ts +130 -0
  73. package/medialive/multiplexProgram.js +109 -0
  74. package/medialive/multiplexProgram.js.map +1 -0
  75. package/package.json +2 -2
  76. package/package.json.dev +2 -2
  77. package/quicksight/folderMembership.d.ts +115 -0
  78. package/quicksight/folderMembership.js +89 -0
  79. package/quicksight/folderMembership.js.map +1 -0
  80. package/quicksight/iamPolicyAssignment.d.ts +152 -0
  81. package/quicksight/iamPolicyAssignment.js +95 -0
  82. package/quicksight/iamPolicyAssignment.js.map +1 -0
  83. package/quicksight/index.d.ts +21 -0
  84. package/quicksight/index.js +36 -1
  85. package/quicksight/index.js.map +1 -1
  86. package/quicksight/ingestion.d.ts +131 -0
  87. package/quicksight/ingestion.js +93 -0
  88. package/quicksight/ingestion.js.map +1 -0
  89. package/quicksight/namespace.d.ts +158 -0
  90. package/quicksight/namespace.js +89 -0
  91. package/quicksight/namespace.js.map +1 -0
  92. package/quicksight/refreshSchedule.d.ts +130 -0
  93. package/quicksight/refreshSchedule.js +93 -0
  94. package/quicksight/refreshSchedule.js.map +1 -0
  95. package/quicksight/templateAlias.d.ts +123 -0
  96. package/quicksight/templateAlias.js +91 -0
  97. package/quicksight/templateAlias.js.map +1 -0
  98. package/quicksight/vpcConnection.d.ts +236 -0
  99. package/quicksight/vpcConnection.js +145 -0
  100. package/quicksight/vpcConnection.js.map +1 -0
  101. package/rds/exportTask.d.ts +299 -0
  102. package/rds/exportTask.js +198 -0
  103. package/rds/exportTask.js.map +1 -0
  104. package/rds/index.d.ts +3 -0
  105. package/rds/index.js +6 -1
  106. package/rds/index.js.map +1 -1
  107. package/resourceexplorer/index.d.ts +6 -0
  108. package/resourceexplorer/index.js +27 -0
  109. package/resourceexplorer/index.js.map +1 -0
  110. package/resourceexplorer/index_.d.ts +111 -0
  111. package/resourceexplorer/index_.js +80 -0
  112. package/resourceexplorer/index_.js.map +1 -0
  113. package/resourceexplorer/view.d.ts +155 -0
  114. package/resourceexplorer/view.js +95 -0
  115. package/resourceexplorer/view.js.map +1 -0
  116. package/route53/cidrCollection.d.ts +84 -0
  117. package/route53/cidrCollection.js +76 -0
  118. package/route53/cidrCollection.js.map +1 -0
  119. package/route53/cidrLocation.d.ts +100 -0
  120. package/route53/cidrLocation.js +90 -0
  121. package/route53/cidrLocation.js.map +1 -0
  122. package/route53/index.d.ts +6 -0
  123. package/route53/index.js +11 -1
  124. package/route53/index.js.map +1 -1
  125. package/types/input.d.ts +345 -2
  126. package/types/output.d.ts +298 -2
  127. package/vpc/getSecurityGroupRule.d.ts +117 -0
  128. package/vpc/getSecurityGroupRule.js +49 -0
  129. package/vpc/getSecurityGroupRule.js.map +1 -0
  130. package/vpc/getSecurityGroupRules.d.ts +91 -0
  131. package/vpc/getSecurityGroupRules.js +55 -0
  132. package/vpc/getSecurityGroupRules.js.map +1 -0
  133. package/vpc/index.d.ts +12 -0
  134. package/vpc/index.js +33 -0
  135. package/vpc/index.js.map +1 -0
  136. package/vpc/securityGroupEgressRule.d.ts +223 -0
  137. package/vpc/securityGroupEgressRule.js +109 -0
  138. package/vpc/securityGroupEgressRule.js.map +1 -0
  139. package/vpc/securityGroupIngressRule.d.ts +223 -0
  140. package/vpc/securityGroupIngressRule.js +109 -0
  141. package/vpc/securityGroupIngressRule.js.map +1 -0
@@ -0,0 +1,145 @@
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.VpcConnection = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource for managing an AWS QuickSight VPC Connection.
10
+ *
11
+ * ## Example Usage
12
+ * ### Basic Usage
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as aws from "@pulumi/aws";
17
+ *
18
+ * const vpcConnectionRole = new aws.iam.Role("vpcConnectionRole", {
19
+ * assumeRolePolicy: JSON.stringify({
20
+ * Version: "2012-10-17",
21
+ * Statement: [{
22
+ * Effect: "Allow",
23
+ * Action: "sts:AssumeRole",
24
+ * Principal: {
25
+ * Service: "quicksight.amazonaws.com",
26
+ * },
27
+ * }],
28
+ * }),
29
+ * inlinePolicies: [{
30
+ * name: "QuickSightVPCConnectionRolePolicy",
31
+ * policy: JSON.stringify({
32
+ * Version: "2012-10-17",
33
+ * Statement: [{
34
+ * Effect: "Allow",
35
+ * Action: [
36
+ * "ec2:CreateNetworkInterface",
37
+ * "ec2:ModifyNetworkInterfaceAttribute",
38
+ * "ec2:DeleteNetworkInterface",
39
+ * "ec2:DescribeSubnets",
40
+ * "ec2:DescribeSecurityGroups",
41
+ * ],
42
+ * Resource: ["*"],
43
+ * }],
44
+ * }),
45
+ * }],
46
+ * });
47
+ * const example = new aws.quicksight.VpcConnection("example", {
48
+ * vpcConnectionId: "example-connection-id",
49
+ * name: "Example Connection",
50
+ * roleArn: vpcConnectionRole.arn,
51
+ * securityGroupIds: ["sg-00000000000000000"],
52
+ * subnetIds: [
53
+ * "subnet-00000000000000000",
54
+ * "subnet-00000000000000001",
55
+ * ],
56
+ * });
57
+ * ```
58
+ *
59
+ * ## Import
60
+ *
61
+ * QuickSight VPC connection can be imported using the AWS account ID and VPC connection ID separated by commas (`,`) e.g.,
62
+ *
63
+ * ```sh
64
+ * $ pulumi import aws:quicksight/vpcConnection:VpcConnection example 123456789012,example
65
+ * ```
66
+ */
67
+ class VpcConnection extends pulumi.CustomResource {
68
+ /**
69
+ * Get an existing VpcConnection 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 VpcConnection(name, state, Object.assign(Object.assign({}, opts), { id: id }));
79
+ }
80
+ /**
81
+ * Returns true if the given object is an instance of VpcConnection. 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'] === VpcConnection.__pulumiType;
89
+ }
90
+ constructor(name, argsOrState, opts) {
91
+ let resourceInputs = {};
92
+ opts = opts || {};
93
+ if (opts.id) {
94
+ const state = argsOrState;
95
+ resourceInputs["arn"] = state ? state.arn : undefined;
96
+ resourceInputs["availabilityStatus"] = state ? state.availabilityStatus : undefined;
97
+ resourceInputs["awsAccountId"] = state ? state.awsAccountId : undefined;
98
+ resourceInputs["dnsResolvers"] = state ? state.dnsResolvers : undefined;
99
+ resourceInputs["name"] = state ? state.name : undefined;
100
+ resourceInputs["roleArn"] = state ? state.roleArn : undefined;
101
+ resourceInputs["securityGroupIds"] = state ? state.securityGroupIds : undefined;
102
+ resourceInputs["subnetIds"] = state ? state.subnetIds : undefined;
103
+ resourceInputs["tags"] = state ? state.tags : undefined;
104
+ resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
105
+ resourceInputs["timeouts"] = state ? state.timeouts : undefined;
106
+ resourceInputs["vpcConnectionId"] = state ? state.vpcConnectionId : undefined;
107
+ }
108
+ else {
109
+ const args = argsOrState;
110
+ if ((!args || args.name === undefined) && !opts.urn) {
111
+ throw new Error("Missing required property 'name'");
112
+ }
113
+ if ((!args || args.roleArn === undefined) && !opts.urn) {
114
+ throw new Error("Missing required property 'roleArn'");
115
+ }
116
+ if ((!args || args.securityGroupIds === undefined) && !opts.urn) {
117
+ throw new Error("Missing required property 'securityGroupIds'");
118
+ }
119
+ if ((!args || args.subnetIds === undefined) && !opts.urn) {
120
+ throw new Error("Missing required property 'subnetIds'");
121
+ }
122
+ if ((!args || args.vpcConnectionId === undefined) && !opts.urn) {
123
+ throw new Error("Missing required property 'vpcConnectionId'");
124
+ }
125
+ resourceInputs["awsAccountId"] = args ? args.awsAccountId : undefined;
126
+ resourceInputs["dnsResolvers"] = args ? args.dnsResolvers : undefined;
127
+ resourceInputs["name"] = args ? args.name : undefined;
128
+ resourceInputs["roleArn"] = args ? args.roleArn : undefined;
129
+ resourceInputs["securityGroupIds"] = args ? args.securityGroupIds : undefined;
130
+ resourceInputs["subnetIds"] = args ? args.subnetIds : undefined;
131
+ resourceInputs["tags"] = args ? args.tags : undefined;
132
+ resourceInputs["timeouts"] = args ? args.timeouts : undefined;
133
+ resourceInputs["vpcConnectionId"] = args ? args.vpcConnectionId : undefined;
134
+ resourceInputs["arn"] = undefined /*out*/;
135
+ resourceInputs["availabilityStatus"] = undefined /*out*/;
136
+ resourceInputs["tagsAll"] = undefined /*out*/;
137
+ }
138
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
139
+ super(VpcConnection.__pulumiType, name, resourceInputs, opts);
140
+ }
141
+ }
142
+ exports.VpcConnection = VpcConnection;
143
+ /** @internal */
144
+ VpcConnection.__pulumiType = 'aws:quicksight/vpcConnection:VpcConnection';
145
+ //# sourceMappingURL=vpcConnection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vpcConnection.js","sourceRoot":"","sources":["../../quicksight/vpcConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IA0D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EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AArIL,sCAsIC;AAxHG,gBAAgB;AACO,0BAAY,GAAG,4CAA4C,CAAC"}
@@ -0,0 +1,299 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Resource for managing an AWS RDS (Relational Database) Export Task.
6
+ *
7
+ * ## Example Usage
8
+ * ### Basic Usage
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as aws from "@pulumi/aws";
13
+ *
14
+ * const example = new aws.rds.ExportTask("example", {
15
+ * exportTaskIdentifier: "example",
16
+ * sourceArn: aws_db_snapshot.example.db_snapshot_arn,
17
+ * s3BucketName: aws_s3_bucket.example.id,
18
+ * iamRoleArn: aws_iam_role.example.arn,
19
+ * kmsKeyId: aws_kms_key.example.arn,
20
+ * });
21
+ * ```
22
+ * ### Complete Usage
23
+ *
24
+ * ```typescript
25
+ * import * as pulumi from "@pulumi/pulumi";
26
+ * import * as aws from "@pulumi/aws";
27
+ *
28
+ * const exampleBucketV2 = new aws.s3.BucketV2("exampleBucketV2", {forceDestroy: true});
29
+ * const exampleBucketAclV2 = new aws.s3.BucketAclV2("exampleBucketAclV2", {
30
+ * bucket: exampleBucketV2.id,
31
+ * acl: "private",
32
+ * });
33
+ * const exampleRole = new aws.iam.Role("exampleRole", {assumeRolePolicy: JSON.stringify({
34
+ * Version: "2012-10-17",
35
+ * Statement: [{
36
+ * Action: "sts:AssumeRole",
37
+ * Effect: "Allow",
38
+ * Sid: "",
39
+ * Principal: {
40
+ * Service: "export.rds.amazonaws.com",
41
+ * },
42
+ * }],
43
+ * })});
44
+ * const examplePolicyDocument = aws.iam.getPolicyDocumentOutput({
45
+ * statements: [
46
+ * {
47
+ * actions: ["s3:ListAllMyBuckets"],
48
+ * resources: ["*"],
49
+ * },
50
+ * {
51
+ * actions: [
52
+ * "s3:GetBucketLocation",
53
+ * "s3:ListBucket",
54
+ * ],
55
+ * resources: [exampleBucketV2.arn],
56
+ * },
57
+ * {
58
+ * actions: [
59
+ * "s3:GetObject",
60
+ * "s3:PutObject",
61
+ * "s3:DeleteObject",
62
+ * ],
63
+ * resources: [pulumi.interpolate`${exampleBucketV2.arn}/*`],
64
+ * },
65
+ * ],
66
+ * });
67
+ * const examplePolicy = new aws.iam.Policy("examplePolicy", {policy: examplePolicyDocument.apply(examplePolicyDocument => examplePolicyDocument.json)});
68
+ * const exampleRolePolicyAttachment = new aws.iam.RolePolicyAttachment("exampleRolePolicyAttachment", {
69
+ * role: exampleRole.name,
70
+ * policyArn: examplePolicy.arn,
71
+ * });
72
+ * const exampleKey = new aws.kms.Key("exampleKey", {deletionWindowInDays: 10});
73
+ * const exampleInstance = new aws.rds.Instance("exampleInstance", {
74
+ * identifier: "example",
75
+ * allocatedStorage: 10,
76
+ * dbName: "test",
77
+ * engine: "mysql",
78
+ * engineVersion: "5.7",
79
+ * instanceClass: "db.t3.micro",
80
+ * username: "foo",
81
+ * password: "foobarbaz",
82
+ * parameterGroupName: "default.mysql5.7",
83
+ * skipFinalSnapshot: true,
84
+ * });
85
+ * const exampleSnapshot = new aws.rds.Snapshot("exampleSnapshot", {
86
+ * dbInstanceIdentifier: exampleInstance.identifier,
87
+ * dbSnapshotIdentifier: "example",
88
+ * });
89
+ * const exampleExportTask = new aws.rds.ExportTask("exampleExportTask", {
90
+ * exportTaskIdentifier: "example",
91
+ * sourceArn: exampleSnapshot.dbSnapshotArn,
92
+ * s3BucketName: exampleBucketV2.id,
93
+ * iamRoleArn: exampleRole.arn,
94
+ * kmsKeyId: exampleKey.arn,
95
+ * exportOnlies: ["database"],
96
+ * s3Prefix: "my_prefix/example",
97
+ * });
98
+ * ```
99
+ *
100
+ * ## Import
101
+ *
102
+ * A RDS (Relational Database) Export Task can be imported using the `export_task_identifier`, e.g.,
103
+ *
104
+ * ```sh
105
+ * $ pulumi import aws:rds/exportTask:ExportTask example example
106
+ * ```
107
+ */
108
+ export declare class ExportTask extends pulumi.CustomResource {
109
+ /**
110
+ * Get an existing ExportTask resource's state with the given name, ID, and optional extra
111
+ * properties used to qualify the lookup.
112
+ *
113
+ * @param name The _unique_ name of the resulting resource.
114
+ * @param id The _unique_ provider ID of the resource to lookup.
115
+ * @param state Any extra arguments used during the lookup.
116
+ * @param opts Optional settings to control the behavior of the CustomResource.
117
+ */
118
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ExportTaskState, opts?: pulumi.CustomResourceOptions): ExportTask;
119
+ /**
120
+ * Returns true if the given object is an instance of ExportTask. This is designed to work even
121
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
122
+ */
123
+ static isInstance(obj: any): obj is ExportTask;
124
+ /**
125
+ * Data to be exported from the snapshot. If this parameter is not provided, all the snapshot data is exported. Valid values are documented in the [AWS StartExportTask API documentation](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_StartExportTask.html#API_StartExportTask_RequestParameters).
126
+ */
127
+ readonly exportOnlies: pulumi.Output<string[] | undefined>;
128
+ /**
129
+ * Unique identifier for the snapshot export task.
130
+ */
131
+ readonly exportTaskIdentifier: pulumi.Output<string>;
132
+ /**
133
+ * Reason the export failed, if it failed.
134
+ */
135
+ readonly failureCause: pulumi.Output<string>;
136
+ /**
137
+ * ARN of the IAM role to use for writing to the Amazon S3 bucket.
138
+ */
139
+ readonly iamRoleArn: pulumi.Output<string>;
140
+ /**
141
+ * ID of the Amazon Web Services KMS key to use to encrypt the snapshot.
142
+ */
143
+ readonly kmsKeyId: pulumi.Output<string>;
144
+ /**
145
+ * Progress of the snapshot export task as a percentage.
146
+ */
147
+ readonly percentProgress: pulumi.Output<number>;
148
+ /**
149
+ * Name of the Amazon S3 bucket to export the snapshot to.
150
+ */
151
+ readonly s3BucketName: pulumi.Output<string>;
152
+ /**
153
+ * Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
154
+ */
155
+ readonly s3Prefix: pulumi.Output<string>;
156
+ /**
157
+ * Time that the snapshot was created.
158
+ */
159
+ readonly snapshotTime: pulumi.Output<string>;
160
+ /**
161
+ * Amazon Resource Name (ARN) of the snapshot to export.
162
+ *
163
+ * The following arguments are optional:
164
+ */
165
+ readonly sourceArn: pulumi.Output<string>;
166
+ /**
167
+ * Type of source for the export.
168
+ */
169
+ readonly sourceType: pulumi.Output<string>;
170
+ /**
171
+ * Status of the export task.
172
+ */
173
+ readonly status: pulumi.Output<string>;
174
+ /**
175
+ * Time that the snapshot export task completed.
176
+ */
177
+ readonly taskEndTime: pulumi.Output<string>;
178
+ /**
179
+ * Time that the snapshot export task started.
180
+ */
181
+ readonly taskStartTime: pulumi.Output<string>;
182
+ readonly timeouts: pulumi.Output<outputs.rds.ExportTaskTimeouts | undefined>;
183
+ /**
184
+ * Warning about the snapshot export task, if any.
185
+ */
186
+ readonly warningMessage: pulumi.Output<string>;
187
+ /**
188
+ * Create a ExportTask resource with the given unique name, arguments, and options.
189
+ *
190
+ * @param name The _unique_ name of the resource.
191
+ * @param args The arguments to use to populate this resource's properties.
192
+ * @param opts A bag of options that control this resource's behavior.
193
+ */
194
+ constructor(name: string, args: ExportTaskArgs, opts?: pulumi.CustomResourceOptions);
195
+ }
196
+ /**
197
+ * Input properties used for looking up and filtering ExportTask resources.
198
+ */
199
+ export interface ExportTaskState {
200
+ /**
201
+ * Data to be exported from the snapshot. If this parameter is not provided, all the snapshot data is exported. Valid values are documented in the [AWS StartExportTask API documentation](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_StartExportTask.html#API_StartExportTask_RequestParameters).
202
+ */
203
+ exportOnlies?: pulumi.Input<pulumi.Input<string>[]>;
204
+ /**
205
+ * Unique identifier for the snapshot export task.
206
+ */
207
+ exportTaskIdentifier?: pulumi.Input<string>;
208
+ /**
209
+ * Reason the export failed, if it failed.
210
+ */
211
+ failureCause?: pulumi.Input<string>;
212
+ /**
213
+ * ARN of the IAM role to use for writing to the Amazon S3 bucket.
214
+ */
215
+ iamRoleArn?: pulumi.Input<string>;
216
+ /**
217
+ * ID of the Amazon Web Services KMS key to use to encrypt the snapshot.
218
+ */
219
+ kmsKeyId?: pulumi.Input<string>;
220
+ /**
221
+ * Progress of the snapshot export task as a percentage.
222
+ */
223
+ percentProgress?: pulumi.Input<number>;
224
+ /**
225
+ * Name of the Amazon S3 bucket to export the snapshot to.
226
+ */
227
+ s3BucketName?: pulumi.Input<string>;
228
+ /**
229
+ * Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
230
+ */
231
+ s3Prefix?: pulumi.Input<string>;
232
+ /**
233
+ * Time that the snapshot was created.
234
+ */
235
+ snapshotTime?: pulumi.Input<string>;
236
+ /**
237
+ * Amazon Resource Name (ARN) of the snapshot to export.
238
+ *
239
+ * The following arguments are optional:
240
+ */
241
+ sourceArn?: pulumi.Input<string>;
242
+ /**
243
+ * Type of source for the export.
244
+ */
245
+ sourceType?: pulumi.Input<string>;
246
+ /**
247
+ * Status of the export task.
248
+ */
249
+ status?: pulumi.Input<string>;
250
+ /**
251
+ * Time that the snapshot export task completed.
252
+ */
253
+ taskEndTime?: pulumi.Input<string>;
254
+ /**
255
+ * Time that the snapshot export task started.
256
+ */
257
+ taskStartTime?: pulumi.Input<string>;
258
+ timeouts?: pulumi.Input<inputs.rds.ExportTaskTimeouts>;
259
+ /**
260
+ * Warning about the snapshot export task, if any.
261
+ */
262
+ warningMessage?: pulumi.Input<string>;
263
+ }
264
+ /**
265
+ * The set of arguments for constructing a ExportTask resource.
266
+ */
267
+ export interface ExportTaskArgs {
268
+ /**
269
+ * Data to be exported from the snapshot. If this parameter is not provided, all the snapshot data is exported. Valid values are documented in the [AWS StartExportTask API documentation](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_StartExportTask.html#API_StartExportTask_RequestParameters).
270
+ */
271
+ exportOnlies?: pulumi.Input<pulumi.Input<string>[]>;
272
+ /**
273
+ * Unique identifier for the snapshot export task.
274
+ */
275
+ exportTaskIdentifier: pulumi.Input<string>;
276
+ /**
277
+ * ARN of the IAM role to use for writing to the Amazon S3 bucket.
278
+ */
279
+ iamRoleArn: pulumi.Input<string>;
280
+ /**
281
+ * ID of the Amazon Web Services KMS key to use to encrypt the snapshot.
282
+ */
283
+ kmsKeyId: pulumi.Input<string>;
284
+ /**
285
+ * Name of the Amazon S3 bucket to export the snapshot to.
286
+ */
287
+ s3BucketName: pulumi.Input<string>;
288
+ /**
289
+ * Amazon S3 bucket prefix to use as the file name and path of the exported snapshot.
290
+ */
291
+ s3Prefix?: pulumi.Input<string>;
292
+ /**
293
+ * Amazon Resource Name (ARN) of the snapshot to export.
294
+ *
295
+ * The following arguments are optional:
296
+ */
297
+ sourceArn: pulumi.Input<string>;
298
+ timeouts?: pulumi.Input<inputs.rds.ExportTaskTimeouts>;
299
+ }
@@ -0,0 +1,198 @@
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.ExportTask = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource for managing an AWS RDS (Relational Database) Export Task.
10
+ *
11
+ * ## Example Usage
12
+ * ### Basic Usage
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as aws from "@pulumi/aws";
17
+ *
18
+ * const example = new aws.rds.ExportTask("example", {
19
+ * exportTaskIdentifier: "example",
20
+ * sourceArn: aws_db_snapshot.example.db_snapshot_arn,
21
+ * s3BucketName: aws_s3_bucket.example.id,
22
+ * iamRoleArn: aws_iam_role.example.arn,
23
+ * kmsKeyId: aws_kms_key.example.arn,
24
+ * });
25
+ * ```
26
+ * ### Complete Usage
27
+ *
28
+ * ```typescript
29
+ * import * as pulumi from "@pulumi/pulumi";
30
+ * import * as aws from "@pulumi/aws";
31
+ *
32
+ * const exampleBucketV2 = new aws.s3.BucketV2("exampleBucketV2", {forceDestroy: true});
33
+ * const exampleBucketAclV2 = new aws.s3.BucketAclV2("exampleBucketAclV2", {
34
+ * bucket: exampleBucketV2.id,
35
+ * acl: "private",
36
+ * });
37
+ * const exampleRole = new aws.iam.Role("exampleRole", {assumeRolePolicy: JSON.stringify({
38
+ * Version: "2012-10-17",
39
+ * Statement: [{
40
+ * Action: "sts:AssumeRole",
41
+ * Effect: "Allow",
42
+ * Sid: "",
43
+ * Principal: {
44
+ * Service: "export.rds.amazonaws.com",
45
+ * },
46
+ * }],
47
+ * })});
48
+ * const examplePolicyDocument = aws.iam.getPolicyDocumentOutput({
49
+ * statements: [
50
+ * {
51
+ * actions: ["s3:ListAllMyBuckets"],
52
+ * resources: ["*"],
53
+ * },
54
+ * {
55
+ * actions: [
56
+ * "s3:GetBucketLocation",
57
+ * "s3:ListBucket",
58
+ * ],
59
+ * resources: [exampleBucketV2.arn],
60
+ * },
61
+ * {
62
+ * actions: [
63
+ * "s3:GetObject",
64
+ * "s3:PutObject",
65
+ * "s3:DeleteObject",
66
+ * ],
67
+ * resources: [pulumi.interpolate`${exampleBucketV2.arn}/*`],
68
+ * },
69
+ * ],
70
+ * });
71
+ * const examplePolicy = new aws.iam.Policy("examplePolicy", {policy: examplePolicyDocument.apply(examplePolicyDocument => examplePolicyDocument.json)});
72
+ * const exampleRolePolicyAttachment = new aws.iam.RolePolicyAttachment("exampleRolePolicyAttachment", {
73
+ * role: exampleRole.name,
74
+ * policyArn: examplePolicy.arn,
75
+ * });
76
+ * const exampleKey = new aws.kms.Key("exampleKey", {deletionWindowInDays: 10});
77
+ * const exampleInstance = new aws.rds.Instance("exampleInstance", {
78
+ * identifier: "example",
79
+ * allocatedStorage: 10,
80
+ * dbName: "test",
81
+ * engine: "mysql",
82
+ * engineVersion: "5.7",
83
+ * instanceClass: "db.t3.micro",
84
+ * username: "foo",
85
+ * password: "foobarbaz",
86
+ * parameterGroupName: "default.mysql5.7",
87
+ * skipFinalSnapshot: true,
88
+ * });
89
+ * const exampleSnapshot = new aws.rds.Snapshot("exampleSnapshot", {
90
+ * dbInstanceIdentifier: exampleInstance.identifier,
91
+ * dbSnapshotIdentifier: "example",
92
+ * });
93
+ * const exampleExportTask = new aws.rds.ExportTask("exampleExportTask", {
94
+ * exportTaskIdentifier: "example",
95
+ * sourceArn: exampleSnapshot.dbSnapshotArn,
96
+ * s3BucketName: exampleBucketV2.id,
97
+ * iamRoleArn: exampleRole.arn,
98
+ * kmsKeyId: exampleKey.arn,
99
+ * exportOnlies: ["database"],
100
+ * s3Prefix: "my_prefix/example",
101
+ * });
102
+ * ```
103
+ *
104
+ * ## Import
105
+ *
106
+ * A RDS (Relational Database) Export Task can be imported using the `export_task_identifier`, e.g.,
107
+ *
108
+ * ```sh
109
+ * $ pulumi import aws:rds/exportTask:ExportTask example example
110
+ * ```
111
+ */
112
+ class ExportTask extends pulumi.CustomResource {
113
+ /**
114
+ * Get an existing ExportTask resource's state with the given name, ID, and optional extra
115
+ * properties used to qualify the lookup.
116
+ *
117
+ * @param name The _unique_ name of the resulting resource.
118
+ * @param id The _unique_ provider ID of the resource to lookup.
119
+ * @param state Any extra arguments used during the lookup.
120
+ * @param opts Optional settings to control the behavior of the CustomResource.
121
+ */
122
+ static get(name, id, state, opts) {
123
+ return new ExportTask(name, state, Object.assign(Object.assign({}, opts), { id: id }));
124
+ }
125
+ /**
126
+ * Returns true if the given object is an instance of ExportTask. This is designed to work even
127
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
128
+ */
129
+ static isInstance(obj) {
130
+ if (obj === undefined || obj === null) {
131
+ return false;
132
+ }
133
+ return obj['__pulumiType'] === ExportTask.__pulumiType;
134
+ }
135
+ constructor(name, argsOrState, opts) {
136
+ let resourceInputs = {};
137
+ opts = opts || {};
138
+ if (opts.id) {
139
+ const state = argsOrState;
140
+ resourceInputs["exportOnlies"] = state ? state.exportOnlies : undefined;
141
+ resourceInputs["exportTaskIdentifier"] = state ? state.exportTaskIdentifier : undefined;
142
+ resourceInputs["failureCause"] = state ? state.failureCause : undefined;
143
+ resourceInputs["iamRoleArn"] = state ? state.iamRoleArn : undefined;
144
+ resourceInputs["kmsKeyId"] = state ? state.kmsKeyId : undefined;
145
+ resourceInputs["percentProgress"] = state ? state.percentProgress : undefined;
146
+ resourceInputs["s3BucketName"] = state ? state.s3BucketName : undefined;
147
+ resourceInputs["s3Prefix"] = state ? state.s3Prefix : undefined;
148
+ resourceInputs["snapshotTime"] = state ? state.snapshotTime : undefined;
149
+ resourceInputs["sourceArn"] = state ? state.sourceArn : undefined;
150
+ resourceInputs["sourceType"] = state ? state.sourceType : undefined;
151
+ resourceInputs["status"] = state ? state.status : undefined;
152
+ resourceInputs["taskEndTime"] = state ? state.taskEndTime : undefined;
153
+ resourceInputs["taskStartTime"] = state ? state.taskStartTime : undefined;
154
+ resourceInputs["timeouts"] = state ? state.timeouts : undefined;
155
+ resourceInputs["warningMessage"] = state ? state.warningMessage : undefined;
156
+ }
157
+ else {
158
+ const args = argsOrState;
159
+ if ((!args || args.exportTaskIdentifier === undefined) && !opts.urn) {
160
+ throw new Error("Missing required property 'exportTaskIdentifier'");
161
+ }
162
+ if ((!args || args.iamRoleArn === undefined) && !opts.urn) {
163
+ throw new Error("Missing required property 'iamRoleArn'");
164
+ }
165
+ if ((!args || args.kmsKeyId === undefined) && !opts.urn) {
166
+ throw new Error("Missing required property 'kmsKeyId'");
167
+ }
168
+ if ((!args || args.s3BucketName === undefined) && !opts.urn) {
169
+ throw new Error("Missing required property 's3BucketName'");
170
+ }
171
+ if ((!args || args.sourceArn === undefined) && !opts.urn) {
172
+ throw new Error("Missing required property 'sourceArn'");
173
+ }
174
+ resourceInputs["exportOnlies"] = args ? args.exportOnlies : undefined;
175
+ resourceInputs["exportTaskIdentifier"] = args ? args.exportTaskIdentifier : undefined;
176
+ resourceInputs["iamRoleArn"] = args ? args.iamRoleArn : undefined;
177
+ resourceInputs["kmsKeyId"] = args ? args.kmsKeyId : undefined;
178
+ resourceInputs["s3BucketName"] = args ? args.s3BucketName : undefined;
179
+ resourceInputs["s3Prefix"] = args ? args.s3Prefix : undefined;
180
+ resourceInputs["sourceArn"] = args ? args.sourceArn : undefined;
181
+ resourceInputs["timeouts"] = args ? args.timeouts : undefined;
182
+ resourceInputs["failureCause"] = undefined /*out*/;
183
+ resourceInputs["percentProgress"] = undefined /*out*/;
184
+ resourceInputs["snapshotTime"] = undefined /*out*/;
185
+ resourceInputs["sourceType"] = undefined /*out*/;
186
+ resourceInputs["status"] = undefined /*out*/;
187
+ resourceInputs["taskEndTime"] = undefined /*out*/;
188
+ resourceInputs["taskStartTime"] = undefined /*out*/;
189
+ resourceInputs["warningMessage"] = undefined /*out*/;
190
+ }
191
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
192
+ super(ExportTask.__pulumiType, name, resourceInputs, opts);
193
+ }
194
+ }
195
+ exports.ExportTask = ExportTask;
196
+ /** @internal */
197
+ ExportTask.__pulumiType = 'aws:rds/exportTask:ExportTask';
198
+ //# sourceMappingURL=exportTask.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exportTask.js","sourceRoot":"","sources":["../../rds/exportTask.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuGG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC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,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACxD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA7JL,gCA8JC;AAhJG,gBAAgB;AACO,uBAAY,GAAG,+BAA+B,CAAC"}
package/rds/index.d.ts CHANGED
@@ -24,6 +24,9 @@ export * from "./engineType";
24
24
  export { EventSubscriptionArgs, EventSubscriptionState } from "./eventSubscription";
25
25
  export type EventSubscription = import("./eventSubscription").EventSubscription;
26
26
  export declare const EventSubscription: typeof import("./eventSubscription").EventSubscription;
27
+ export { ExportTaskArgs, ExportTaskState } from "./exportTask";
28
+ export type ExportTask = import("./exportTask").ExportTask;
29
+ export declare const ExportTask: typeof import("./exportTask").ExportTask;
27
30
  export { GetCertificateArgs, GetCertificateResult, GetCertificateOutputArgs } from "./getCertificate";
28
31
  export declare const getCertificate: typeof import("./getCertificate").getCertificate;
29
32
  export declare const getCertificateOutput: typeof import("./getCertificate").getCertificateOutput;