@pulumi/aws 7.4.0-alpha.1755086162 → 7.4.0-alpha.1755095636

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 (109) hide show
  1. package/appsync/sourceApiAssociation.d.ts +6 -6
  2. package/appsync/sourceApiAssociation.js +2 -2
  3. package/batch/computeEnvironment.d.ts +1 -1
  4. package/bedrock/guardrail.d.ts +8 -0
  5. package/bedrock/guardrail.js +8 -0
  6. package/bedrock/guardrail.js.map +1 -1
  7. package/bedrock/inferenceProfile.d.ts +1 -1
  8. package/bedrock/inferenceProfile.js +1 -1
  9. package/cloudfront/function.d.ts +3 -3
  10. package/cloudfront/keyvaluestoreKey.d.ts +1 -1
  11. package/cloudfront/keyvaluestoreKey.js +1 -1
  12. package/cloudwatch/logAnomalyDetector.d.ts +1 -1
  13. package/cloudwatch/logAnomalyDetector.js +1 -1
  14. package/computeoptimizer/recommendationPreferences.d.ts +3 -3
  15. package/docdb/cluster.d.ts +12 -0
  16. package/docdb/cluster.js +2 -0
  17. package/docdb/cluster.js.map +1 -1
  18. package/dynamodb/resourcePolicy.d.ts +1 -1
  19. package/dynamodb/resourcePolicy.js +1 -1
  20. package/ebs/fastSnapshotRestore.d.ts +1 -1
  21. package/ebs/fastSnapshotRestore.js +1 -1
  22. package/ec2/instance.d.ts +12 -0
  23. package/ec2/instance.js +2 -0
  24. package/ec2/instance.js.map +1 -1
  25. package/ec2/spotInstanceRequest.d.ts +12 -0
  26. package/ec2/spotInstanceRequest.js +2 -0
  27. package/ec2/spotInstanceRequest.js.map +1 -1
  28. package/ecr/repository.d.ts +37 -3
  29. package/ecr/repository.js +24 -0
  30. package/ecr/repository.js.map +1 -1
  31. package/eks/getClusterVersions.d.ts +9 -0
  32. package/eks/getClusterVersions.js +6 -0
  33. package/eks/getClusterVersions.js.map +1 -1
  34. package/emr/cluster.d.ts +6 -0
  35. package/emr/cluster.js.map +1 -1
  36. package/globalaccelerator/crossAccountAttachment.d.ts +1 -1
  37. package/globalaccelerator/crossAccountAttachment.js +1 -1
  38. package/imagebuilder/workflow.d.ts +1 -1
  39. package/imagebuilder/workflow.js +1 -1
  40. package/inspector2/enabler.d.ts +8 -0
  41. package/inspector2/enabler.js +8 -0
  42. package/inspector2/enabler.js.map +1 -1
  43. package/inspector2/filter.d.ts +1 -1
  44. package/inspector2/filter.js +1 -1
  45. package/lakeformation/dataCellsFilter.d.ts +1 -1
  46. package/lakeformation/dataCellsFilter.js +1 -1
  47. package/networkfirewall/index.d.ts +3 -0
  48. package/networkfirewall/index.js +6 -1
  49. package/networkfirewall/index.js.map +1 -1
  50. package/networkfirewall/vpcEndpointAssociation.d.ts +188 -0
  51. package/networkfirewall/vpcEndpointAssociation.js +108 -0
  52. package/networkfirewall/vpcEndpointAssociation.js.map +1 -0
  53. package/opensearch/authorizeVpcEndpointAccess.d.ts +1 -1
  54. package/opensearch/authorizeVpcEndpointAccess.js +1 -1
  55. package/opensearch/domainPolicy.d.ts +8 -0
  56. package/opensearch/domainPolicy.js +8 -0
  57. package/opensearch/domainPolicy.js.map +1 -1
  58. package/package.json +2 -2
  59. package/quicksight/customPermissions.d.ts +143 -0
  60. package/quicksight/customPermissions.js +86 -0
  61. package/quicksight/customPermissions.js.map +1 -0
  62. package/quicksight/getDataSet.d.ts +0 -6
  63. package/quicksight/getDataSet.js.map +1 -1
  64. package/quicksight/getQuicksightAnalysis.d.ts +0 -6
  65. package/quicksight/getQuicksightAnalysis.js.map +1 -1
  66. package/quicksight/getQuicksightGroup.d.ts +0 -6
  67. package/quicksight/getQuicksightGroup.js.map +1 -1
  68. package/quicksight/getQuicksightUser.d.ts +4 -6
  69. package/quicksight/getQuicksightUser.js.map +1 -1
  70. package/quicksight/getTheme.d.ts +0 -6
  71. package/quicksight/getTheme.js.map +1 -1
  72. package/quicksight/index.d.ts +9 -0
  73. package/quicksight/index.js +16 -1
  74. package/quicksight/index.js.map +1 -1
  75. package/quicksight/roleCustomPermission.d.ts +116 -0
  76. package/quicksight/roleCustomPermission.js +86 -0
  77. package/quicksight/roleCustomPermission.js.map +1 -0
  78. package/quicksight/user.d.ts +7 -7
  79. package/quicksight/userCustomPermission.d.ts +116 -0
  80. package/quicksight/userCustomPermission.js +86 -0
  81. package/quicksight/userCustomPermission.js.map +1 -0
  82. package/rds/instanceDesiredState.d.ts +1 -1
  83. package/rds/instanceDesiredState.js +1 -1
  84. package/rekognition/collection.d.ts +1 -1
  85. package/rekognition/collection.js +1 -1
  86. package/route53/profilesAssociation.d.ts +1 -1
  87. package/route53/profilesAssociation.js +1 -1
  88. package/route53/profilesProfile.d.ts +1 -1
  89. package/route53/profilesProfile.js +1 -1
  90. package/route53/profilesResourceAssociation.d.ts +1 -1
  91. package/route53/profilesResourceAssociation.js +1 -1
  92. package/securityhub/standardsSubscription.d.ts +9 -3
  93. package/securityhub/standardsSubscription.js.map +1 -1
  94. package/sesv2/emailIdentityPolicy.d.ts +1 -1
  95. package/sesv2/emailIdentityPolicy.js +1 -1
  96. package/types/input.d.ts +549 -3
  97. package/types/input.js.map +1 -1
  98. package/types/output.d.ts +549 -3
  99. package/types/output.js.map +1 -1
  100. package/wafv2/getWebAcl.d.ts +50 -5
  101. package/wafv2/getWebAcl.js +38 -0
  102. package/wafv2/getWebAcl.js.map +1 -1
  103. package/wafv2/index.d.ts +3 -0
  104. package/wafv2/index.js +6 -1
  105. package/wafv2/index.js.map +1 -1
  106. package/wafv2/regexPatternSet.d.ts +3 -3
  107. package/wafv2/webAclRuleGroupAssociation.d.ts +482 -0
  108. package/wafv2/webAclRuleGroupAssociation.js +423 -0
  109. package/wafv2/webAclRuleGroupAssociation.js.map +1 -0
