@pulumi/aws 7.12.0-alpha.1762435934 → 7.12.0-alpha.1763660660
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/acm/certificate.d.ts +2 -2
- package/acm/certificate.js +2 -2
- package/acmpca/certificate.d.ts +2 -2
- package/acmpca/certificate.js +2 -2
- package/apigateway/account.d.ts +0 -2
- package/apigateway/account.js +0 -2
- package/apigateway/account.js.map +1 -1
- package/appsync/graphQLApi.d.ts +45 -0
- package/appsync/graphQLApi.js +45 -0
- package/appsync/graphQLApi.js.map +1 -1
- package/bedrock/agentAgentAlias.d.ts +55 -0
- package/bedrock/agentAgentAlias.js +55 -0
- package/bedrock/agentAgentAlias.js.map +1 -1
- package/bedrock/agentcoreAgentRuntime.d.ts +2 -2
- package/bedrock/agentcoreAgentRuntime.js +2 -2
- package/bedrock/agentcoreBrowser.d.ts +22 -0
- package/bedrock/agentcoreBrowser.js +22 -0
- package/bedrock/agentcoreBrowser.js.map +1 -1
- package/bedrock/agentcoreGatewayTarget.d.ts +117 -3
- package/bedrock/agentcoreGatewayTarget.js +114 -0
- package/bedrock/agentcoreGatewayTarget.js.map +1 -1
- package/bedrock/agentcoreMemory.d.ts +19 -4
- package/bedrock/agentcoreMemory.js +16 -1
- package/bedrock/agentcoreMemory.js.map +1 -1
- package/bedrock/agentcoreOauth2CredentialProvider.d.ts +20 -0
- package/bedrock/agentcoreOauth2CredentialProvider.js +20 -0
- package/bedrock/agentcoreOauth2CredentialProvider.js.map +1 -1
- package/bedrockmodel/invocationLoggingConfiguration.d.ts +1 -1
- package/bedrockmodel/invocationLoggingConfiguration.js +1 -1
- package/cloudfront/distribution.d.ts +8 -0
- package/cloudfront/distribution.js +2 -0
- package/cloudfront/distribution.js.map +1 -1
- package/cloudhsmv2/cluster.d.ts +36 -0
- package/cloudhsmv2/cluster.js +36 -0
- package/cloudhsmv2/cluster.js.map +1 -1
- package/cloudtrail/trail.d.ts +1 -1
- package/cloudtrail/trail.js +1 -1
- package/cloudwatch/contributorManagedInsightRule.d.ts +11 -0
- package/cloudwatch/contributorManagedInsightRule.js +11 -0
- package/cloudwatch/contributorManagedInsightRule.js.map +1 -1
- package/cloudwatch/logDeliveryDestination.d.ts +21 -5
- package/cloudwatch/logDeliveryDestination.js +13 -1
- package/cloudwatch/logDeliveryDestination.js.map +1 -1
- package/codebuild/webhook.d.ts +1 -1
- package/codebuild/webhook.js +1 -1
- package/codepipeline/webhook.d.ts +1 -1
- package/codepipeline/webhook.js +1 -1
- package/connect/routingProfile.d.ts +21 -9
- package/connect/routingProfile.js +17 -5
- package/connect/routingProfile.js.map +1 -1
- package/datasync/locationFsxOntapFileSystem.d.ts +18 -0
- package/datasync/locationFsxOntapFileSystem.js +18 -0
- package/datasync/locationFsxOntapFileSystem.js.map +1 -1
- package/datazone/project.d.ts +13 -0
- package/datazone/project.js +13 -0
- package/datazone/project.js.map +1 -1
- package/detective/organizationConfiguration.d.ts +11 -0
- package/detective/organizationConfiguration.js +11 -0
- package/detective/organizationConfiguration.js.map +1 -1
- package/ec2/allowedImagesSettings.d.ts +124 -0
- package/ec2/allowedImagesSettings.js +106 -0
- package/ec2/allowedImagesSettings.js.map +1 -0
- package/ec2/getCoipPools.d.ts +32 -0
- package/ec2/getCoipPools.js +32 -0
- package/ec2/getCoipPools.js.map +1 -1
- package/ec2/imageBlockPublicAccess.d.ts +12 -0
- package/ec2/imageBlockPublicAccess.js +2 -0
- package/ec2/imageBlockPublicAccess.js.map +1 -1
- package/ec2/index.d.ts +3 -0
- package/ec2/index.js +10 -5
- package/ec2/index.js.map +1 -1
- package/ec2/securityGroup.d.ts +2 -2
- package/ec2/securityGroup.js +2 -2
- package/ec2/serialConsoleAccess.d.ts +12 -0
- package/ec2/serialConsoleAccess.js +2 -0
- package/ec2/serialConsoleAccess.js.map +1 -1
- package/ec2/vpcEndpoint.d.ts +50 -0
- package/ec2/vpcEndpoint.js +50 -0
- package/ec2/vpcEndpoint.js.map +1 -1
- package/ec2clientvpn/authorizationRule.d.ts +3 -3
- package/ec2clientvpn/route.d.ts +3 -3
- package/ec2transitgateway/instanceConnectEndpoint.d.ts +12 -0
- package/ec2transitgateway/instanceConnectEndpoint.js +2 -0
- package/ec2transitgateway/instanceConnectEndpoint.js.map +1 -1
- package/ecrpublic/getImages.d.ts +36 -0
- package/ecrpublic/getImages.js +36 -0
- package/ecrpublic/getImages.js.map +1 -1
- package/ecs/getService.d.ts +94 -3
- package/ecs/getService.js.map +1 -1
- package/ecs/service.d.ts +40 -0
- package/ecs/service.js +40 -0
- package/ecs/service.js.map +1 -1
- package/elasticache/getReplicationGroup.d.ts +12 -8
- package/elasticache/getReplicationGroup.js.map +1 -1
- package/elasticache/replicationGroup.d.ts +47 -0
- package/elasticache/replicationGroup.js +37 -0
- package/elasticache/replicationGroup.js.map +1 -1
- package/elasticache/reservedCacheNode.d.ts +17 -0
- package/elasticache/reservedCacheNode.js +17 -0
- package/elasticache/reservedCacheNode.js.map +1 -1
- package/finspace/kxCluster.d.ts +39 -0
- package/finspace/kxCluster.js +39 -0
- package/finspace/kxCluster.js.map +1 -1
- package/fis/index.d.ts +3 -0
- package/fis/index.js +6 -1
- package/fis/index.js.map +1 -1
- package/fis/targetAccountConfiguration.d.ts +129 -0
- package/fis/targetAccountConfiguration.js +90 -0
- package/fis/targetAccountConfiguration.js.map +1 -0
- package/glue/job.d.ts +3 -3
- package/guardduty/malwareProtectionPlan.d.ts +26 -0
- package/guardduty/malwareProtectionPlan.js +26 -0
- package/guardduty/malwareProtectionPlan.js.map +1 -1
- package/guardduty/memberDetectorFeature.d.ts +23 -0
- package/guardduty/memberDetectorFeature.js +23 -0
- package/guardduty/memberDetectorFeature.js.map +1 -1
- package/index.d.ts +4 -1
- package/index.js +10 -3
- package/index.js.map +1 -1
- package/invoicing/index.d.ts +3 -0
- package/invoicing/index.js +22 -0
- package/invoicing/index.js.map +1 -0
- package/invoicing/invoiceUnit.d.ts +195 -0
- package/invoicing/invoiceUnit.js +102 -0
- package/invoicing/invoiceUnit.js.map +1 -0
- package/iot/caCertificate.d.ts +6 -6
- package/iot/caCertificate.js +6 -6
- package/iot/getRegistrationCode.d.ts +6 -6
- package/iot/getRegistrationCode.js +6 -6
- package/ivschat/loggingConfiguration.d.ts +15 -0
- package/ivschat/loggingConfiguration.js +15 -0
- package/ivschat/loggingConfiguration.js.map +1 -1
- package/kinesis/getStream.d.ts +4 -0
- package/kinesis/getStream.js.map +1 -1
- package/kinesis/stream.d.ts +12 -0
- package/kinesis/stream.js +2 -0
- package/kinesis/stream.js.map +1 -1
- package/kms/key.d.ts +3 -3
- package/licensemanager/licenseGrant.d.ts +19 -0
- package/licensemanager/licenseGrant.js +19 -0
- package/licensemanager/licenseGrant.js.map +1 -1
- package/m2/environment.d.ts +79 -0
- package/m2/environment.js +79 -0
- package/m2/environment.js.map +1 -1
- package/networkfirewall/tlsInspectionConfiguration.d.ts +44 -0
- package/networkfirewall/tlsInspectionConfiguration.js +44 -0
- package/networkfirewall/tlsInspectionConfiguration.js.map +1 -1
- package/networkflowmonitor/index.d.ts +6 -0
- package/networkflowmonitor/index.js +27 -0
- package/networkflowmonitor/index.js.map +1 -0
- package/networkflowmonitor/monitor.d.ts +187 -0
- package/networkflowmonitor/monitor.js +113 -0
- package/networkflowmonitor/monitor.js.map +1 -0
- package/networkflowmonitor/scope.d.ts +153 -0
- package/networkflowmonitor/scope.js +97 -0
- package/networkflowmonitor/scope.js.map +1 -0
- package/observabilityadmin/centralizationRuleForOrganization.d.ts +246 -0
- package/observabilityadmin/centralizationRuleForOrganization.js +189 -0
- package/observabilityadmin/centralizationRuleForOrganization.js.map +1 -0
- package/observabilityadmin/index.d.ts +3 -0
- package/observabilityadmin/index.js +22 -0
- package/observabilityadmin/index.js.map +1 -0
- package/opensearch/authorizeVpcEndpointAccess.d.ts +2 -2
- package/opensearch/authorizeVpcEndpointAccess.js +2 -2
- package/opensearch/domain.d.ts +21 -0
- package/opensearch/domain.js +2 -0
- package/opensearch/domain.js.map +1 -1
- package/opensearch/getDomain.d.ts +5 -10
- package/opensearch/getDomain.js +0 -2
- package/opensearch/getDomain.js.map +1 -1
- package/opensearchingest/pipeline.d.ts +1 -1
- package/opensearchingest/pipeline.js +1 -1
- package/organizations/getPolicies.d.ts +2 -2
- package/organizations/getPoliciesForTarget.d.ts +2 -2
- package/organizations/getPolicy.d.ts +1 -1
- package/organizations/organization.d.ts +3 -3
- package/organizations/policy.d.ts +15 -3
- package/organizations/policy.js.map +1 -1
- package/package.json +2 -2
- package/quicksight/analysis.d.ts +55 -0
- package/quicksight/analysis.js +55 -0
- package/quicksight/analysis.js.map +1 -1
- package/quicksight/dashboard.d.ts +56 -0
- package/quicksight/dashboard.js +56 -0
- package/quicksight/dashboard.js.map +1 -1
- package/quicksight/dataSource.d.ts +1 -1
- package/quicksight/dataSource.js +1 -1
- package/quicksight/template.d.ts +64 -0
- package/quicksight/template.js +64 -0
- package/quicksight/template.js.map +1 -1
- package/redshift/clusterSnapshot.d.ts +14 -0
- package/redshift/clusterSnapshot.js +14 -0
- package/redshift/clusterSnapshot.js.map +1 -1
- package/redshift/getCluster.d.ts +58 -0
- package/redshift/getCluster.js +58 -0
- package/redshift/getCluster.js.map +1 -1
- package/redshift/snapshotCopyGrant.d.ts +11 -0
- package/redshift/snapshotCopyGrant.js +11 -0
- package/redshift/snapshotCopyGrant.js.map +1 -1
- package/route53/profilesAssociation.d.ts +16 -0
- package/route53/profilesAssociation.js +16 -0
- package/route53/profilesAssociation.js.map +1 -1
- package/route53/profilesResourceAssociation.d.ts +19 -0
- package/route53/profilesResourceAssociation.js +19 -0
- package/route53/profilesResourceAssociation.js.map +1 -1
- package/s3control/multiRegionAccessPointPolicy.d.ts +39 -0
- package/s3control/multiRegionAccessPointPolicy.js +39 -0
- package/s3control/multiRegionAccessPointPolicy.js.map +1 -1
- package/s3tables/table.d.ts +30 -0
- package/s3tables/table.js +4 -0
- package/s3tables/table.js.map +1 -1
- package/s3tables/tableBucket.d.ts +30 -0
- package/s3tables/tableBucket.js +4 -0
- package/s3tables/tableBucket.js.map +1 -1
- package/sagemaker/endpointConfiguration.d.ts +40 -28
- package/sagemaker/endpointConfiguration.js +2 -0
- package/sagemaker/endpointConfiguration.js.map +1 -1
- package/ssmincidents/getResponsePlan.d.ts +14 -0
- package/ssmincidents/getResponsePlan.js +14 -0
- package/ssmincidents/getResponsePlan.js.map +1 -1
- package/ssoadmin/accountAssignment.d.ts +2 -2
- package/ssoadmin/accountAssignment.js +2 -2
- package/transfer/profile.d.ts +11 -0
- package/transfer/profile.js +11 -0
- package/transfer/profile.js.map +1 -1
- package/transfer/server.d.ts +3 -0
- package/transfer/server.js.map +1 -1
- package/transfer/sshKey.d.ts +3 -3
- package/transfer/sshKey.js +3 -3
- package/types/input.d.ts +462 -140
- package/types/input.js.map +1 -1
- package/types/output.d.ts +779 -95
- package/types/output.js.map +1 -1
- package/wafv2/ruleGroup.d.ts +223 -0
- package/wafv2/ruleGroup.js +223 -0
- package/wafv2/ruleGroup.js.map +1 -1
- package/workspacesweb/sessionLoggerAssociation.d.ts +47 -0
- package/workspacesweb/sessionLoggerAssociation.js +47 -0
- package/workspacesweb/sessionLoggerAssociation.js.map +1 -1
- package/workspacesweb/trustStoreAssociation.d.ts +17 -0
- package/workspacesweb/trustStoreAssociation.js +17 -0
- package/workspacesweb/trustStoreAssociation.js.map +1 -1
package/types/output.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;
|
|
1
|
+
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AA+7/EjF,IAAiB,GAAG,CAudnB;AAvdD,WAAiB,GAAG;IAuYhB;;OAEG;IACH,SAAgB,sCAAsC,CAAC,GAA4B;QAC/E,OAAO;YACH,GAAG,GAAG;YACN,WAAW,EAAE,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,WAAW;SAChD,CAAC;IACN,CAAC;IALe,0CAAsC,yCAKrD,CAAA;AAwEL,CAAC,EAvdgB,GAAG,GAAH,WAAG,KAAH,WAAG,QAudnB"}
|
package/wafv2/ruleGroup.d.ts
CHANGED
|
@@ -46,6 +46,229 @@ import * as outputs from "../types/output";
|
|
|
46
46
|
*
|
|
47
47
|
* ### Complex
|
|
48
48
|
*
|
|
49
|
+
* ```typescript
|
|
50
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
51
|
+
* import * as aws from "@pulumi/aws";
|
|
52
|
+
*
|
|
53
|
+
* const test = new aws.wafv2.IpSet("test", {
|
|
54
|
+
* name: "test",
|
|
55
|
+
* scope: "REGIONAL",
|
|
56
|
+
* ipAddressVersion: "IPV4",
|
|
57
|
+
* addresses: [
|
|
58
|
+
* "1.1.1.1/32",
|
|
59
|
+
* "2.2.2.2/32",
|
|
60
|
+
* ],
|
|
61
|
+
* });
|
|
62
|
+
* const testRegexPatternSet = new aws.wafv2.RegexPatternSet("test", {
|
|
63
|
+
* name: "test",
|
|
64
|
+
* scope: "REGIONAL",
|
|
65
|
+
* regularExpressions: [{
|
|
66
|
+
* regexString: "one",
|
|
67
|
+
* }],
|
|
68
|
+
* });
|
|
69
|
+
* const example = new aws.wafv2.RuleGroup("example", {
|
|
70
|
+
* name: "complex-example",
|
|
71
|
+
* description: "An rule group containing all statements",
|
|
72
|
+
* scope: "REGIONAL",
|
|
73
|
+
* capacity: 500,
|
|
74
|
+
* rules: [
|
|
75
|
+
* {
|
|
76
|
+
* name: "rule-1",
|
|
77
|
+
* priority: 1,
|
|
78
|
+
* action: {
|
|
79
|
+
* block: {},
|
|
80
|
+
* },
|
|
81
|
+
* statement: {
|
|
82
|
+
* notStatement: {
|
|
83
|
+
* statements: [{
|
|
84
|
+
* andStatement: {
|
|
85
|
+
* statements: [
|
|
86
|
+
* {
|
|
87
|
+
* geoMatchStatement: {
|
|
88
|
+
* countryCodes: ["US"],
|
|
89
|
+
* },
|
|
90
|
+
* },
|
|
91
|
+
* {
|
|
92
|
+
* byteMatchStatement: {
|
|
93
|
+
* positionalConstraint: "CONTAINS",
|
|
94
|
+
* searchString: "word",
|
|
95
|
+
* fieldToMatch: {
|
|
96
|
+
* allQueryArguments: {},
|
|
97
|
+
* },
|
|
98
|
+
* textTransformations: [
|
|
99
|
+
* {
|
|
100
|
+
* priority: 5,
|
|
101
|
+
* type: "CMD_LINE",
|
|
102
|
+
* },
|
|
103
|
+
* {
|
|
104
|
+
* priority: 2,
|
|
105
|
+
* type: "LOWERCASE",
|
|
106
|
+
* },
|
|
107
|
+
* ],
|
|
108
|
+
* },
|
|
109
|
+
* },
|
|
110
|
+
* ],
|
|
111
|
+
* },
|
|
112
|
+
* }],
|
|
113
|
+
* },
|
|
114
|
+
* },
|
|
115
|
+
* visibilityConfig: {
|
|
116
|
+
* cloudwatchMetricsEnabled: false,
|
|
117
|
+
* metricName: "rule-1",
|
|
118
|
+
* sampledRequestsEnabled: false,
|
|
119
|
+
* },
|
|
120
|
+
* },
|
|
121
|
+
* {
|
|
122
|
+
* name: "rule-2",
|
|
123
|
+
* priority: 2,
|
|
124
|
+
* action: {
|
|
125
|
+
* count: {},
|
|
126
|
+
* },
|
|
127
|
+
* statement: {
|
|
128
|
+
* orStatement: {
|
|
129
|
+
* statements: [
|
|
130
|
+
* {
|
|
131
|
+
* regexMatchStatement: {
|
|
132
|
+
* regexString: "a-z?",
|
|
133
|
+
* fieldToMatch: {
|
|
134
|
+
* singleHeader: {
|
|
135
|
+
* name: "user-agent",
|
|
136
|
+
* },
|
|
137
|
+
* },
|
|
138
|
+
* textTransformations: [{
|
|
139
|
+
* priority: 6,
|
|
140
|
+
* type: "NONE",
|
|
141
|
+
* }],
|
|
142
|
+
* },
|
|
143
|
+
* },
|
|
144
|
+
* {
|
|
145
|
+
* sqliMatchStatement: {
|
|
146
|
+
* fieldToMatch: {
|
|
147
|
+
* body: {},
|
|
148
|
+
* },
|
|
149
|
+
* textTransformations: [
|
|
150
|
+
* {
|
|
151
|
+
* priority: 5,
|
|
152
|
+
* type: "URL_DECODE",
|
|
153
|
+
* },
|
|
154
|
+
* {
|
|
155
|
+
* priority: 4,
|
|
156
|
+
* type: "HTML_ENTITY_DECODE",
|
|
157
|
+
* },
|
|
158
|
+
* {
|
|
159
|
+
* priority: 3,
|
|
160
|
+
* type: "COMPRESS_WHITE_SPACE",
|
|
161
|
+
* },
|
|
162
|
+
* ],
|
|
163
|
+
* },
|
|
164
|
+
* },
|
|
165
|
+
* {
|
|
166
|
+
* xssMatchStatement: {
|
|
167
|
+
* fieldToMatch: {
|
|
168
|
+
* method: {},
|
|
169
|
+
* },
|
|
170
|
+
* textTransformations: [{
|
|
171
|
+
* priority: 2,
|
|
172
|
+
* type: "NONE",
|
|
173
|
+
* }],
|
|
174
|
+
* },
|
|
175
|
+
* },
|
|
176
|
+
* ],
|
|
177
|
+
* },
|
|
178
|
+
* },
|
|
179
|
+
* visibilityConfig: {
|
|
180
|
+
* cloudwatchMetricsEnabled: false,
|
|
181
|
+
* metricName: "rule-2",
|
|
182
|
+
* sampledRequestsEnabled: false,
|
|
183
|
+
* },
|
|
184
|
+
* captchaConfig: {
|
|
185
|
+
* immunityTimeProperty: {
|
|
186
|
+
* immunityTime: 240,
|
|
187
|
+
* },
|
|
188
|
+
* },
|
|
189
|
+
* },
|
|
190
|
+
* {
|
|
191
|
+
* name: "rule-3",
|
|
192
|
+
* priority: 3,
|
|
193
|
+
* action: {
|
|
194
|
+
* block: {},
|
|
195
|
+
* },
|
|
196
|
+
* statement: {
|
|
197
|
+
* sizeConstraintStatement: {
|
|
198
|
+
* comparisonOperator: "GT",
|
|
199
|
+
* size: 100,
|
|
200
|
+
* fieldToMatch: {
|
|
201
|
+
* singleQueryArgument: {
|
|
202
|
+
* name: "username",
|
|
203
|
+
* },
|
|
204
|
+
* },
|
|
205
|
+
* textTransformations: [{
|
|
206
|
+
* priority: 5,
|
|
207
|
+
* type: "NONE",
|
|
208
|
+
* }],
|
|
209
|
+
* },
|
|
210
|
+
* },
|
|
211
|
+
* visibilityConfig: {
|
|
212
|
+
* cloudwatchMetricsEnabled: false,
|
|
213
|
+
* metricName: "rule-3",
|
|
214
|
+
* sampledRequestsEnabled: false,
|
|
215
|
+
* },
|
|
216
|
+
* },
|
|
217
|
+
* {
|
|
218
|
+
* name: "rule-4",
|
|
219
|
+
* priority: 4,
|
|
220
|
+
* action: {
|
|
221
|
+
* block: {},
|
|
222
|
+
* },
|
|
223
|
+
* statement: {
|
|
224
|
+
* orStatement: {
|
|
225
|
+
* statements: [
|
|
226
|
+
* {
|
|
227
|
+
* ipSetReferenceStatement: {
|
|
228
|
+
* arn: test.arn,
|
|
229
|
+
* },
|
|
230
|
+
* },
|
|
231
|
+
* {
|
|
232
|
+
* regexPatternSetReferenceStatement: {
|
|
233
|
+
* arn: testRegexPatternSet.arn,
|
|
234
|
+
* fieldToMatch: {
|
|
235
|
+
* singleHeader: {
|
|
236
|
+
* name: "referer",
|
|
237
|
+
* },
|
|
238
|
+
* },
|
|
239
|
+
* textTransformations: [{
|
|
240
|
+
* priority: 2,
|
|
241
|
+
* type: "NONE",
|
|
242
|
+
* }],
|
|
243
|
+
* },
|
|
244
|
+
* },
|
|
245
|
+
* ],
|
|
246
|
+
* },
|
|
247
|
+
* },
|
|
248
|
+
* visibilityConfig: {
|
|
249
|
+
* cloudwatchMetricsEnabled: false,
|
|
250
|
+
* metricName: "rule-4",
|
|
251
|
+
* sampledRequestsEnabled: false,
|
|
252
|
+
* },
|
|
253
|
+
* },
|
|
254
|
+
* ],
|
|
255
|
+
* visibilityConfig: {
|
|
256
|
+
* cloudwatchMetricsEnabled: false,
|
|
257
|
+
* metricName: "friendly-metric-name",
|
|
258
|
+
* sampledRequestsEnabled: false,
|
|
259
|
+
* },
|
|
260
|
+
* captchaConfig: [{
|
|
261
|
+
* immunityTimeProperty: [{
|
|
262
|
+
* immunityTime: 120,
|
|
263
|
+
* }],
|
|
264
|
+
* }],
|
|
265
|
+
* tags: {
|
|
266
|
+
* Name: "example-and-statement",
|
|
267
|
+
* Code: "123456",
|
|
268
|
+
* },
|
|
269
|
+
* });
|
|
270
|
+
* ```
|
|
271
|
+
*
|
|
49
272
|
* ### Using rulesJson
|
|
50
273
|
*
|
|
51
274
|
* ```typescript
|
package/wafv2/ruleGroup.js
CHANGED
|
@@ -50,6 +50,229 @@ const utilities = require("../utilities");
|
|
|
50
50
|
*
|
|
51
51
|
* ### Complex
|
|
52
52
|
*
|
|
53
|
+
* ```typescript
|
|
54
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
55
|
+
* import * as aws from "@pulumi/aws";
|
|
56
|
+
*
|
|
57
|
+
* const test = new aws.wafv2.IpSet("test", {
|
|
58
|
+
* name: "test",
|
|
59
|
+
* scope: "REGIONAL",
|
|
60
|
+
* ipAddressVersion: "IPV4",
|
|
61
|
+
* addresses: [
|
|
62
|
+
* "1.1.1.1/32",
|
|
63
|
+
* "2.2.2.2/32",
|
|
64
|
+
* ],
|
|
65
|
+
* });
|
|
66
|
+
* const testRegexPatternSet = new aws.wafv2.RegexPatternSet("test", {
|
|
67
|
+
* name: "test",
|
|
68
|
+
* scope: "REGIONAL",
|
|
69
|
+
* regularExpressions: [{
|
|
70
|
+
* regexString: "one",
|
|
71
|
+
* }],
|
|
72
|
+
* });
|
|
73
|
+
* const example = new aws.wafv2.RuleGroup("example", {
|
|
74
|
+
* name: "complex-example",
|
|
75
|
+
* description: "An rule group containing all statements",
|
|
76
|
+
* scope: "REGIONAL",
|
|
77
|
+
* capacity: 500,
|
|
78
|
+
* rules: [
|
|
79
|
+
* {
|
|
80
|
+
* name: "rule-1",
|
|
81
|
+
* priority: 1,
|
|
82
|
+
* action: {
|
|
83
|
+
* block: {},
|
|
84
|
+
* },
|
|
85
|
+
* statement: {
|
|
86
|
+
* notStatement: {
|
|
87
|
+
* statements: [{
|
|
88
|
+
* andStatement: {
|
|
89
|
+
* statements: [
|
|
90
|
+
* {
|
|
91
|
+
* geoMatchStatement: {
|
|
92
|
+
* countryCodes: ["US"],
|
|
93
|
+
* },
|
|
94
|
+
* },
|
|
95
|
+
* {
|
|
96
|
+
* byteMatchStatement: {
|
|
97
|
+
* positionalConstraint: "CONTAINS",
|
|
98
|
+
* searchString: "word",
|
|
99
|
+
* fieldToMatch: {
|
|
100
|
+
* allQueryArguments: {},
|
|
101
|
+
* },
|
|
102
|
+
* textTransformations: [
|
|
103
|
+
* {
|
|
104
|
+
* priority: 5,
|
|
105
|
+
* type: "CMD_LINE",
|
|
106
|
+
* },
|
|
107
|
+
* {
|
|
108
|
+
* priority: 2,
|
|
109
|
+
* type: "LOWERCASE",
|
|
110
|
+
* },
|
|
111
|
+
* ],
|
|
112
|
+
* },
|
|
113
|
+
* },
|
|
114
|
+
* ],
|
|
115
|
+
* },
|
|
116
|
+
* }],
|
|
117
|
+
* },
|
|
118
|
+
* },
|
|
119
|
+
* visibilityConfig: {
|
|
120
|
+
* cloudwatchMetricsEnabled: false,
|
|
121
|
+
* metricName: "rule-1",
|
|
122
|
+
* sampledRequestsEnabled: false,
|
|
123
|
+
* },
|
|
124
|
+
* },
|
|
125
|
+
* {
|
|
126
|
+
* name: "rule-2",
|
|
127
|
+
* priority: 2,
|
|
128
|
+
* action: {
|
|
129
|
+
* count: {},
|
|
130
|
+
* },
|
|
131
|
+
* statement: {
|
|
132
|
+
* orStatement: {
|
|
133
|
+
* statements: [
|
|
134
|
+
* {
|
|
135
|
+
* regexMatchStatement: {
|
|
136
|
+
* regexString: "a-z?",
|
|
137
|
+
* fieldToMatch: {
|
|
138
|
+
* singleHeader: {
|
|
139
|
+
* name: "user-agent",
|
|
140
|
+
* },
|
|
141
|
+
* },
|
|
142
|
+
* textTransformations: [{
|
|
143
|
+
* priority: 6,
|
|
144
|
+
* type: "NONE",
|
|
145
|
+
* }],
|
|
146
|
+
* },
|
|
147
|
+
* },
|
|
148
|
+
* {
|
|
149
|
+
* sqliMatchStatement: {
|
|
150
|
+
* fieldToMatch: {
|
|
151
|
+
* body: {},
|
|
152
|
+
* },
|
|
153
|
+
* textTransformations: [
|
|
154
|
+
* {
|
|
155
|
+
* priority: 5,
|
|
156
|
+
* type: "URL_DECODE",
|
|
157
|
+
* },
|
|
158
|
+
* {
|
|
159
|
+
* priority: 4,
|
|
160
|
+
* type: "HTML_ENTITY_DECODE",
|
|
161
|
+
* },
|
|
162
|
+
* {
|
|
163
|
+
* priority: 3,
|
|
164
|
+
* type: "COMPRESS_WHITE_SPACE",
|
|
165
|
+
* },
|
|
166
|
+
* ],
|
|
167
|
+
* },
|
|
168
|
+
* },
|
|
169
|
+
* {
|
|
170
|
+
* xssMatchStatement: {
|
|
171
|
+
* fieldToMatch: {
|
|
172
|
+
* method: {},
|
|
173
|
+
* },
|
|
174
|
+
* textTransformations: [{
|
|
175
|
+
* priority: 2,
|
|
176
|
+
* type: "NONE",
|
|
177
|
+
* }],
|
|
178
|
+
* },
|
|
179
|
+
* },
|
|
180
|
+
* ],
|
|
181
|
+
* },
|
|
182
|
+
* },
|
|
183
|
+
* visibilityConfig: {
|
|
184
|
+
* cloudwatchMetricsEnabled: false,
|
|
185
|
+
* metricName: "rule-2",
|
|
186
|
+
* sampledRequestsEnabled: false,
|
|
187
|
+
* },
|
|
188
|
+
* captchaConfig: {
|
|
189
|
+
* immunityTimeProperty: {
|
|
190
|
+
* immunityTime: 240,
|
|
191
|
+
* },
|
|
192
|
+
* },
|
|
193
|
+
* },
|
|
194
|
+
* {
|
|
195
|
+
* name: "rule-3",
|
|
196
|
+
* priority: 3,
|
|
197
|
+
* action: {
|
|
198
|
+
* block: {},
|
|
199
|
+
* },
|
|
200
|
+
* statement: {
|
|
201
|
+
* sizeConstraintStatement: {
|
|
202
|
+
* comparisonOperator: "GT",
|
|
203
|
+
* size: 100,
|
|
204
|
+
* fieldToMatch: {
|
|
205
|
+
* singleQueryArgument: {
|
|
206
|
+
* name: "username",
|
|
207
|
+
* },
|
|
208
|
+
* },
|
|
209
|
+
* textTransformations: [{
|
|
210
|
+
* priority: 5,
|
|
211
|
+
* type: "NONE",
|
|
212
|
+
* }],
|
|
213
|
+
* },
|
|
214
|
+
* },
|
|
215
|
+
* visibilityConfig: {
|
|
216
|
+
* cloudwatchMetricsEnabled: false,
|
|
217
|
+
* metricName: "rule-3",
|
|
218
|
+
* sampledRequestsEnabled: false,
|
|
219
|
+
* },
|
|
220
|
+
* },
|
|
221
|
+
* {
|
|
222
|
+
* name: "rule-4",
|
|
223
|
+
* priority: 4,
|
|
224
|
+
* action: {
|
|
225
|
+
* block: {},
|
|
226
|
+
* },
|
|
227
|
+
* statement: {
|
|
228
|
+
* orStatement: {
|
|
229
|
+
* statements: [
|
|
230
|
+
* {
|
|
231
|
+
* ipSetReferenceStatement: {
|
|
232
|
+
* arn: test.arn,
|
|
233
|
+
* },
|
|
234
|
+
* },
|
|
235
|
+
* {
|
|
236
|
+
* regexPatternSetReferenceStatement: {
|
|
237
|
+
* arn: testRegexPatternSet.arn,
|
|
238
|
+
* fieldToMatch: {
|
|
239
|
+
* singleHeader: {
|
|
240
|
+
* name: "referer",
|
|
241
|
+
* },
|
|
242
|
+
* },
|
|
243
|
+
* textTransformations: [{
|
|
244
|
+
* priority: 2,
|
|
245
|
+
* type: "NONE",
|
|
246
|
+
* }],
|
|
247
|
+
* },
|
|
248
|
+
* },
|
|
249
|
+
* ],
|
|
250
|
+
* },
|
|
251
|
+
* },
|
|
252
|
+
* visibilityConfig: {
|
|
253
|
+
* cloudwatchMetricsEnabled: false,
|
|
254
|
+
* metricName: "rule-4",
|
|
255
|
+
* sampledRequestsEnabled: false,
|
|
256
|
+
* },
|
|
257
|
+
* },
|
|
258
|
+
* ],
|
|
259
|
+
* visibilityConfig: {
|
|
260
|
+
* cloudwatchMetricsEnabled: false,
|
|
261
|
+
* metricName: "friendly-metric-name",
|
|
262
|
+
* sampledRequestsEnabled: false,
|
|
263
|
+
* },
|
|
264
|
+
* captchaConfig: [{
|
|
265
|
+
* immunityTimeProperty: [{
|
|
266
|
+
* immunityTime: 120,
|
|
267
|
+
* }],
|
|
268
|
+
* }],
|
|
269
|
+
* tags: {
|
|
270
|
+
* Name: "example-and-statement",
|
|
271
|
+
* Code: "123456",
|
|
272
|
+
* },
|
|
273
|
+
* });
|
|
274
|
+
* ```
|
|
275
|
+
*
|
|
53
276
|
* ### Using rulesJson
|
|
54
277
|
*
|
|
55
278
|
* ```typescript
|
package/wafv2/ruleGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ruleGroup.js","sourceRoot":"","sources":["../../wafv2/ruleGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"ruleGroup.js","sourceRoot":"","sources":["../../wafv2/ruleGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8TG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,EAAE,EAA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gBAAgB,CAAC;YAC5D,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,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,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAzIL,8BA0IC;AA5HG,gBAAgB;AACO,sBAAY,GAAG,+BAA+B,CAAC"}
|
|
@@ -4,6 +4,53 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
+
* ### Basic Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const examplePortal = new aws.workspacesweb.Portal("example", {displayName: "example"});
|
|
14
|
+
* const exampleBucket = new aws.s3.Bucket("example", {
|
|
15
|
+
* bucket: "example-session-logs",
|
|
16
|
+
* forceDestroy: true,
|
|
17
|
+
* });
|
|
18
|
+
* const example = aws.iam.getPolicyDocumentOutput({
|
|
19
|
+
* statements: [{
|
|
20
|
+
* effect: "Allow",
|
|
21
|
+
* principals: [{
|
|
22
|
+
* type: "Service",
|
|
23
|
+
* identifiers: ["workspaces-web.amazonaws.com"],
|
|
24
|
+
* }],
|
|
25
|
+
* actions: ["s3:PutObject"],
|
|
26
|
+
* resources: [pulumi.interpolate`${exampleBucket.arn}/*`],
|
|
27
|
+
* }],
|
|
28
|
+
* });
|
|
29
|
+
* const exampleBucketPolicy = new aws.s3.BucketPolicy("example", {
|
|
30
|
+
* bucket: exampleBucket.id,
|
|
31
|
+
* policy: example.apply(example => example.json),
|
|
32
|
+
* });
|
|
33
|
+
* const exampleSessionLogger = new aws.workspacesweb.SessionLogger("example", {
|
|
34
|
+
* displayName: "example",
|
|
35
|
+
* eventFilter: {
|
|
36
|
+
* all: {}[0],
|
|
37
|
+
* },
|
|
38
|
+
* logConfiguration: {
|
|
39
|
+
* s3: {
|
|
40
|
+
* bucket: exampleBucket.id,
|
|
41
|
+
* folderStructure: "Flat",
|
|
42
|
+
* logFileFormat: "Json",
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* }, {
|
|
46
|
+
* dependsOn: [exampleBucketPolicy],
|
|
47
|
+
* });
|
|
48
|
+
* const exampleSessionLoggerAssociation = new aws.workspacesweb.SessionLoggerAssociation("example", {
|
|
49
|
+
* portalArn: examplePortal.portalArn,
|
|
50
|
+
* sessionLoggerArn: exampleSessionLogger.sessionLoggerArn,
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
7
54
|
* ## Import
|
|
8
55
|
*
|
|
9
56
|
* Using `pulumi import`, import WorkSpaces Web Session Logger Association using the `session_logger_arn,portal_arn`. For example:
|
|
@@ -10,6 +10,53 @@ const utilities = require("../utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ### Basic Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const examplePortal = new aws.workspacesweb.Portal("example", {displayName: "example"});
|
|
20
|
+
* const exampleBucket = new aws.s3.Bucket("example", {
|
|
21
|
+
* bucket: "example-session-logs",
|
|
22
|
+
* forceDestroy: true,
|
|
23
|
+
* });
|
|
24
|
+
* const example = aws.iam.getPolicyDocumentOutput({
|
|
25
|
+
* statements: [{
|
|
26
|
+
* effect: "Allow",
|
|
27
|
+
* principals: [{
|
|
28
|
+
* type: "Service",
|
|
29
|
+
* identifiers: ["workspaces-web.amazonaws.com"],
|
|
30
|
+
* }],
|
|
31
|
+
* actions: ["s3:PutObject"],
|
|
32
|
+
* resources: [pulumi.interpolate`${exampleBucket.arn}/*`],
|
|
33
|
+
* }],
|
|
34
|
+
* });
|
|
35
|
+
* const exampleBucketPolicy = new aws.s3.BucketPolicy("example", {
|
|
36
|
+
* bucket: exampleBucket.id,
|
|
37
|
+
* policy: example.apply(example => example.json),
|
|
38
|
+
* });
|
|
39
|
+
* const exampleSessionLogger = new aws.workspacesweb.SessionLogger("example", {
|
|
40
|
+
* displayName: "example",
|
|
41
|
+
* eventFilter: {
|
|
42
|
+
* all: {}[0],
|
|
43
|
+
* },
|
|
44
|
+
* logConfiguration: {
|
|
45
|
+
* s3: {
|
|
46
|
+
* bucket: exampleBucket.id,
|
|
47
|
+
* folderStructure: "Flat",
|
|
48
|
+
* logFileFormat: "Json",
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* }, {
|
|
52
|
+
* dependsOn: [exampleBucketPolicy],
|
|
53
|
+
* });
|
|
54
|
+
* const exampleSessionLoggerAssociation = new aws.workspacesweb.SessionLoggerAssociation("example", {
|
|
55
|
+
* portalArn: examplePortal.portalArn,
|
|
56
|
+
* sessionLoggerArn: exampleSessionLogger.sessionLoggerArn,
|
|
57
|
+
* });
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
13
60
|
* ## Import
|
|
14
61
|
*
|
|
15
62
|
* Using `pulumi import`, import WorkSpaces Web Session Logger Association using the `session_logger_arn,portal_arn`. For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sessionLoggerAssociation.js","sourceRoot":"","sources":["../../workspacesweb/sessionLoggerAssociation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"sessionLoggerA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AI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,IAAI,IAAI,EAAE,gBAAgB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;aACnE;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AAzEL,4DA0EC;AA5DG,gBAAgB;AACO,qCAAY,GAAG,qEAAqE,CAAC"}
|
|
@@ -6,6 +6,23 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* ### Basic Usage
|
|
8
8
|
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
* import * as std from "@pulumi/std";
|
|
13
|
+
*
|
|
14
|
+
* const example = new aws.workspacesweb.Portal("example", {displayName: "example"});
|
|
15
|
+
* const exampleTrustStore = new aws.workspacesweb.TrustStore("example", {certificateList: [std.file({
|
|
16
|
+
* input: "certificate.pem",
|
|
17
|
+
* }).then(invoke => std.base64encode({
|
|
18
|
+
* input: invoke.result,
|
|
19
|
+
* })).then(invoke => invoke.result)]});
|
|
20
|
+
* const exampleTrustStoreAssociation = new aws.workspacesweb.TrustStoreAssociation("example", {
|
|
21
|
+
* trustStoreArn: exampleTrustStore.trustStoreArn,
|
|
22
|
+
* portalArn: example.portalArn,
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
9
26
|
* ## Import
|
|
10
27
|
*
|
|
11
28
|
* Using `pulumi import`, import WorkSpaces Web Trust Store Association using the `trust_store_arn,portal_arn`. For example:
|
|
@@ -12,6 +12,23 @@ const utilities = require("../utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ### Basic Usage
|
|
14
14
|
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
* import * as std from "@pulumi/std";
|
|
19
|
+
*
|
|
20
|
+
* const example = new aws.workspacesweb.Portal("example", {displayName: "example"});
|
|
21
|
+
* const exampleTrustStore = new aws.workspacesweb.TrustStore("example", {certificateList: [std.file({
|
|
22
|
+
* input: "certificate.pem",
|
|
23
|
+
* }).then(invoke => std.base64encode({
|
|
24
|
+
* input: invoke.result,
|
|
25
|
+
* })).then(invoke => invoke.result)]});
|
|
26
|
+
* const exampleTrustStoreAssociation = new aws.workspacesweb.TrustStoreAssociation("example", {
|
|
27
|
+
* trustStoreArn: exampleTrustStore.trustStoreArn,
|
|
28
|
+
* portalArn: example.portalArn,
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
15
32
|
* ## Import
|
|
16
33
|
*
|
|
17
34
|
* Using `pulumi import`, import WorkSpaces Web Trust Store Association using the `trust_store_arn,portal_arn`. For example:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trustStoreAssociation.js","sourceRoot":"","sources":["../../workspacesweb/trustStoreAssociation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"trustStoreAssociation.js","sourceRoot":"","sources":["../../workspacesweb/trustStoreAssociation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,y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