@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,130 @@
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 a QuickSight Refresh Schedule.
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.quicksight.RefreshSchedule("example", {
15
+ * dataSetId: "dataset-id",
16
+ * schedule: {
17
+ * refreshType: "FULL_REFRESH",
18
+ * scheduleFrequency: {
19
+ * interval: "HOURLY",
20
+ * },
21
+ * },
22
+ * scheduleId: "schedule-id",
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * A QuickSight Refresh Schedule can be imported using the AWS account ID, data set ID and schedule ID separated by commas (`,`) e.g.,
29
+ *
30
+ * ```sh
31
+ * $ pulumi import aws:quicksight/refreshSchedule:RefreshSchedule example 123456789012,dataset-id,schedule-id
32
+ * ```
33
+ */
34
+ export declare class RefreshSchedule extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing RefreshSchedule resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RefreshScheduleState, opts?: pulumi.CustomResourceOptions): RefreshSchedule;
45
+ /**
46
+ * Returns true if the given object is an instance of RefreshSchedule. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj: any): obj is RefreshSchedule;
50
+ /**
51
+ * Amazon Resource Name (ARN) of the refresh schedule.
52
+ */
53
+ readonly arn: pulumi.Output<string>;
54
+ /**
55
+ * AWS account ID.
56
+ */
57
+ readonly awsAccountId: pulumi.Output<string>;
58
+ /**
59
+ * The ID of the dataset.
60
+ */
61
+ readonly dataSetId: pulumi.Output<string>;
62
+ /**
63
+ * The [refresh schedule](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_RefreshSchedule.html). See schedule
64
+ *
65
+ * The following arguments are optional:
66
+ */
67
+ readonly schedule: pulumi.Output<outputs.quicksight.RefreshScheduleSchedule | undefined>;
68
+ /**
69
+ * The ID of the refresh schedule.
70
+ */
71
+ readonly scheduleId: pulumi.Output<string>;
72
+ /**
73
+ * Create a RefreshSchedule resource with the given unique name, arguments, and options.
74
+ *
75
+ * @param name The _unique_ name of the resource.
76
+ * @param args The arguments to use to populate this resource's properties.
77
+ * @param opts A bag of options that control this resource's behavior.
78
+ */
79
+ constructor(name: string, args: RefreshScheduleArgs, opts?: pulumi.CustomResourceOptions);
80
+ }
81
+ /**
82
+ * Input properties used for looking up and filtering RefreshSchedule resources.
83
+ */
84
+ export interface RefreshScheduleState {
85
+ /**
86
+ * Amazon Resource Name (ARN) of the refresh schedule.
87
+ */
88
+ arn?: pulumi.Input<string>;
89
+ /**
90
+ * AWS account ID.
91
+ */
92
+ awsAccountId?: pulumi.Input<string>;
93
+ /**
94
+ * The ID of the dataset.
95
+ */
96
+ dataSetId?: pulumi.Input<string>;
97
+ /**
98
+ * The [refresh schedule](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_RefreshSchedule.html). See schedule
99
+ *
100
+ * The following arguments are optional:
101
+ */
102
+ schedule?: pulumi.Input<inputs.quicksight.RefreshScheduleSchedule>;
103
+ /**
104
+ * The ID of the refresh schedule.
105
+ */
106
+ scheduleId?: pulumi.Input<string>;
107
+ }
108
+ /**
109
+ * The set of arguments for constructing a RefreshSchedule resource.
110
+ */
111
+ export interface RefreshScheduleArgs {
112
+ /**
113
+ * AWS account ID.
114
+ */
115
+ awsAccountId?: pulumi.Input<string>;
116
+ /**
117
+ * The ID of the dataset.
118
+ */
119
+ dataSetId: pulumi.Input<string>;
120
+ /**
121
+ * The [refresh schedule](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_RefreshSchedule.html). See schedule
122
+ *
123
+ * The following arguments are optional:
124
+ */
125
+ schedule?: pulumi.Input<inputs.quicksight.RefreshScheduleSchedule>;
126
+ /**
127
+ * The ID of the refresh schedule.
128
+ */
129
+ scheduleId: pulumi.Input<string>;
130
+ }
@@ -0,0 +1,93 @@
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.RefreshSchedule = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource for managing a QuickSight Refresh Schedule.
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.quicksight.RefreshSchedule("example", {
19
+ * dataSetId: "dataset-id",
20
+ * schedule: {
21
+ * refreshType: "FULL_REFRESH",
22
+ * scheduleFrequency: {
23
+ * interval: "HOURLY",
24
+ * },
25
+ * },
26
+ * scheduleId: "schedule-id",
27
+ * });
28
+ * ```
29
+ *
30
+ * ## Import
31
+ *
32
+ * A QuickSight Refresh Schedule can be imported using the AWS account ID, data set ID and schedule ID separated by commas (`,`) e.g.,
33
+ *
34
+ * ```sh
35
+ * $ pulumi import aws:quicksight/refreshSchedule:RefreshSchedule example 123456789012,dataset-id,schedule-id
36
+ * ```
37
+ */
38
+ class RefreshSchedule extends pulumi.CustomResource {
39
+ /**
40
+ * Get an existing RefreshSchedule resource's state with the given name, ID, and optional extra
41
+ * properties used to qualify the lookup.
42
+ *
43
+ * @param name The _unique_ name of the resulting resource.
44
+ * @param id The _unique_ provider ID of the resource to lookup.
45
+ * @param state Any extra arguments used during the lookup.
46
+ * @param opts Optional settings to control the behavior of the CustomResource.
47
+ */
48
+ static get(name, id, state, opts) {
49
+ return new RefreshSchedule(name, state, Object.assign(Object.assign({}, opts), { id: id }));
50
+ }
51
+ /**
52
+ * Returns true if the given object is an instance of RefreshSchedule. This is designed to work even
53
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
54
+ */
55
+ static isInstance(obj) {
56
+ if (obj === undefined || obj === null) {
57
+ return false;
58
+ }
59
+ return obj['__pulumiType'] === RefreshSchedule.__pulumiType;
60
+ }
61
+ constructor(name, argsOrState, opts) {
62
+ let resourceInputs = {};
63
+ opts = opts || {};
64
+ if (opts.id) {
65
+ const state = argsOrState;
66
+ resourceInputs["arn"] = state ? state.arn : undefined;
67
+ resourceInputs["awsAccountId"] = state ? state.awsAccountId : undefined;
68
+ resourceInputs["dataSetId"] = state ? state.dataSetId : undefined;
69
+ resourceInputs["schedule"] = state ? state.schedule : undefined;
70
+ resourceInputs["scheduleId"] = state ? state.scheduleId : undefined;
71
+ }
72
+ else {
73
+ const args = argsOrState;
74
+ if ((!args || args.dataSetId === undefined) && !opts.urn) {
75
+ throw new Error("Missing required property 'dataSetId'");
76
+ }
77
+ if ((!args || args.scheduleId === undefined) && !opts.urn) {
78
+ throw new Error("Missing required property 'scheduleId'");
79
+ }
80
+ resourceInputs["awsAccountId"] = args ? args.awsAccountId : undefined;
81
+ resourceInputs["dataSetId"] = args ? args.dataSetId : undefined;
82
+ resourceInputs["schedule"] = args ? args.schedule : undefined;
83
+ resourceInputs["scheduleId"] = args ? args.scheduleId : undefined;
84
+ resourceInputs["arn"] = undefined /*out*/;
85
+ }
86
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
87
+ super(RefreshSchedule.__pulumiType, name, resourceInputs, opts);
88
+ }
89
+ }
90
+ exports.RefreshSchedule = RefreshSchedule;
91
+ /** @internal */
92
+ RefreshSchedule.__pulumiType = 'aws:quicksight/refreshSchedule:RefreshSchedule';
93
+ //# sourceMappingURL=refreshSchedule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"refreshSchedule.js","sourceRoot":"","sources":["../../quicksight/refreshSchedule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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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IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,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,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AArFL,0CAsFC;AAxEG,gBAAgB;AACO,4BAAY,GAAG,gDAAgD,CAAC"}
@@ -0,0 +1,123 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Resource for managing an AWS QuickSight Template Alias.
4
+ *
5
+ * ## Example Usage
6
+ * ### Basic Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as aws from "@pulumi/aws";
11
+ *
12
+ * const example = new aws.quicksight.TemplateAlias("example", {
13
+ * aliasName: "example-alias",
14
+ * templateId: aws_quicksight_template.test.template_id,
15
+ * templateVersionNumber: aws_quicksight_template.test.version_number,
16
+ * });
17
+ * ```
18
+ *
19
+ * ## Import
20
+ *
21
+ * QuickSight Template Alias can be imported using the AWS account ID, template ID, and alias name separated by a comma (`,`) e.g.,
22
+ *
23
+ * ```sh
24
+ * $ pulumi import aws:quicksight/templateAlias:TemplateAlias example 123456789012,example-id,example-alias
25
+ * ```
26
+ */
27
+ export declare class TemplateAlias extends pulumi.CustomResource {
28
+ /**
29
+ * Get an existing TemplateAlias resource's state with the given name, ID, and optional extra
30
+ * properties used to qualify the lookup.
31
+ *
32
+ * @param name The _unique_ name of the resulting resource.
33
+ * @param id The _unique_ provider ID of the resource to lookup.
34
+ * @param state Any extra arguments used during the lookup.
35
+ * @param opts Optional settings to control the behavior of the CustomResource.
36
+ */
37
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TemplateAliasState, opts?: pulumi.CustomResourceOptions): TemplateAlias;
38
+ /**
39
+ * Returns true if the given object is an instance of TemplateAlias. This is designed to work even
40
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
41
+ */
42
+ static isInstance(obj: any): obj is TemplateAlias;
43
+ /**
44
+ * Display name of the template alias.
45
+ */
46
+ readonly aliasName: pulumi.Output<string>;
47
+ /**
48
+ * Amazon Resource Name (ARN) of the template alias.
49
+ */
50
+ readonly arn: pulumi.Output<string>;
51
+ /**
52
+ * AWS account ID.
53
+ */
54
+ readonly awsAccountId: pulumi.Output<string>;
55
+ /**
56
+ * ID of the template.
57
+ */
58
+ readonly templateId: pulumi.Output<string>;
59
+ /**
60
+ * Version number of the template.
61
+ *
62
+ * The following arguments are optional:
63
+ */
64
+ readonly templateVersionNumber: pulumi.Output<number>;
65
+ /**
66
+ * Create a TemplateAlias resource with the given unique name, arguments, and options.
67
+ *
68
+ * @param name The _unique_ name of the resource.
69
+ * @param args The arguments to use to populate this resource's properties.
70
+ * @param opts A bag of options that control this resource's behavior.
71
+ */
72
+ constructor(name: string, args: TemplateAliasArgs, opts?: pulumi.CustomResourceOptions);
73
+ }
74
+ /**
75
+ * Input properties used for looking up and filtering TemplateAlias resources.
76
+ */
77
+ export interface TemplateAliasState {
78
+ /**
79
+ * Display name of the template alias.
80
+ */
81
+ aliasName?: pulumi.Input<string>;
82
+ /**
83
+ * Amazon Resource Name (ARN) of the template alias.
84
+ */
85
+ arn?: pulumi.Input<string>;
86
+ /**
87
+ * AWS account ID.
88
+ */
89
+ awsAccountId?: pulumi.Input<string>;
90
+ /**
91
+ * ID of the template.
92
+ */
93
+ templateId?: pulumi.Input<string>;
94
+ /**
95
+ * Version number of the template.
96
+ *
97
+ * The following arguments are optional:
98
+ */
99
+ templateVersionNumber?: pulumi.Input<number>;
100
+ }
101
+ /**
102
+ * The set of arguments for constructing a TemplateAlias resource.
103
+ */
104
+ export interface TemplateAliasArgs {
105
+ /**
106
+ * Display name of the template alias.
107
+ */
108
+ aliasName: pulumi.Input<string>;
109
+ /**
110
+ * AWS account ID.
111
+ */
112
+ awsAccountId?: pulumi.Input<string>;
113
+ /**
114
+ * ID of the template.
115
+ */
116
+ templateId: pulumi.Input<string>;
117
+ /**
118
+ * Version number of the template.
119
+ *
120
+ * The following arguments are optional:
121
+ */
122
+ templateVersionNumber: pulumi.Input<number>;
123
+ }
@@ -0,0 +1,91 @@
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.TemplateAlias = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource for managing an AWS QuickSight Template Alias.
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.quicksight.TemplateAlias("example", {
19
+ * aliasName: "example-alias",
20
+ * templateId: aws_quicksight_template.test.template_id,
21
+ * templateVersionNumber: aws_quicksight_template.test.version_number,
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Import
26
+ *
27
+ * QuickSight Template Alias can be imported using the AWS account ID, template ID, and alias name separated by a comma (`,`) e.g.,
28
+ *
29
+ * ```sh
30
+ * $ pulumi import aws:quicksight/templateAlias:TemplateAlias example 123456789012,example-id,example-alias
31
+ * ```
32
+ */
33
+ class TemplateAlias extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing TemplateAlias 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, id, state, opts) {
44
+ return new TemplateAlias(name, state, Object.assign(Object.assign({}, opts), { id: id }));
45
+ }
46
+ /**
47
+ * Returns true if the given object is an instance of TemplateAlias. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj) {
51
+ if (obj === undefined || obj === null) {
52
+ return false;
53
+ }
54
+ return obj['__pulumiType'] === TemplateAlias.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["aliasName"] = state ? state.aliasName : undefined;
62
+ resourceInputs["arn"] = state ? state.arn : undefined;
63
+ resourceInputs["awsAccountId"] = state ? state.awsAccountId : undefined;
64
+ resourceInputs["templateId"] = state ? state.templateId : undefined;
65
+ resourceInputs["templateVersionNumber"] = state ? state.templateVersionNumber : undefined;
66
+ }
67
+ else {
68
+ const args = argsOrState;
69
+ if ((!args || args.aliasName === undefined) && !opts.urn) {
70
+ throw new Error("Missing required property 'aliasName'");
71
+ }
72
+ if ((!args || args.templateId === undefined) && !opts.urn) {
73
+ throw new Error("Missing required property 'templateId'");
74
+ }
75
+ if ((!args || args.templateVersionNumber === undefined) && !opts.urn) {
76
+ throw new Error("Missing required property 'templateVersionNumber'");
77
+ }
78
+ resourceInputs["aliasName"] = args ? args.aliasName : undefined;
79
+ resourceInputs["awsAccountId"] = args ? args.awsAccountId : undefined;
80
+ resourceInputs["templateId"] = args ? args.templateId : undefined;
81
+ resourceInputs["templateVersionNumber"] = args ? args.templateVersionNumber : undefined;
82
+ resourceInputs["arn"] = undefined /*out*/;
83
+ }
84
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
85
+ super(TemplateAlias.__pulumiType, name, resourceInputs, opts);
86
+ }
87
+ }
88
+ exports.TemplateAlias = TemplateAlias;
89
+ /** @internal */
90
+ TemplateAlias.__pulumiType = 'aws:quicksight/templateAlias:TemplateAlias';
91
+ //# sourceMappingURL=templateAlias.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"templateAlias.js","sourceRoot":"","sources":["../../quicksight/templateAlias.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;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;IAiCD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC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AC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAxFL,sCAyFC;AA3EG,gBAAgB;AACO,0BAAY,GAAG,4CAA4C,CAAC"}
@@ -0,0 +1,236 @@
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 QuickSight VPC Connection.
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 vpcConnectionRole = new aws.iam.Role("vpcConnectionRole", {
15
+ * assumeRolePolicy: JSON.stringify({
16
+ * Version: "2012-10-17",
17
+ * Statement: [{
18
+ * Effect: "Allow",
19
+ * Action: "sts:AssumeRole",
20
+ * Principal: {
21
+ * Service: "quicksight.amazonaws.com",
22
+ * },
23
+ * }],
24
+ * }),
25
+ * inlinePolicies: [{
26
+ * name: "QuickSightVPCConnectionRolePolicy",
27
+ * policy: JSON.stringify({
28
+ * Version: "2012-10-17",
29
+ * Statement: [{
30
+ * Effect: "Allow",
31
+ * Action: [
32
+ * "ec2:CreateNetworkInterface",
33
+ * "ec2:ModifyNetworkInterfaceAttribute",
34
+ * "ec2:DeleteNetworkInterface",
35
+ * "ec2:DescribeSubnets",
36
+ * "ec2:DescribeSecurityGroups",
37
+ * ],
38
+ * Resource: ["*"],
39
+ * }],
40
+ * }),
41
+ * }],
42
+ * });
43
+ * const example = new aws.quicksight.VpcConnection("example", {
44
+ * vpcConnectionId: "example-connection-id",
45
+ * name: "Example Connection",
46
+ * roleArn: vpcConnectionRole.arn,
47
+ * securityGroupIds: ["sg-00000000000000000"],
48
+ * subnetIds: [
49
+ * "subnet-00000000000000000",
50
+ * "subnet-00000000000000001",
51
+ * ],
52
+ * });
53
+ * ```
54
+ *
55
+ * ## Import
56
+ *
57
+ * QuickSight VPC connection can be imported using the AWS account ID and VPC connection ID separated by commas (`,`) e.g.,
58
+ *
59
+ * ```sh
60
+ * $ pulumi import aws:quicksight/vpcConnection:VpcConnection example 123456789012,example
61
+ * ```
62
+ */
63
+ export declare class VpcConnection extends pulumi.CustomResource {
64
+ /**
65
+ * Get an existing VpcConnection resource's state with the given name, ID, and optional extra
66
+ * properties used to qualify the lookup.
67
+ *
68
+ * @param name The _unique_ name of the resulting resource.
69
+ * @param id The _unique_ provider ID of the resource to lookup.
70
+ * @param state Any extra arguments used during the lookup.
71
+ * @param opts Optional settings to control the behavior of the CustomResource.
72
+ */
73
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VpcConnectionState, opts?: pulumi.CustomResourceOptions): VpcConnection;
74
+ /**
75
+ * Returns true if the given object is an instance of VpcConnection. This is designed to work even
76
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
77
+ */
78
+ static isInstance(obj: any): obj is VpcConnection;
79
+ /**
80
+ * ARN of the VPC connection.
81
+ */
82
+ readonly arn: pulumi.Output<string>;
83
+ /**
84
+ * The availability status of the VPC connection. Valid values are `AVAILABLE`, `UNAVAILABLE` or `PARTIALLY_AVAILABLE`.
85
+ */
86
+ readonly availabilityStatus: pulumi.Output<string>;
87
+ /**
88
+ * AWS account ID.
89
+ */
90
+ readonly awsAccountId: pulumi.Output<string>;
91
+ /**
92
+ * A list of IP addresses of DNS resolver endpoints for the VPC connection.
93
+ */
94
+ readonly dnsResolvers: pulumi.Output<string[] | undefined>;
95
+ /**
96
+ * The display name for the VPC connection.
97
+ */
98
+ readonly name: pulumi.Output<string>;
99
+ /**
100
+ * The IAM role to associate with the VPC connection.
101
+ */
102
+ readonly roleArn: pulumi.Output<string>;
103
+ /**
104
+ * A list of security group IDs for the VPC connection.
105
+ */
106
+ readonly securityGroupIds: pulumi.Output<string[]>;
107
+ /**
108
+ * A list of subnet IDs for the VPC connection.
109
+ *
110
+ * The following arguments are optional:
111
+ */
112
+ readonly subnetIds: pulumi.Output<string[]>;
113
+ /**
114
+ * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
115
+ */
116
+ readonly tags: pulumi.Output<{
117
+ [key: string]: string;
118
+ } | undefined>;
119
+ /**
120
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
121
+ */
122
+ readonly tagsAll: pulumi.Output<{
123
+ [key: string]: string;
124
+ }>;
125
+ readonly timeouts: pulumi.Output<outputs.quicksight.VpcConnectionTimeouts | undefined>;
126
+ /**
127
+ * The ID of the VPC connection.
128
+ */
129
+ readonly vpcConnectionId: pulumi.Output<string>;
130
+ /**
131
+ * Create a VpcConnection resource with the given unique name, arguments, and options.
132
+ *
133
+ * @param name The _unique_ name of the resource.
134
+ * @param args The arguments to use to populate this resource's properties.
135
+ * @param opts A bag of options that control this resource's behavior.
136
+ */
137
+ constructor(name: string, args: VpcConnectionArgs, opts?: pulumi.CustomResourceOptions);
138
+ }
139
+ /**
140
+ * Input properties used for looking up and filtering VpcConnection resources.
141
+ */
142
+ export interface VpcConnectionState {
143
+ /**
144
+ * ARN of the VPC connection.
145
+ */
146
+ arn?: pulumi.Input<string>;
147
+ /**
148
+ * The availability status of the VPC connection. Valid values are `AVAILABLE`, `UNAVAILABLE` or `PARTIALLY_AVAILABLE`.
149
+ */
150
+ availabilityStatus?: pulumi.Input<string>;
151
+ /**
152
+ * AWS account ID.
153
+ */
154
+ awsAccountId?: pulumi.Input<string>;
155
+ /**
156
+ * A list of IP addresses of DNS resolver endpoints for the VPC connection.
157
+ */
158
+ dnsResolvers?: pulumi.Input<pulumi.Input<string>[]>;
159
+ /**
160
+ * The display name for the VPC connection.
161
+ */
162
+ name?: pulumi.Input<string>;
163
+ /**
164
+ * The IAM role to associate with the VPC connection.
165
+ */
166
+ roleArn?: pulumi.Input<string>;
167
+ /**
168
+ * A list of security group IDs for the VPC connection.
169
+ */
170
+ securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
171
+ /**
172
+ * A list of subnet IDs for the VPC connection.
173
+ *
174
+ * The following arguments are optional:
175
+ */
176
+ subnetIds?: pulumi.Input<pulumi.Input<string>[]>;
177
+ /**
178
+ * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
179
+ */
180
+ tags?: pulumi.Input<{
181
+ [key: string]: pulumi.Input<string>;
182
+ }>;
183
+ /**
184
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
185
+ */
186
+ tagsAll?: pulumi.Input<{
187
+ [key: string]: pulumi.Input<string>;
188
+ }>;
189
+ timeouts?: pulumi.Input<inputs.quicksight.VpcConnectionTimeouts>;
190
+ /**
191
+ * The ID of the VPC connection.
192
+ */
193
+ vpcConnectionId?: pulumi.Input<string>;
194
+ }
195
+ /**
196
+ * The set of arguments for constructing a VpcConnection resource.
197
+ */
198
+ export interface VpcConnectionArgs {
199
+ /**
200
+ * AWS account ID.
201
+ */
202
+ awsAccountId?: pulumi.Input<string>;
203
+ /**
204
+ * A list of IP addresses of DNS resolver endpoints for the VPC connection.
205
+ */
206
+ dnsResolvers?: pulumi.Input<pulumi.Input<string>[]>;
207
+ /**
208
+ * The display name for the VPC connection.
209
+ */
210
+ name: pulumi.Input<string>;
211
+ /**
212
+ * The IAM role to associate with the VPC connection.
213
+ */
214
+ roleArn: pulumi.Input<string>;
215
+ /**
216
+ * A list of security group IDs for the VPC connection.
217
+ */
218
+ securityGroupIds: pulumi.Input<pulumi.Input<string>[]>;
219
+ /**
220
+ * A list of subnet IDs for the VPC connection.
221
+ *
222
+ * The following arguments are optional:
223
+ */
224
+ subnetIds: pulumi.Input<pulumi.Input<string>[]>;
225
+ /**
226
+ * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
227
+ */
228
+ tags?: pulumi.Input<{
229
+ [key: string]: pulumi.Input<string>;
230
+ }>;
231
+ timeouts?: pulumi.Input<inputs.quicksight.VpcConnectionTimeouts>;
232
+ /**
233
+ * The ID of the VPC connection.
234
+ */
235
+ vpcConnectionId: pulumi.Input<string>;
236
+ }