@@ -0,0 +1,188 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Manages a firewall endpoint for an AWS Network Firewall firewall.
6
+ *
7
+ * Use `aws.networkfirewall.VpcEndpointAssociation` to establish new firewall endpoints in any Availability Zone where the firewall is already being used. The first use of a firewall in an Availability Zone must be defined by `aws.networkfirewall.Firewall` resource and `subnetMapping` argument.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ### Basic Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const example = new aws.networkfirewall.VpcEndpointAssociation("example", {
18
+ * firewallArn: exampleAwsNetworkfirewallFirewall.arn,
19
+ * vpcId: exampleAwsVpc.id,
20
+ * subnetMapping: {
21
+ * subnetId: exampleTwo.id,
22
+ * },
23
+ * tags: {
24
+ * Name: "example endpoint",
25
+ * },
26
+ * });
27
+ * ```
28
+ *
29
+ * ## Import
30
+ *
31
+ * Using `pulumi import`, import Network Firewall VPC Endpoint Association using the `vpc_endpoint_association_arn`. For example:
32
+ *
33
+ * ```sh
34
+ * $ pulumi import aws:networkfirewall/vpcEndpointAssociation:VpcEndpointAssociation example arn:aws:network-firewall:us-west-1:123456789012:vpc-endpoint-association/example
35
+ * ```
36
+ */
37
+ export declare class VpcEndpointAssociation extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing VpcEndpointAssociation resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param state Any extra arguments used during the lookup.
45
+ * @param opts Optional settings to control the behavior of the CustomResource.
46
+ */
47
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VpcEndpointAssociationState, opts?: pulumi.CustomResourceOptions): VpcEndpointAssociation;
48
+ /**
49
+ * Returns true if the given object is an instance of VpcEndpointAssociation. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj: any): obj is VpcEndpointAssociation;
53
+ /**
54
+ * A description of the VPC endpoint association.
55
+ */
56
+ readonly description: pulumi.Output<string | undefined>;
57
+ /**
58
+ * The Amazon Resource Name (ARN) that identifies the firewall.
59
+ */
60
+ readonly firewallArn: pulumi.Output<string>;
61
+ /**
62
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
63
+ */
64
+ readonly region: pulumi.Output<string>;
65
+ /**
66
+ * The ID for a subnet that's used in an association with a firewall. See Subnet Mapping below for details.
67
+ */
68
+ readonly subnetMapping: pulumi.Output<outputs.networkfirewall.VpcEndpointAssociationSubnetMapping | undefined>;
69
+ /**
70
+ * Map of resource tags to associate with the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
71
+ */
72
+ readonly tags: pulumi.Output<{
73
+ [key: string]: string;
74
+ } | undefined>;
75
+ /**
76
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
77
+ */
78
+ readonly tagsAll: pulumi.Output<{
79
+ [key: string]: string;
80
+ }>;
81
+ readonly timeouts: pulumi.Output<outputs.networkfirewall.VpcEndpointAssociationTimeouts | undefined>;
82
+ /**
83
+ * ARN of the VPC Endpoint Association.
84
+ */
85
+ readonly vpcEndpointAssociationArn: pulumi.Output<string>;
86
+ /**
87
+ * The unique identifier of the VPC endpoint association.
88
+ */
89
+ readonly vpcEndpointAssociationId: pulumi.Output<string>;
90
+ /**
91
+ * Nested list of information about the current status of the VPC Endpoint Association.
92
+ */
93
+ readonly vpcEndpointAssociationStatuses: pulumi.Output<outputs.networkfirewall.VpcEndpointAssociationVpcEndpointAssociationStatus[]>;
94
+ /**
95
+ * The unique identifier of the VPC for the endpoint association.
96
+ */
97
+ readonly vpcId: pulumi.Output<string>;
98
+ /**
99
+ * Create a VpcEndpointAssociation resource with the given unique name, arguments, and options.
100
+ *
101
+ * @param name The _unique_ name of the resource.
102
+ * @param args The arguments to use to populate this resource's properties.
103
+ * @param opts A bag of options that control this resource's behavior.
104
+ */
105
+ constructor(name: string, args: VpcEndpointAssociationArgs, opts?: pulumi.CustomResourceOptions);
106
+ }
107
+ /**
108
+ * Input properties used for looking up and filtering VpcEndpointAssociation resources.
109
+ */
110
+ export interface VpcEndpointAssociationState {
111
+ /**
112
+ * A description of the VPC endpoint association.
113
+ */
114
+ description?: pulumi.Input<string>;
115
+ /**
116
+ * The Amazon Resource Name (ARN) that identifies the firewall.
117
+ */
118
+ firewallArn?: pulumi.Input<string>;
119
+ /**
120
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
121
+ */
122
+ region?: pulumi.Input<string>;
123
+ /**
124
+ * The ID for a subnet that's used in an association with a firewall. See Subnet Mapping below for details.
125
+ */
126
+ subnetMapping?: pulumi.Input<inputs.networkfirewall.VpcEndpointAssociationSubnetMapping>;
127
+ /**
128
+ * Map of resource tags to associate with the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
129
+ */
130
+ tags?: pulumi.Input<{
131
+ [key: string]: pulumi.Input<string>;
132
+ }>;
133
+ /**
134
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
135
+ */
136
+ tagsAll?: pulumi.Input<{
137
+ [key: string]: pulumi.Input<string>;
138
+ }>;
139
+ timeouts?: pulumi.Input<inputs.networkfirewall.VpcEndpointAssociationTimeouts>;
140
+ /**
141
+ * ARN of the VPC Endpoint Association.
142
+ */
143
+ vpcEndpointAssociationArn?: pulumi.Input<string>;
144
+ /**
145
+ * The unique identifier of the VPC endpoint association.
146
+ */
147
+ vpcEndpointAssociationId?: pulumi.Input<string>;
148
+ /**
149
+ * Nested list of information about the current status of the VPC Endpoint Association.
150
+ */
151
+ vpcEndpointAssociationStatuses?: pulumi.Input<pulumi.Input<inputs.networkfirewall.VpcEndpointAssociationVpcEndpointAssociationStatus>[]>;
152
+ /**
153
+ * The unique identifier of the VPC for the endpoint association.
154
+ */
155
+ vpcId?: pulumi.Input<string>;
156
+ }
157
+ /**
158
+ * The set of arguments for constructing a VpcEndpointAssociation resource.
159
+ */
160
+ export interface VpcEndpointAssociationArgs {
161
+ /**
162
+ * A description of the VPC endpoint association.
163
+ */
164
+ description?: pulumi.Input<string>;
165
+ /**
166
+ * The Amazon Resource Name (ARN) that identifies the firewall.
167
+ */
168
+ firewallArn: pulumi.Input<string>;
169
+ /**
170
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
171
+ */
172
+ region?: pulumi.Input<string>;
173
+ /**
174
+ * The ID for a subnet that's used in an association with a firewall. See Subnet Mapping below for details.
175
+ */
176
+ subnetMapping?: pulumi.Input<inputs.networkfirewall.VpcEndpointAssociationSubnetMapping>;
177
+ /**
178
+ * Map of resource tags to associate with the resource. 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
+ timeouts?: pulumi.Input<inputs.networkfirewall.VpcEndpointAssociationTimeouts>;
184
+ /**
185
+ * The unique identifier of the VPC for the endpoint association.
186
+ */
187
+ vpcId: pulumi.Input<string>;
188
+ }
@@ -0,0 +1,108 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.VpcEndpointAssociation = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages a firewall endpoint for an AWS Network Firewall firewall.
10
+ *
11
+ * Use `aws.networkfirewall.VpcEndpointAssociation` to establish new firewall endpoints in any Availability Zone where the firewall is already being used. The first use of a firewall in an Availability Zone must be defined by `aws.networkfirewall.Firewall` resource and `subnetMapping` argument.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ### Basic Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as aws from "@pulumi/aws";
20
+ *
21
+ * const example = new aws.networkfirewall.VpcEndpointAssociation("example", {
22
+ * firewallArn: exampleAwsNetworkfirewallFirewall.arn,
23
+ * vpcId: exampleAwsVpc.id,
24
+ * subnetMapping: {
25
+ * subnetId: exampleTwo.id,
26
+ * },
27
+ * tags: {
28
+ * Name: "example endpoint",
29
+ * },
30
+ * });
31
+ * ```
32
+ *
33
+ * ## Import
34
+ *
35
+ * Using `pulumi import`, import Network Firewall VPC Endpoint Association using the `vpc_endpoint_association_arn`. For example:
36
+ *
37
+ * ```sh
38
+ * $ pulumi import aws:networkfirewall/vpcEndpointAssociation:VpcEndpointAssociation example arn:aws:network-firewall:us-west-1:123456789012:vpc-endpoint-association/example
39
+ * ```
40
+ */
41
+ class VpcEndpointAssociation extends pulumi.CustomResource {
42
+ /**
43
+ * Get an existing VpcEndpointAssociation resource's state with the given name, ID, and optional extra
44
+ * properties used to qualify the lookup.
45
+ *
46
+ * @param name The _unique_ name of the resulting resource.
47
+ * @param id The _unique_ provider ID of the resource to lookup.
48
+ * @param state Any extra arguments used during the lookup.
49
+ * @param opts Optional settings to control the behavior of the CustomResource.
50
+ */
51
+ static get(name, id, state, opts) {
52
+ return new VpcEndpointAssociation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
53
+ }
54
+ /**
55
+ * Returns true if the given object is an instance of VpcEndpointAssociation. This is designed to work even
56
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
57
+ */
58
+ static isInstance(obj) {
59
+ if (obj === undefined || obj === null) {
60
+ return false;
61
+ }
62
+ return obj['__pulumiType'] === VpcEndpointAssociation.__pulumiType;
63
+ }
64
+ constructor(name, argsOrState, opts) {
65
+ let resourceInputs = {};
66
+ opts = opts || {};
67
+ if (opts.id) {
68
+ const state = argsOrState;
69
+ resourceInputs["description"] = state ? state.description : undefined;
70
+ resourceInputs["firewallArn"] = state ? state.firewallArn : undefined;
71
+ resourceInputs["region"] = state ? state.region : undefined;
72
+ resourceInputs["subnetMapping"] = state ? state.subnetMapping : undefined;
73
+ resourceInputs["tags"] = state ? state.tags : undefined;
74
+ resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
75
+ resourceInputs["timeouts"] = state ? state.timeouts : undefined;
76
+ resourceInputs["vpcEndpointAssociationArn"] = state ? state.vpcEndpointAssociationArn : undefined;
77
+ resourceInputs["vpcEndpointAssociationId"] = state ? state.vpcEndpointAssociationId : undefined;
78
+ resourceInputs["vpcEndpointAssociationStatuses"] = state ? state.vpcEndpointAssociationStatuses : undefined;
79
+ resourceInputs["vpcId"] = state ? state.vpcId : undefined;
80
+ }
81
+ else {
82
+ const args = argsOrState;
83
+ if ((!args || args.firewallArn === undefined) && !opts.urn) {
84
+ throw new Error("Missing required property 'firewallArn'");
85
+ }
86
+ if ((!args || args.vpcId === undefined) && !opts.urn) {
87
+ throw new Error("Missing required property 'vpcId'");
88
+ }
89
+ resourceInputs["description"] = args ? args.description : undefined;
90
+ resourceInputs["firewallArn"] = args ? args.firewallArn : undefined;
91
+ resourceInputs["region"] = args ? args.region : undefined;
92
+ resourceInputs["subnetMapping"] = args ? args.subnetMapping : undefined;
93
+ resourceInputs["tags"] = args ? args.tags : undefined;
94
+ resourceInputs["timeouts"] = args ? args.timeouts : undefined;
95
+ resourceInputs["vpcId"] = args ? args.vpcId : undefined;
96
+ resourceInputs["tagsAll"] = undefined /*out*/;
97
+ resourceInputs["vpcEndpointAssociationArn"] = undefined /*out*/;
98
+ resourceInputs["vpcEndpointAssociationId"] = undefined /*out*/;
99
+ resourceInputs["vpcEndpointAssociationStatuses"] = undefined /*out*/;
100
+ }
101
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
102
+ super(VpcEndpointAssociation.__pulumiType, name, resourceInputs, opts);
103
+ }
104
+ }
105
+ exports.VpcEndpointAssociation = VpcEndpointAssociation;
106
+ /** @internal */
107
+ VpcEndpointAssociation.__pulumiType = 'aws:networkfirewall/vpcEndpointAssociation:VpcEndpointAssociation';
108
+ //# sourceMappingURL=vpcEndpointAssociation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vpcEndpointAssociation.js","sourceRoot":"","sources":["../../networkfirewall/vpcEndpointAssociation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,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,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IAoDD,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAA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E,IAAI,CAAC,CAAC;IAC3E,CAAC;;AApHL,wDAqHC;AAvGG,gBAAgB;AACO,mCAAY,GAAG,mEAAmE,CAAC"}
@@ -21,7 +21,7 @@ import * as outputs from "../types/output";
21
21
  *
22
22
  * ## Import
23
23
  *
24
- * Using `pulumi import`, import OpenSearch Authorize Vpc Endpoint Access using the `example_id_arg`. For example:
24
+ * Using `pulumi import`, import OpenSearch Authorize Vpc Endpoint Access using the `domain_name`. For example:
25
25
  *
26
26
  * ```sh
27
27
  * $ pulumi import aws:opensearch/authorizeVpcEndpointAccess:AuthorizeVpcEndpointAccess example authorize_vpc_endpoint_access-id-12345678
@@ -25,7 +25,7 @@ const utilities = require("../utilities");
25
25
  *
26
26
  * ## Import
27
27
  *
28
- * Using `pulumi import`, import OpenSearch Authorize Vpc Endpoint Access using the `example_id_arg`. For example:
28
+ * Using `pulumi import`, import OpenSearch Authorize Vpc Endpoint Access using the `domain_name`. For example:
29
29
  *
30
30
  * ```sh
31
31
  * $ pulumi import aws:opensearch/authorizeVpcEndpointAccess:AuthorizeVpcEndpointAccess example authorize_vpc_endpoint_access-id-12345678
@@ -33,6 +33,14 @@ import * as pulumi from "@pulumi/pulumi";
33
33
  * accessPolicies: main.apply(main => main.json),
34
34
  * });
35
35
  * ```
36
+ *
37
+ * ## Import
38
+ *
39
+ * Using `pulumi import`, import OpenSearch Domain Policy using `domain_name` prefixed with `esd-policy-`. For example:
40
+ *
41
+ * ```sh
42
+ * $ pulumi import aws:opensearch/domainPolicy:DomainPolicy example esd-policy-tf-test
43
+ * ```
36
44
  */
37
45
  export declare class DomainPolicy extends pulumi.CustomResource {
38
46
  /**
@@ -39,6 +39,14 @@ const utilities = require("../utilities");
39
39
  * accessPolicies: main.apply(main => main.json),
40
40
  * });
41
41
  * ```
42
+ *
43
+ * ## Import
44
+ *
45
+ * Using `pulumi import`, import OpenSearch Domain Policy using `domain_name` prefixed with `esd-policy-`. For example:
46
+ *
47
+ * ```sh
48
+ * $ pulumi import aws:opensearch/domainPolicy:DomainPolicy example esd-policy-tf-test
49
+ * ```
42
50
  */
43
51
  class DomainPolicy extends pulumi.CustomResource {
44
52
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"domainPolicy.js","sourceRoot":"","sources":["../../opensearch/domainPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAA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AAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAvEL,oCAwEC;AA1DG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/aws",
3
- "version": "7.4.0-alpha.1755086162",
3
+ "version": "7.4.0-alpha.1755095636",
4
4
  "description": "A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -24,6 +24,6 @@
24
24
  "pulumi": {
25
25
  "resource": true,
26
26
  "name": "aws",
27
- "version": "7.4.0-alpha.1755086162"
27
+ "version": "7.4.0-alpha.1755095636"
28
28
  }
29
29
  }
@@ -0,0 +1,143 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Manages a QuickSight custom permissions profile.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * resource "aws.quicksight.CustomPermissions" "example" {
10
+ * customPermissionsName = "example-permissions"
11
+ *
12
+ * capabilities {
13
+ * printReports = "DENY"
14
+ * shareDashboards = "DENY"
15
+ * }
16
+ * }
17
+ *
18
+ * ## Import
19
+ *
20
+ * Using `pulumi import`, import a QuickSight custom permissions profile using the AWS account ID and custom permissions profile name separated by a comma (`,`). For example:
21
+ *
22
+ * ```sh
23
+ * $ pulumi import aws:quicksight/customPermissions:CustomPermissions example 123456789012,example-permissions
24
+ * ```
25
+ */
26
+ export declare class CustomPermissions extends pulumi.CustomResource {
27
+ /**
28
+ * Get an existing CustomPermissions resource's state with the given name, ID, and optional extra
29
+ * properties used to qualify the lookup.
30
+ *
31
+ * @param name The _unique_ name of the resulting resource.
32
+ * @param id The _unique_ provider ID of the resource to lookup.
33
+ * @param state Any extra arguments used during the lookup.
34
+ * @param opts Optional settings to control the behavior of the CustomResource.
35
+ */
36
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CustomPermissionsState, opts?: pulumi.CustomResourceOptions): CustomPermissions;
37
+ /**
38
+ * Returns true if the given object is an instance of CustomPermissions. This is designed to work even
39
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
40
+ */
41
+ static isInstance(obj: any): obj is CustomPermissions;
42
+ /**
43
+ * ARN of the custom permissions profile.
44
+ */
45
+ readonly arn: pulumi.Output<string>;
46
+ readonly awsAccountId: pulumi.Output<string>;
47
+ /**
48
+ * Actions to include in the custom permissions profile. See capabilities.
49
+ */
50
+ readonly capabilities: pulumi.Output<outputs.quicksight.CustomPermissionsCapabilities | undefined>;
51
+ /**
52
+ * Custom permissions profile name.
53
+ *
54
+ * The following arguments are optional:
55
+ */
56
+ readonly customPermissionsName: pulumi.Output<string>;
57
+ /**
58
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
59
+ */
60
+ readonly region: pulumi.Output<string>;
61
+ /**
62
+ * 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.
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.
69
+ */
70
+ readonly tagsAll: pulumi.Output<{
71
+ [key: string]: string;
72
+ }>;
73
+ /**
74
+ * Create a CustomPermissions resource with the given unique name, arguments, and options.
75
+ *
76
+ * @param name The _unique_ name of the resource.
77
+ * @param args The arguments to use to populate this resource's properties.
78
+ * @param opts A bag of options that control this resource's behavior.
79
+ */
80
+ constructor(name: string, args: CustomPermissionsArgs, opts?: pulumi.CustomResourceOptions);
81
+ }
82
+ /**
83
+ * Input properties used for looking up and filtering CustomPermissions resources.
84
+ */
85
+ export interface CustomPermissionsState {
86
+ /**
87
+ * ARN of the custom permissions profile.
88
+ */
89
+ arn?: pulumi.Input<string>;
90
+ awsAccountId?: pulumi.Input<string>;
91
+ /**
92
+ * Actions to include in the custom permissions profile. See capabilities.
93
+ */
94
+ capabilities?: pulumi.Input<inputs.quicksight.CustomPermissionsCapabilities>;
95
+ /**
96
+ * Custom permissions profile name.
97
+ *
98
+ * The following arguments are optional:
99
+ */
100
+ customPermissionsName?: pulumi.Input<string>;
101
+ /**
102
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
103
+ */
104
+ region?: pulumi.Input<string>;
105
+ /**
106
+ * 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.
107
+ */
108
+ tags?: pulumi.Input<{
109
+ [key: string]: pulumi.Input<string>;
110
+ }>;
111
+ /**
112
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
113
+ */
114
+ tagsAll?: pulumi.Input<{
115
+ [key: string]: pulumi.Input<string>;
116
+ }>;
117
+ }
118
+ /**
119
+ * The set of arguments for constructing a CustomPermissions resource.
120
+ */
121
+ export interface CustomPermissionsArgs {
122
+ awsAccountId?: pulumi.Input<string>;
123
+ /**
124
+ * Actions to include in the custom permissions profile. See capabilities.
125
+ */
126
+ capabilities?: pulumi.Input<inputs.quicksight.CustomPermissionsCapabilities>;
127
+ /**
128
+ * Custom permissions profile name.
129
+ *
130
+ * The following arguments are optional:
131
+ */
132
+ customPermissionsName: pulumi.Input<string>;
133
+ /**
134
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
135
+ */
136
+ region?: pulumi.Input<string>;
137
+ /**
138
+ * 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.
139
+ */
140
+ tags?: pulumi.Input<{
141
+ [key: string]: pulumi.Input<string>;
142
+ }>;
143
+ }
@@ -0,0 +1,86 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.CustomPermissions = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages a QuickSight custom permissions profile.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * resource "aws.quicksight.CustomPermissions" "example" {
14
+ * customPermissionsName = "example-permissions"
15
+ *
16
+ * capabilities {
17
+ * printReports = "DENY"
18
+ * shareDashboards = "DENY"
19
+ * }
20
+ * }
21
+ *
22
+ * ## Import
23
+ *
24
+ * Using `pulumi import`, import a QuickSight custom permissions profile using the AWS account ID and custom permissions profile name separated by a comma (`,`). For example:
25
+ *
26
+ * ```sh
27
+ * $ pulumi import aws:quicksight/customPermissions:CustomPermissions example 123456789012,example-permissions
28
+ * ```
29
+ */
30
+ class CustomPermissions extends pulumi.CustomResource {
31
+ /**
32
+ * Get an existing CustomPermissions resource's state with the given name, ID, and optional extra
33
+ * properties used to qualify the lookup.
34
+ *
35
+ * @param name The _unique_ name of the resulting resource.
36
+ * @param id The _unique_ provider ID of the resource to lookup.
37
+ * @param state Any extra arguments used during the lookup.
38
+ * @param opts Optional settings to control the behavior of the CustomResource.
39
+ */
40
+ static get(name, id, state, opts) {
41
+ return new CustomPermissions(name, state, Object.assign(Object.assign({}, opts), { id: id }));
42
+ }
43
+ /**
44
+ * Returns true if the given object is an instance of CustomPermissions. This is designed to work even
45
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
46
+ */
47
+ static isInstance(obj) {
48
+ if (obj === undefined || obj === null) {
49
+ return false;
50
+ }
51
+ return obj['__pulumiType'] === CustomPermissions.__pulumiType;
52
+ }
53
+ constructor(name, argsOrState, opts) {
54
+ let resourceInputs = {};
55
+ opts = opts || {};
56
+ if (opts.id) {
57
+ const state = argsOrState;
58
+ resourceInputs["arn"] = state ? state.arn : undefined;
59
+ resourceInputs["awsAccountId"] = state ? state.awsAccountId : undefined;
60
+ resourceInputs["capabilities"] = state ? state.capabilities : undefined;
61
+ resourceInputs["customPermissionsName"] = state ? state.customPermissionsName : undefined;
62
+ resourceInputs["region"] = state ? state.region : undefined;
63
+ resourceInputs["tags"] = state ? state.tags : undefined;
64
+ resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
65
+ }
66
+ else {
67
+ const args = argsOrState;
68
+ if ((!args || args.customPermissionsName === undefined) && !opts.urn) {
69
+ throw new Error("Missing required property 'customPermissionsName'");
70
+ }
71
+ resourceInputs["awsAccountId"] = args ? args.awsAccountId : undefined;
72
+ resourceInputs["capabilities"] = args ? args.capabilities : undefined;
73
+ resourceInputs["customPermissionsName"] = args ? args.customPermissionsName : undefined;
74
+ resourceInputs["region"] = args ? args.region : undefined;
75
+ resourceInputs["tags"] = args ? args.tags : undefined;
76
+ resourceInputs["arn"] = undefined /*out*/;
77
+ resourceInputs["tagsAll"] = undefined /*out*/;
78
+ }
79
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
80
+ super(CustomPermissions.__pulumiType, name, resourceInputs, opts);
81
+ }
82
+ }
83
+ exports.CustomPermissions = CustomPermissions;
84
+ /** @internal */
85
+ CustomPermissions.__pulumiType = 'aws:quicksight/customPermissions:CustomPermissions';
86
+ //# sourceMappingURL=customPermissions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customPermissions.js","sourceRoot":"","sources":["../../quicksight/customPermissions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;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;IAsCD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KA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,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA3FL,8CA4FC;AA9EG,gBAAgB;AACO,8BAAY,GAAG,oDAAoD,CAAC"}
@@ -21,9 +21,6 @@ export declare function getDataSet(args: GetDataSetArgs, opts?: pulumi.InvokeOpt
21
21
  * A collection of arguments for invoking getDataSet.
22
22
  */
23
23
  export interface GetDataSetArgs {
24
- /**
25
- * AWS account ID.
26
- */
27
24
  awsAccountId?: string;
28
25
  /**
29
26
  * Identifier for the data set.
@@ -85,9 +82,6 @@ export declare function getDataSetOutput(args: GetDataSetOutputArgs, opts?: pulu
85
82
  * A collection of arguments for invoking getDataSet.
86
83
  */
87
84
  export interface GetDataSetOutputArgs {
88
- /**
89
- * AWS account ID.
90
- */
91
85
  awsAccountId?: pulumi.Input<string>;
92
86
  /**
93
87
  * Identifier for the data set.
@@ -1 +1 @@
1
- {"version":3,"file":"getDataSet.js","sourceRoot":"","sources":["../../quicksight/getDataSet.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IA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