@awboost/cfn-resource-types 0.1.289 → 0.1.291
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/lib/AWS-Bedrock-DataSource.d.ts +93 -1
- package/lib/AWS-Bedrock-KnowledgeBase.d.ts +42 -1
- package/lib/AWS-DataZone-Connection.d.ts +662 -0
- package/lib/AWS-DataZone-Connection.js +13 -0
- package/lib/AWS-DataZone-Domain.d.ts +7 -0
- package/lib/AWS-RUM-AppMonitor.d.ts +33 -2
- package/package.json +1 -1
|
@@ -47,6 +47,27 @@ export type BedrockDataSourceAttributes = {
|
|
|
47
47
|
* The time at which the data source was created.
|
|
48
48
|
*/
|
|
49
49
|
CreatedAt: string;
|
|
50
|
+
/**
|
|
51
|
+
* Specifies a raw data source location to ingest.
|
|
52
|
+
*/
|
|
53
|
+
DataSourceConfiguration: {
|
|
54
|
+
/**
|
|
55
|
+
* Configures a web data source location.
|
|
56
|
+
*/
|
|
57
|
+
WebConfiguration: {
|
|
58
|
+
/**
|
|
59
|
+
* Configuration for the web crawler.
|
|
60
|
+
*/
|
|
61
|
+
CrawlerConfiguration: {
|
|
62
|
+
/**
|
|
63
|
+
* The full user agent header, including UUID and suffix.
|
|
64
|
+
* @minLength `61`
|
|
65
|
+
* @maxLength `86`
|
|
66
|
+
*/
|
|
67
|
+
UserAgentHeader: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
50
71
|
/**
|
|
51
72
|
* Identifier for a resource.
|
|
52
73
|
* @pattern `^[0-9a-zA-Z]{10}$`
|
|
@@ -99,6 +120,24 @@ export type BedrockFoundationModelConfiguration = {
|
|
|
99
120
|
*/
|
|
100
121
|
ParsingPrompt?: ParsingPrompt;
|
|
101
122
|
};
|
|
123
|
+
/**
|
|
124
|
+
* Type definition for `AWS::Bedrock::DataSource.BedrockFoundationModelContextEnrichmentConfiguration`.
|
|
125
|
+
* Bedrock Foundation Model configuration to be used for Context Enrichment.
|
|
126
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-bedrockfoundationmodelcontextenrichmentconfiguration.html}
|
|
127
|
+
*/
|
|
128
|
+
export type BedrockFoundationModelContextEnrichmentConfiguration = {
|
|
129
|
+
/**
|
|
130
|
+
* Strategy to be used when using Bedrock Foundation Model for Context Enrichment.
|
|
131
|
+
*/
|
|
132
|
+
EnrichmentStrategyConfiguration: EnrichmentStrategyConfiguration;
|
|
133
|
+
/**
|
|
134
|
+
* The model's ARN.
|
|
135
|
+
* @minLength `1`
|
|
136
|
+
* @maxLength `2048`
|
|
137
|
+
* @pattern `^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)$`
|
|
138
|
+
*/
|
|
139
|
+
ModelArn: string;
|
|
140
|
+
};
|
|
102
141
|
/**
|
|
103
142
|
* Type definition for `AWS::Bedrock::DataSource.ChunkingConfiguration`.
|
|
104
143
|
* Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
|
|
@@ -181,6 +220,27 @@ export type ConfluenceSourceConfiguration = {
|
|
|
181
220
|
*/
|
|
182
221
|
HostUrl: string;
|
|
183
222
|
};
|
|
223
|
+
/**
|
|
224
|
+
* Type definition for `AWS::Bedrock::DataSource.ContextEnrichmentConfiguration`.
|
|
225
|
+
* Additional Enrichment Configuration for example when using GraphRag.
|
|
226
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-contextenrichmentconfiguration.html}
|
|
227
|
+
*/
|
|
228
|
+
export type ContextEnrichmentConfiguration = {
|
|
229
|
+
/**
|
|
230
|
+
* Bedrock Foundation Model configuration to be used for Context Enrichment.
|
|
231
|
+
*/
|
|
232
|
+
BedrockFoundationModelConfiguration?: BedrockFoundationModelContextEnrichmentConfiguration;
|
|
233
|
+
/**
|
|
234
|
+
* Enrichment type to be used for the vector database.
|
|
235
|
+
*/
|
|
236
|
+
Type: ContextEnrichmentType;
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* Type definition for `AWS::Bedrock::DataSource.ContextEnrichmentType`.
|
|
240
|
+
* Enrichment type to be used for the vector database.
|
|
241
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-contextenrichmenttype.html}
|
|
242
|
+
*/
|
|
243
|
+
export type ContextEnrichmentType = "BEDROCK_FOUNDATION_MODEL";
|
|
184
244
|
/**
|
|
185
245
|
* Type definition for `AWS::Bedrock::DataSource.CrawlFilterConfiguration`.
|
|
186
246
|
* The type of filtering that you want to apply to certain objects or content of the data source. For example, the PATTERN type is regular expression patterns you can apply to filter your content.
|
|
@@ -262,6 +322,23 @@ export type DataSourceStatus = "AVAILABLE" | "DELETING" | "DELETE_UNSUCCESSFUL";
|
|
|
262
322
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-datasourcetype.html}
|
|
263
323
|
*/
|
|
264
324
|
export type DataSourceType = "S3" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT" | "WEB" | "CUSTOM" | "REDSHIFT_METADATA";
|
|
325
|
+
/**
|
|
326
|
+
* Type definition for `AWS::Bedrock::DataSource.EnrichmentStrategyConfiguration`.
|
|
327
|
+
* Strategy to be used when using Bedrock Foundation Model for Context Enrichment.
|
|
328
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-enrichmentstrategyconfiguration.html}
|
|
329
|
+
*/
|
|
330
|
+
export type EnrichmentStrategyConfiguration = {
|
|
331
|
+
/**
|
|
332
|
+
* Enrichment Strategy method.
|
|
333
|
+
*/
|
|
334
|
+
Method: EnrichmentStrategyMethod;
|
|
335
|
+
};
|
|
336
|
+
/**
|
|
337
|
+
* Type definition for `AWS::Bedrock::DataSource.EnrichmentStrategyMethod`.
|
|
338
|
+
* Enrichment Strategy method.
|
|
339
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-enrichmentstrategymethod.html}
|
|
340
|
+
*/
|
|
341
|
+
export type EnrichmentStrategyMethod = "CHUNK_ENTITY_EXTRACTION";
|
|
265
342
|
/**
|
|
266
343
|
* Type definition for `AWS::Bedrock::DataSource.FixedSizeChunkingConfiguration`.
|
|
267
344
|
* Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy as NONE, exclude this field.
|
|
@@ -579,7 +656,7 @@ export type SharePointSourceConfiguration = {
|
|
|
579
656
|
/**
|
|
580
657
|
* The supported authentication type to authenticate and connect to your SharePoint site/sites.
|
|
581
658
|
*/
|
|
582
|
-
AuthType: "OAUTH2_CLIENT_CREDENTIALS";
|
|
659
|
+
AuthType: "OAUTH2_CLIENT_CREDENTIALS" | "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS";
|
|
583
660
|
/**
|
|
584
661
|
* The Amazon Resource Name of an AWS Secrets Manager secret that stores your authentication credentials for your SharePoint site/sites. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see SharePoint connection configuration.
|
|
585
662
|
* @pattern `^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$`
|
|
@@ -670,6 +747,10 @@ export type VectorIngestionConfiguration = {
|
|
|
670
747
|
* Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
|
|
671
748
|
*/
|
|
672
749
|
ChunkingConfiguration?: ChunkingConfiguration;
|
|
750
|
+
/**
|
|
751
|
+
* Additional Enrichment Configuration for example when using GraphRag.
|
|
752
|
+
*/
|
|
753
|
+
ContextEnrichmentConfiguration?: ContextEnrichmentConfiguration;
|
|
673
754
|
/**
|
|
674
755
|
* Settings for customizing steps in the data source content ingestion pipeline.
|
|
675
756
|
*/
|
|
@@ -705,6 +786,12 @@ export type WebCrawlerConfiguration = {
|
|
|
705
786
|
* The scope that a web crawl job will be restricted to.
|
|
706
787
|
*/
|
|
707
788
|
Scope?: WebScopeType;
|
|
789
|
+
/**
|
|
790
|
+
* The suffix that will be included in the user agent header.
|
|
791
|
+
* @minLength `15`
|
|
792
|
+
* @maxLength `40`
|
|
793
|
+
*/
|
|
794
|
+
UserAgent?: string;
|
|
708
795
|
};
|
|
709
796
|
/**
|
|
710
797
|
* Type definition for `AWS::Bedrock::DataSource.WebCrawlerLimits`.
|
|
@@ -712,6 +799,11 @@ export type WebCrawlerConfiguration = {
|
|
|
712
799
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-webcrawlerlimits.html}
|
|
713
800
|
*/
|
|
714
801
|
export type WebCrawlerLimits = {
|
|
802
|
+
/**
|
|
803
|
+
* Maximum number of pages the crawler can crawl.
|
|
804
|
+
* @min `1`
|
|
805
|
+
*/
|
|
806
|
+
MaxPages?: number;
|
|
715
807
|
/**
|
|
716
808
|
* Rate of web URLs retrieved per minute.
|
|
717
809
|
* @min `1`
|
|
@@ -169,7 +169,7 @@ export type KnowledgeBaseStatus = "CREATING" | "ACTIVE" | "DELETING" | "UPDATING
|
|
|
169
169
|
* The storage type of a knowledge base.
|
|
170
170
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-knowledgebasestoragetype.html}
|
|
171
171
|
*/
|
|
172
|
-
export type KnowledgeBaseStorageType = "OPENSEARCH_SERVERLESS" | "PINECONE" | "RDS" | "MONGO_DB_ATLAS";
|
|
172
|
+
export type KnowledgeBaseStorageType = "OPENSEARCH_SERVERLESS" | "PINECONE" | "RDS" | "MONGO_DB_ATLAS" | "NEPTUNE_ANALYTICS";
|
|
173
173
|
/**
|
|
174
174
|
* Type definition for `AWS::Bedrock::KnowledgeBase.KnowledgeBaseType`.
|
|
175
175
|
* The type of a knowledge base.
|
|
@@ -247,6 +247,43 @@ export type MongoDbAtlasFieldMapping = {
|
|
|
247
247
|
*/
|
|
248
248
|
VectorField: string;
|
|
249
249
|
};
|
|
250
|
+
/**
|
|
251
|
+
* Type definition for `AWS::Bedrock::KnowledgeBase.NeptuneAnalyticsConfiguration`.
|
|
252
|
+
* Contains the configurations to use Neptune Analytics as Vector Store.
|
|
253
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-neptuneanalyticsconfiguration.html}
|
|
254
|
+
*/
|
|
255
|
+
export type NeptuneAnalyticsConfiguration = {
|
|
256
|
+
/**
|
|
257
|
+
* A mapping of Bedrock Knowledge Base fields to Neptune Analytics fields.
|
|
258
|
+
*/
|
|
259
|
+
FieldMapping: NeptuneAnalyticsFieldMapping;
|
|
260
|
+
/**
|
|
261
|
+
* ARN for Neptune Analytics graph database.
|
|
262
|
+
* @minLength `1`
|
|
263
|
+
* @maxLength `255`
|
|
264
|
+
* @pattern `^arn:aws(|-cn|-us-gov):neptune-graph:[a-zA-Z0-9-]*:[0-9]{12}:graph\/g-[a-zA-Z0-9]{10}$`
|
|
265
|
+
*/
|
|
266
|
+
GraphArn: string;
|
|
267
|
+
};
|
|
268
|
+
/**
|
|
269
|
+
* Type definition for `AWS::Bedrock::KnowledgeBase.NeptuneAnalyticsFieldMapping`.
|
|
270
|
+
* A mapping of Bedrock Knowledge Base fields to Neptune Analytics fields.
|
|
271
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-neptuneanalyticsfieldmapping.html}
|
|
272
|
+
*/
|
|
273
|
+
export type NeptuneAnalyticsFieldMapping = {
|
|
274
|
+
/**
|
|
275
|
+
* The name of the field in which Amazon Bedrock stores metadata about the vector store.
|
|
276
|
+
* @maxLength `2048`
|
|
277
|
+
* @pattern `^.*$`
|
|
278
|
+
*/
|
|
279
|
+
MetadataField: string;
|
|
280
|
+
/**
|
|
281
|
+
* The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.
|
|
282
|
+
* @maxLength `2048`
|
|
283
|
+
* @pattern `^.*$`
|
|
284
|
+
*/
|
|
285
|
+
TextField: string;
|
|
286
|
+
};
|
|
250
287
|
/**
|
|
251
288
|
* Type definition for `AWS::Bedrock::KnowledgeBase.OpenSearchServerlessConfiguration`.
|
|
252
289
|
* Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.
|
|
@@ -712,6 +749,10 @@ export type StorageConfiguration = {
|
|
|
712
749
|
* Contains the storage configuration of the knowledge base in MongoDb Atlas Cloud.
|
|
713
750
|
*/
|
|
714
751
|
MongoDbAtlasConfiguration?: MongoDbAtlasConfiguration;
|
|
752
|
+
/**
|
|
753
|
+
* Contains the configurations to use Neptune Analytics as Vector Store.
|
|
754
|
+
*/
|
|
755
|
+
NeptuneAnalyticsConfiguration?: NeptuneAnalyticsConfiguration;
|
|
715
756
|
/**
|
|
716
757
|
* Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.
|
|
717
758
|
*/
|
|
@@ -0,0 +1,662 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
|
+
/**
|
|
4
|
+
* Resource type definition for `AWS::DataZone::Connection`.
|
|
5
|
+
* Connections enables users to connect their DataZone resources (domains, projects, and environments) to external resources/services (data, compute, etc)
|
|
6
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-connection.html}
|
|
7
|
+
*/
|
|
8
|
+
export type DataZoneConnectionProperties = {
|
|
9
|
+
/**
|
|
10
|
+
* AWS Location of project
|
|
11
|
+
*/
|
|
12
|
+
AwsLocation?: AwsLocation;
|
|
13
|
+
/**
|
|
14
|
+
* The description of the connection.
|
|
15
|
+
* @maxLength `128`
|
|
16
|
+
* @pattern `^[\S\s]*$`
|
|
17
|
+
*/
|
|
18
|
+
Description?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The identifier of the domain in which the connection is created.
|
|
21
|
+
* @pattern `^dzd[_][a-zA-Z0-9_-]{1,36}$`
|
|
22
|
+
*/
|
|
23
|
+
DomainIdentifier: string;
|
|
24
|
+
/**
|
|
25
|
+
* The identifier of the environment in which the connection is created.
|
|
26
|
+
*/
|
|
27
|
+
EnvironmentIdentifier: string;
|
|
28
|
+
/**
|
|
29
|
+
* The name of the connection.
|
|
30
|
+
* @maxLength `64`
|
|
31
|
+
* @pattern `^[\w][\w\.\-\_]*$`
|
|
32
|
+
*/
|
|
33
|
+
Name: string;
|
|
34
|
+
Props?: ConnectionPropertiesInput;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Attribute type definition for `AWS::DataZone::Connection`.
|
|
38
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-connection.html#aws-resource-datazone-connection-return-values}
|
|
39
|
+
*/
|
|
40
|
+
export type DataZoneConnectionAttributes = {
|
|
41
|
+
/**
|
|
42
|
+
* The ID of the connection.
|
|
43
|
+
* @maxLength `128`
|
|
44
|
+
* @pattern `^[a-zA-Z0-9]+$`
|
|
45
|
+
*/
|
|
46
|
+
ConnectionId: string;
|
|
47
|
+
/**
|
|
48
|
+
* The ID of the domain in which the connection is created.
|
|
49
|
+
* @pattern `^dzd[_][a-zA-Z0-9_-]{1,36}$`
|
|
50
|
+
*/
|
|
51
|
+
DomainId: string;
|
|
52
|
+
/**
|
|
53
|
+
* The ID of the domain unit in which the connection is created.
|
|
54
|
+
* @minLength `1`
|
|
55
|
+
* @maxLength `256`
|
|
56
|
+
* @pattern `^[a-z0-9_\-]+$`
|
|
57
|
+
*/
|
|
58
|
+
DomainUnitId: string;
|
|
59
|
+
/**
|
|
60
|
+
* The ID of the environment in which the connection is created.
|
|
61
|
+
* @pattern `^[a-zA-Z0-9_-]{1,36}$`
|
|
62
|
+
*/
|
|
63
|
+
EnvironmentId: string;
|
|
64
|
+
/**
|
|
65
|
+
* The role of the user in the environment.
|
|
66
|
+
*/
|
|
67
|
+
EnvironmentUserRole: string;
|
|
68
|
+
/**
|
|
69
|
+
* The ID of the project in which the connection is created.
|
|
70
|
+
* @pattern `^[a-zA-Z0-9_-]{1,36}$`
|
|
71
|
+
*/
|
|
72
|
+
ProjectId: string;
|
|
73
|
+
/**
|
|
74
|
+
* Connection Type
|
|
75
|
+
*/
|
|
76
|
+
Type: string;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Type definition for `AWS::DataZone::Connection.AthenaPropertiesInput`.
|
|
80
|
+
* Athena Properties Input
|
|
81
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-athenapropertiesinput.html}
|
|
82
|
+
*/
|
|
83
|
+
export type AthenaPropertiesInput = {
|
|
84
|
+
/**
|
|
85
|
+
* @maxLength `128`
|
|
86
|
+
* @pattern `^[a-zA-Z0-9._-]+$`
|
|
87
|
+
*/
|
|
88
|
+
WorkgroupName: string;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* Type definition for `AWS::DataZone::Connection.AuthenticationConfigurationInput`.
|
|
92
|
+
* Authentication Configuration Input
|
|
93
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-authenticationconfigurationinput.html}
|
|
94
|
+
*/
|
|
95
|
+
export type AuthenticationConfigurationInput = {
|
|
96
|
+
/**
|
|
97
|
+
* Authentication Type
|
|
98
|
+
*/
|
|
99
|
+
AuthenticationType?: AuthenticationType;
|
|
100
|
+
/**
|
|
101
|
+
* Basic Authentication Credentials
|
|
102
|
+
*/
|
|
103
|
+
BasicAuthenticationCredentials?: BasicAuthenticationCredentials;
|
|
104
|
+
/**
|
|
105
|
+
* Credential Map
|
|
106
|
+
*/
|
|
107
|
+
CustomAuthenticationCredentials?: CredentialMap;
|
|
108
|
+
/**
|
|
109
|
+
* @pattern `^$|arn:aws[a-z0-9-]*:kms:.*$`
|
|
110
|
+
*/
|
|
111
|
+
KmsKeyArn?: string;
|
|
112
|
+
/**
|
|
113
|
+
* OAuth2 Properties
|
|
114
|
+
*/
|
|
115
|
+
OAuth2Properties?: OAuth2Properties;
|
|
116
|
+
/**
|
|
117
|
+
* @pattern `^arn:aws(-(cn|us-gov|iso(-[bef])?))?:secretsmanager:.*$`
|
|
118
|
+
*/
|
|
119
|
+
SecretArn?: string;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* Type definition for `AWS::DataZone::Connection.AuthenticationType`.
|
|
123
|
+
* Authentication Type
|
|
124
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-authenticationtype.html}
|
|
125
|
+
*/
|
|
126
|
+
export type AuthenticationType = "BASIC" | "OAUTH2" | "CUSTOM";
|
|
127
|
+
/**
|
|
128
|
+
* Type definition for `AWS::DataZone::Connection.AuthorizationCodeProperties`.
|
|
129
|
+
* Authorization Code Properties
|
|
130
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-authorizationcodeproperties.html}
|
|
131
|
+
*/
|
|
132
|
+
export type AuthorizationCodeProperties = {
|
|
133
|
+
/**
|
|
134
|
+
* @minLength `1`
|
|
135
|
+
* @maxLength `4096`
|
|
136
|
+
*/
|
|
137
|
+
AuthorizationCode?: string;
|
|
138
|
+
/**
|
|
139
|
+
* @maxLength `512`
|
|
140
|
+
*/
|
|
141
|
+
RedirectUri?: string;
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* Type definition for `AWS::DataZone::Connection.AwsLocation`.
|
|
145
|
+
* AWS Location of project
|
|
146
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-awslocation.html}
|
|
147
|
+
*/
|
|
148
|
+
export type AwsLocation = {
|
|
149
|
+
/**
|
|
150
|
+
* @maxLength `2048`
|
|
151
|
+
* @pattern `^arn:aws[^:]*:iam::\d{12}:(role|role/service-role)/[\w+=,.@-]*$`
|
|
152
|
+
*/
|
|
153
|
+
AccessRole?: string;
|
|
154
|
+
/**
|
|
155
|
+
* @pattern `^\d{12}$`
|
|
156
|
+
*/
|
|
157
|
+
AwsAccountId?: string;
|
|
158
|
+
/**
|
|
159
|
+
* @pattern `^[a-z]{2}-[a-z]{4,10}-\d$`
|
|
160
|
+
*/
|
|
161
|
+
AwsRegion?: string;
|
|
162
|
+
/**
|
|
163
|
+
* @maxLength `128`
|
|
164
|
+
* @pattern `^[a-zA-Z0-9]+$`
|
|
165
|
+
*/
|
|
166
|
+
IamConnectionId?: string;
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* Type definition for `AWS::DataZone::Connection.BasicAuthenticationCredentials`.
|
|
170
|
+
* Basic Authentication Credentials
|
|
171
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-basicauthenticationcredentials.html}
|
|
172
|
+
*/
|
|
173
|
+
export type BasicAuthenticationCredentials = {
|
|
174
|
+
/**
|
|
175
|
+
* @maxLength `512`
|
|
176
|
+
* @pattern `^.*$`
|
|
177
|
+
*/
|
|
178
|
+
Password?: string;
|
|
179
|
+
/**
|
|
180
|
+
* @maxLength `512`
|
|
181
|
+
* @pattern `^\S+$`
|
|
182
|
+
*/
|
|
183
|
+
UserName?: string;
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* Type definition for `AWS::DataZone::Connection.ConnectionProperties`.
|
|
187
|
+
* Connection Properties
|
|
188
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-connectionproperties.html}
|
|
189
|
+
*/
|
|
190
|
+
export type ConnectionProperties = Record<string, string>;
|
|
191
|
+
/**
|
|
192
|
+
* Type definition for `AWS::DataZone::Connection.ConnectionPropertiesInput`.
|
|
193
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-connectionpropertiesinput.html}
|
|
194
|
+
*/
|
|
195
|
+
export type ConnectionPropertiesInput = {
|
|
196
|
+
/**
|
|
197
|
+
* Athena Properties Input
|
|
198
|
+
*/
|
|
199
|
+
AthenaProperties: AthenaPropertiesInput;
|
|
200
|
+
} | {
|
|
201
|
+
/**
|
|
202
|
+
* Glue Properties Input
|
|
203
|
+
*/
|
|
204
|
+
GlueProperties: GluePropertiesInput;
|
|
205
|
+
} | {
|
|
206
|
+
/**
|
|
207
|
+
* HyperPod Properties Input
|
|
208
|
+
*/
|
|
209
|
+
HyperPodProperties: HyperPodPropertiesInput;
|
|
210
|
+
} | {
|
|
211
|
+
/**
|
|
212
|
+
* IAM Properties Input
|
|
213
|
+
*/
|
|
214
|
+
IamProperties: IamPropertiesInput;
|
|
215
|
+
} | {
|
|
216
|
+
/**
|
|
217
|
+
* Redshift Properties Input
|
|
218
|
+
*/
|
|
219
|
+
RedshiftProperties: RedshiftPropertiesInput;
|
|
220
|
+
} | {
|
|
221
|
+
/**
|
|
222
|
+
* Spark EMR Properties Input.
|
|
223
|
+
*/
|
|
224
|
+
SparkEmrProperties: SparkEmrPropertiesInput;
|
|
225
|
+
} | {
|
|
226
|
+
/**
|
|
227
|
+
* Spark Glue Properties Input.
|
|
228
|
+
*/
|
|
229
|
+
SparkGlueProperties: SparkGluePropertiesInput;
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* Type definition for `AWS::DataZone::Connection.CredentialMap`.
|
|
233
|
+
* Credential Map
|
|
234
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-credentialmap.html}
|
|
235
|
+
*/
|
|
236
|
+
export type CredentialMap = Record<string, string>;
|
|
237
|
+
/**
|
|
238
|
+
* Type definition for `AWS::DataZone::Connection.GlueConnectionInput`.
|
|
239
|
+
* Glue Connection Input
|
|
240
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-glueconnectioninput.html}
|
|
241
|
+
*/
|
|
242
|
+
export type GlueConnectionInput = {
|
|
243
|
+
/**
|
|
244
|
+
* Property Map
|
|
245
|
+
*/
|
|
246
|
+
AthenaProperties?: PropertyMap;
|
|
247
|
+
/**
|
|
248
|
+
* Authentication Configuration Input
|
|
249
|
+
*/
|
|
250
|
+
AuthenticationConfiguration?: AuthenticationConfigurationInput;
|
|
251
|
+
/**
|
|
252
|
+
* Connection Properties
|
|
253
|
+
*/
|
|
254
|
+
ConnectionProperties?: ConnectionProperties;
|
|
255
|
+
/**
|
|
256
|
+
* Glue Connection Type
|
|
257
|
+
*/
|
|
258
|
+
ConnectionType?: string;
|
|
259
|
+
/**
|
|
260
|
+
* @maxLength `2048`
|
|
261
|
+
* @pattern `^[\u0020-\uD7FF\uE000-\uFFFF\r\n\t]*$`
|
|
262
|
+
*/
|
|
263
|
+
Description?: string;
|
|
264
|
+
/**
|
|
265
|
+
* @minLength `0`
|
|
266
|
+
* @maxLength `10`
|
|
267
|
+
*/
|
|
268
|
+
MatchCriteria?: string;
|
|
269
|
+
/**
|
|
270
|
+
* @minLength `1`
|
|
271
|
+
* @maxLength `255`
|
|
272
|
+
* @pattern `^[\u0020-\uD7FF\uE000-\uFFFF\t]*$`
|
|
273
|
+
*/
|
|
274
|
+
Name?: string;
|
|
275
|
+
/**
|
|
276
|
+
* Physical Connection Requirements
|
|
277
|
+
*/
|
|
278
|
+
PhysicalConnectionRequirements?: PhysicalConnectionRequirements;
|
|
279
|
+
/**
|
|
280
|
+
* Property Map
|
|
281
|
+
*/
|
|
282
|
+
PythonProperties?: PropertyMap;
|
|
283
|
+
/**
|
|
284
|
+
* Property Map
|
|
285
|
+
*/
|
|
286
|
+
SparkProperties?: PropertyMap;
|
|
287
|
+
ValidateCredentials?: boolean;
|
|
288
|
+
/**
|
|
289
|
+
* @minLength `1`
|
|
290
|
+
* @maxLength `50`
|
|
291
|
+
*/
|
|
292
|
+
ValidateForComputeEnvironments?: string[];
|
|
293
|
+
};
|
|
294
|
+
/**
|
|
295
|
+
* Type definition for `AWS::DataZone::Connection.GlueOAuth2Credentials`.
|
|
296
|
+
* Glue OAuth2 Credentials
|
|
297
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-glueoauth2credentials.html}
|
|
298
|
+
*/
|
|
299
|
+
export type GlueOAuth2Credentials = {
|
|
300
|
+
/**
|
|
301
|
+
* @maxLength `4096`
|
|
302
|
+
* @pattern `^[\x20-\x7E]*$`
|
|
303
|
+
*/
|
|
304
|
+
AccessToken?: string;
|
|
305
|
+
/**
|
|
306
|
+
* @maxLength `8000`
|
|
307
|
+
* @pattern `^([a-zA-Z0-9_=]+)\.([a-zA-Z0-9_=]+)\.([a-zA-Z0-9_\-\+\/=]*)$`
|
|
308
|
+
*/
|
|
309
|
+
JwtToken?: string;
|
|
310
|
+
/**
|
|
311
|
+
* @maxLength `4096`
|
|
312
|
+
* @pattern `^[\x20-\x7E]*$`
|
|
313
|
+
*/
|
|
314
|
+
RefreshToken?: string;
|
|
315
|
+
/**
|
|
316
|
+
* @maxLength `512`
|
|
317
|
+
* @pattern `^[\x20-\x7E]*$`
|
|
318
|
+
*/
|
|
319
|
+
UserManagedClientApplicationClientSecret?: string;
|
|
320
|
+
};
|
|
321
|
+
/**
|
|
322
|
+
* Type definition for `AWS::DataZone::Connection.GluePropertiesInput`.
|
|
323
|
+
* Glue Properties Input
|
|
324
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-gluepropertiesinput.html}
|
|
325
|
+
*/
|
|
326
|
+
export type GluePropertiesInput = {
|
|
327
|
+
/**
|
|
328
|
+
* Glue Connection Input
|
|
329
|
+
*/
|
|
330
|
+
GlueConnectionInput?: GlueConnectionInput;
|
|
331
|
+
};
|
|
332
|
+
/**
|
|
333
|
+
* Type definition for `AWS::DataZone::Connection.HyperPodPropertiesInput`.
|
|
334
|
+
* HyperPod Properties Input
|
|
335
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-hyperpodpropertiesinput.html}
|
|
336
|
+
*/
|
|
337
|
+
export type HyperPodPropertiesInput = {
|
|
338
|
+
/**
|
|
339
|
+
* @minLength `1`
|
|
340
|
+
* @maxLength `63`
|
|
341
|
+
* @pattern `^[a-zA-Z0-9](-*[a-zA-Z0-9])*$`
|
|
342
|
+
*/
|
|
343
|
+
ClusterName: string;
|
|
344
|
+
};
|
|
345
|
+
/**
|
|
346
|
+
* Type definition for `AWS::DataZone::Connection.IamPropertiesInput`.
|
|
347
|
+
* IAM Properties Input
|
|
348
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-iampropertiesinput.html}
|
|
349
|
+
*/
|
|
350
|
+
export type IamPropertiesInput = {
|
|
351
|
+
GlueLineageSyncEnabled?: boolean;
|
|
352
|
+
};
|
|
353
|
+
/**
|
|
354
|
+
* Type definition for `AWS::DataZone::Connection.LineageSyncSchedule`.
|
|
355
|
+
* Lineage Sync Schedule
|
|
356
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-lineagesyncschedule.html}
|
|
357
|
+
*/
|
|
358
|
+
export type LineageSyncSchedule = {
|
|
359
|
+
/**
|
|
360
|
+
* @pattern `^cron\((\b[0-5]?[0-9]\b) (\b2[0-3]\b|\b[0-1]?[0-9]\b) ([-?*,/\dLW]){1,83} ([-*,/\d]|[a-zA-Z]{3}){1,23} ([-?#*,/\dL]|[a-zA-Z]{3}){1,13} ([^\)]+)\)$`
|
|
361
|
+
*/
|
|
362
|
+
Schedule?: string;
|
|
363
|
+
};
|
|
364
|
+
/**
|
|
365
|
+
* Type definition for `AWS::DataZone::Connection.OAuth2ClientApplication`.
|
|
366
|
+
* OAuth2 Client Application
|
|
367
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-oauth2clientapplication.html}
|
|
368
|
+
*/
|
|
369
|
+
export type OAuth2ClientApplication = {
|
|
370
|
+
/**
|
|
371
|
+
* @maxLength `2048`
|
|
372
|
+
* @pattern `^\S+$`
|
|
373
|
+
*/
|
|
374
|
+
AWSManagedClientApplicationReference?: string;
|
|
375
|
+
/**
|
|
376
|
+
* @maxLength `2048`
|
|
377
|
+
* @pattern `^\S+$`
|
|
378
|
+
*/
|
|
379
|
+
UserManagedClientApplicationClientId?: string;
|
|
380
|
+
};
|
|
381
|
+
/**
|
|
382
|
+
* Type definition for `AWS::DataZone::Connection.OAuth2GrantType`.
|
|
383
|
+
* OAuth2 Grant Type
|
|
384
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-oauth2granttype.html}
|
|
385
|
+
*/
|
|
386
|
+
export type OAuth2GrantType = "AUTHORIZATION_CODE" | "CLIENT_CREDENTIALS" | "JWT_BEARER";
|
|
387
|
+
/**
|
|
388
|
+
* Type definition for `AWS::DataZone::Connection.OAuth2Properties`.
|
|
389
|
+
* OAuth2 Properties
|
|
390
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-oauth2properties.html}
|
|
391
|
+
*/
|
|
392
|
+
export type OAuth2Properties = {
|
|
393
|
+
/**
|
|
394
|
+
* Authorization Code Properties
|
|
395
|
+
*/
|
|
396
|
+
AuthorizationCodeProperties?: AuthorizationCodeProperties;
|
|
397
|
+
/**
|
|
398
|
+
* OAuth2 Client Application
|
|
399
|
+
*/
|
|
400
|
+
OAuth2ClientApplication?: OAuth2ClientApplication;
|
|
401
|
+
/**
|
|
402
|
+
* Glue OAuth2 Credentials
|
|
403
|
+
*/
|
|
404
|
+
OAuth2Credentials?: GlueOAuth2Credentials;
|
|
405
|
+
/**
|
|
406
|
+
* OAuth2 Grant Type
|
|
407
|
+
*/
|
|
408
|
+
OAuth2GrantType?: OAuth2GrantType;
|
|
409
|
+
/**
|
|
410
|
+
* @maxLength `256`
|
|
411
|
+
* @pattern `^(https?)://[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]$`
|
|
412
|
+
*/
|
|
413
|
+
TokenUrl?: string;
|
|
414
|
+
/**
|
|
415
|
+
* The token URL parameters.
|
|
416
|
+
*/
|
|
417
|
+
TokenUrlParametersMap?: TokenUrlParametersMap;
|
|
418
|
+
};
|
|
419
|
+
/**
|
|
420
|
+
* Type definition for `AWS::DataZone::Connection.PhysicalConnectionRequirements`.
|
|
421
|
+
* Physical Connection Requirements
|
|
422
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-physicalconnectionrequirements.html}
|
|
423
|
+
*/
|
|
424
|
+
export type PhysicalConnectionRequirements = {
|
|
425
|
+
/**
|
|
426
|
+
* @minLength `1`
|
|
427
|
+
* @maxLength `255`
|
|
428
|
+
*/
|
|
429
|
+
AvailabilityZone?: string;
|
|
430
|
+
/**
|
|
431
|
+
* @minLength `0`
|
|
432
|
+
* @maxLength `50`
|
|
433
|
+
*/
|
|
434
|
+
SecurityGroupIdList?: string[];
|
|
435
|
+
/**
|
|
436
|
+
* @maxLength `32`
|
|
437
|
+
* @pattern `^subnet-[a-z0-9]+$`
|
|
438
|
+
*/
|
|
439
|
+
SubnetId?: string;
|
|
440
|
+
/**
|
|
441
|
+
* @minLength `1`
|
|
442
|
+
* @maxLength `50`
|
|
443
|
+
*/
|
|
444
|
+
SubnetIdList?: string[];
|
|
445
|
+
};
|
|
446
|
+
/**
|
|
447
|
+
* Type definition for `AWS::DataZone::Connection.PropertyMap`.
|
|
448
|
+
* Property Map
|
|
449
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-propertymap.html}
|
|
450
|
+
*/
|
|
451
|
+
export type PropertyMap = Record<string, string>;
|
|
452
|
+
/**
|
|
453
|
+
* Type definition for `AWS::DataZone::Connection.RedshiftCredentials`.
|
|
454
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-redshiftcredentials.html}
|
|
455
|
+
*/
|
|
456
|
+
export type RedshiftCredentials = {
|
|
457
|
+
/**
|
|
458
|
+
* @maxLength `2048`
|
|
459
|
+
* @pattern `^arn:aws[^:]*:secretsmanager:[a-z]{2}-?(iso|gov)?-{1}[a-z]*-{1}[0-9]:\d{12}:secret:.*$`
|
|
460
|
+
*/
|
|
461
|
+
SecretArn: string;
|
|
462
|
+
} | {
|
|
463
|
+
/**
|
|
464
|
+
* The username and password to be used for authentication.
|
|
465
|
+
*/
|
|
466
|
+
UsernamePassword: UsernamePassword;
|
|
467
|
+
};
|
|
468
|
+
/**
|
|
469
|
+
* Type definition for `AWS::DataZone::Connection.RedshiftLineageSyncConfigurationInput`.
|
|
470
|
+
* Redshift Lineage Sync Configuration Input
|
|
471
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-redshiftlineagesyncconfigurationinput.html}
|
|
472
|
+
*/
|
|
473
|
+
export type RedshiftLineageSyncConfigurationInput = {
|
|
474
|
+
Enabled?: boolean;
|
|
475
|
+
/**
|
|
476
|
+
* Lineage Sync Schedule
|
|
477
|
+
*/
|
|
478
|
+
Schedule?: LineageSyncSchedule;
|
|
479
|
+
};
|
|
480
|
+
/**
|
|
481
|
+
* Type definition for `AWS::DataZone::Connection.RedshiftPropertiesInput`.
|
|
482
|
+
* Redshift Properties Input
|
|
483
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-redshiftpropertiesinput.html}
|
|
484
|
+
*/
|
|
485
|
+
export type RedshiftPropertiesInput = {
|
|
486
|
+
Credentials?: RedshiftCredentials;
|
|
487
|
+
/**
|
|
488
|
+
* @minLength `1`
|
|
489
|
+
* @maxLength `64`
|
|
490
|
+
* @pattern `^[a-z0-9]+$`
|
|
491
|
+
*/
|
|
492
|
+
DatabaseName?: string;
|
|
493
|
+
/**
|
|
494
|
+
* @maxLength `256`
|
|
495
|
+
* @pattern `^[\S]*$`
|
|
496
|
+
*/
|
|
497
|
+
Host?: string;
|
|
498
|
+
/**
|
|
499
|
+
* Redshift Lineage Sync Configuration Input
|
|
500
|
+
*/
|
|
501
|
+
LineageSync?: RedshiftLineageSyncConfigurationInput;
|
|
502
|
+
/**
|
|
503
|
+
* @min `0`
|
|
504
|
+
* @max `65535`
|
|
505
|
+
*/
|
|
506
|
+
Port?: number;
|
|
507
|
+
Storage?: RedshiftStorageProperties;
|
|
508
|
+
};
|
|
509
|
+
/**
|
|
510
|
+
* Type definition for `AWS::DataZone::Connection.RedshiftStorageProperties`.
|
|
511
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-redshiftstorageproperties.html}
|
|
512
|
+
*/
|
|
513
|
+
export type RedshiftStorageProperties = {
|
|
514
|
+
/**
|
|
515
|
+
* @minLength `0`
|
|
516
|
+
* @maxLength `63`
|
|
517
|
+
* @pattern `^[a-z0-9-]+$`
|
|
518
|
+
*/
|
|
519
|
+
ClusterName: string;
|
|
520
|
+
} | {
|
|
521
|
+
/**
|
|
522
|
+
* @minLength `3`
|
|
523
|
+
* @maxLength `64`
|
|
524
|
+
* @pattern `^[a-z0-9-]+$`
|
|
525
|
+
*/
|
|
526
|
+
WorkgroupName: string;
|
|
527
|
+
};
|
|
528
|
+
/**
|
|
529
|
+
* Type definition for `AWS::DataZone::Connection.SparkEmrPropertiesInput`.
|
|
530
|
+
* Spark EMR Properties Input.
|
|
531
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkemrpropertiesinput.html}
|
|
532
|
+
*/
|
|
533
|
+
export type SparkEmrPropertiesInput = {
|
|
534
|
+
/**
|
|
535
|
+
* @maxLength `2048`
|
|
536
|
+
* @pattern `^arn:aws(-(cn|us-gov|iso(-[bef])?))?:(elasticmapreduce|emr-serverless):.*`
|
|
537
|
+
*/
|
|
538
|
+
ComputeArn?: string;
|
|
539
|
+
/**
|
|
540
|
+
* @maxLength `2048`
|
|
541
|
+
* @pattern `^arn:aws[^:]*:iam::\d{12}:(role|role/service-role)/[\w+=,.@-]*$`
|
|
542
|
+
*/
|
|
543
|
+
InstanceProfileArn?: string;
|
|
544
|
+
/**
|
|
545
|
+
* @maxLength `256`
|
|
546
|
+
* @pattern `^[\S]*$`
|
|
547
|
+
*/
|
|
548
|
+
JavaVirtualEnv?: string;
|
|
549
|
+
/**
|
|
550
|
+
* @maxLength `2048`
|
|
551
|
+
* @pattern `^s3://.+$`
|
|
552
|
+
*/
|
|
553
|
+
LogUri?: string;
|
|
554
|
+
/**
|
|
555
|
+
* @maxLength `256`
|
|
556
|
+
* @pattern `^[\S]*$`
|
|
557
|
+
*/
|
|
558
|
+
PythonVirtualEnv?: string;
|
|
559
|
+
/**
|
|
560
|
+
* @maxLength `2048`
|
|
561
|
+
* @pattern `^arn:aws[^:]*:iam::\d{12}:(role|role/service-role)/[\w+=,.@-]*$`
|
|
562
|
+
*/
|
|
563
|
+
RuntimeRole?: string;
|
|
564
|
+
/**
|
|
565
|
+
* @maxLength `2048`
|
|
566
|
+
* @pattern `^s3://.+$`
|
|
567
|
+
*/
|
|
568
|
+
TrustedCertificatesS3Uri?: string;
|
|
569
|
+
};
|
|
570
|
+
/**
|
|
571
|
+
* Type definition for `AWS::DataZone::Connection.SparkGlueArgs`.
|
|
572
|
+
* Spark Glue Args.
|
|
573
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkglueargs.html}
|
|
574
|
+
*/
|
|
575
|
+
export type SparkGlueArgs = {
|
|
576
|
+
/**
|
|
577
|
+
* @maxLength `128`
|
|
578
|
+
* @pattern `^[a-zA-Z0-9]+$`
|
|
579
|
+
*/
|
|
580
|
+
Connection?: string;
|
|
581
|
+
};
|
|
582
|
+
/**
|
|
583
|
+
* Type definition for `AWS::DataZone::Connection.SparkGluePropertiesInput`.
|
|
584
|
+
* Spark Glue Properties Input.
|
|
585
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-sparkgluepropertiesinput.html}
|
|
586
|
+
*/
|
|
587
|
+
export type SparkGluePropertiesInput = {
|
|
588
|
+
/**
|
|
589
|
+
* Spark Glue Args.
|
|
590
|
+
*/
|
|
591
|
+
AdditionalArgs?: SparkGlueArgs;
|
|
592
|
+
/**
|
|
593
|
+
* @minLength `1`
|
|
594
|
+
* @maxLength `255`
|
|
595
|
+
* @pattern `^[\S]*$`
|
|
596
|
+
*/
|
|
597
|
+
GlueConnectionName?: string;
|
|
598
|
+
/**
|
|
599
|
+
* @maxLength `256`
|
|
600
|
+
* @pattern `^\w+\.\w+$`
|
|
601
|
+
*/
|
|
602
|
+
GlueVersion?: string;
|
|
603
|
+
/**
|
|
604
|
+
* @min `1`
|
|
605
|
+
* @max `3000`
|
|
606
|
+
*/
|
|
607
|
+
IdleTimeout?: number;
|
|
608
|
+
/**
|
|
609
|
+
* @maxLength `256`
|
|
610
|
+
* @pattern `^[\S]*$`
|
|
611
|
+
*/
|
|
612
|
+
JavaVirtualEnv?: string;
|
|
613
|
+
/**
|
|
614
|
+
* @min `1`
|
|
615
|
+
* @max `1000`
|
|
616
|
+
*/
|
|
617
|
+
NumberOfWorkers?: number;
|
|
618
|
+
/**
|
|
619
|
+
* @maxLength `256`
|
|
620
|
+
* @pattern `^[\S]*$`
|
|
621
|
+
*/
|
|
622
|
+
PythonVirtualEnv?: string;
|
|
623
|
+
/**
|
|
624
|
+
* @maxLength `256`
|
|
625
|
+
* @pattern `^[G|Z].*$`
|
|
626
|
+
*/
|
|
627
|
+
WorkerType?: string;
|
|
628
|
+
};
|
|
629
|
+
/**
|
|
630
|
+
* Type definition for `AWS::DataZone::Connection.TokenUrlParametersMap`.
|
|
631
|
+
* The token URL parameters.
|
|
632
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-tokenurlparametersmap.html}
|
|
633
|
+
*/
|
|
634
|
+
export type TokenUrlParametersMap = Record<string, string>;
|
|
635
|
+
/**
|
|
636
|
+
* Type definition for `AWS::DataZone::Connection.UsernamePassword`.
|
|
637
|
+
* The username and password to be used for authentication.
|
|
638
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-usernamepassword.html}
|
|
639
|
+
*/
|
|
640
|
+
export type UsernamePassword = {
|
|
641
|
+
/**
|
|
642
|
+
* @maxLength `64`
|
|
643
|
+
* @pattern `^[\S]*$`
|
|
644
|
+
*/
|
|
645
|
+
Password: string;
|
|
646
|
+
/**
|
|
647
|
+
* @minLength `1`
|
|
648
|
+
* @maxLength `127`
|
|
649
|
+
* @pattern `^[\S]*$`
|
|
650
|
+
*/
|
|
651
|
+
Username: string;
|
|
652
|
+
};
|
|
653
|
+
/**
|
|
654
|
+
* Resource type definition for `AWS::DataZone::Connection`.
|
|
655
|
+
* Connections enables users to connect their DataZone resources (domains, projects, and environments) to external resources/services (data, compute, etc)
|
|
656
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-connection.html}
|
|
657
|
+
*/
|
|
658
|
+
export declare class DataZoneConnection extends $Resource<"AWS::DataZone::Connection", DataZoneConnectionProperties, DataZoneConnectionAttributes> {
|
|
659
|
+
static readonly Type = "AWS::DataZone::Connection";
|
|
660
|
+
constructor(logicalId: string, properties: DataZoneConnectionProperties, options?: $ResourceOptions);
|
|
661
|
+
}
|
|
662
|
+
//# sourceMappingURL=AWS-DataZone-Connection.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource type definition for `AWS::DataZone::Connection`.
|
|
4
|
+
* Connections enables users to connect their DataZone resources (domains, projects, and environments) to external resources/services (data, compute, etc)
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-connection.html}
|
|
6
|
+
*/
|
|
7
|
+
export class DataZoneConnection extends $Resource {
|
|
8
|
+
static Type = "AWS::DataZone::Connection";
|
|
9
|
+
constructor(logicalId, properties, options) {
|
|
10
|
+
super(logicalId, DataZoneConnection.Type, properties, options);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=AWS-DataZone-Connection.js.map
|
|
@@ -75,6 +75,13 @@ export type DataZoneDomainAttributes = {
|
|
|
75
75
|
* The URL of the data portal for this Amazon DataZone domain.
|
|
76
76
|
*/
|
|
77
77
|
PortalUrl: string;
|
|
78
|
+
/**
|
|
79
|
+
* The ID of the root domain in Amazon Datazone.
|
|
80
|
+
* @minLength `1`
|
|
81
|
+
* @maxLength `256`
|
|
82
|
+
* @pattern `^[a-z0-9_\-]+$`
|
|
83
|
+
*/
|
|
84
|
+
RootDomainUnitId: string;
|
|
78
85
|
/**
|
|
79
86
|
* The status of the Amazon DataZone domain.
|
|
80
87
|
*/
|
|
@@ -18,12 +18,22 @@ export type RUMAppMonitorProperties = {
|
|
|
18
18
|
*/
|
|
19
19
|
CwLogEnabled?: boolean;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* A structure that contains the configuration for how an app monitor can deobfuscate stack traces.
|
|
22
|
+
*/
|
|
23
|
+
DeobfuscationConfiguration?: DeobfuscationConfiguration;
|
|
24
|
+
/**
|
|
25
|
+
* The top-level internet domain name for which your application has administrative authority. The CreateAppMonitor requires either the domain or the domain list.
|
|
22
26
|
* @minLength `1`
|
|
23
27
|
* @maxLength `253`
|
|
24
28
|
* @pattern `^(localhost)|^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$|^(?![-.])([A-Za-z0-9-\.\-]{0,63})((?![-])([a-zA-Z0-9]{1}|^[a-zA-Z0-9]{0,1}))\.(?![-])[A-Za-z-0-9]{1,63}((?![-])([a-zA-Z0-9]{1}|^[a-zA-Z0-9]{0,1}))|^(\*\.)(?![-.])([A-Za-z0-9-\.\-]{0,63})((?![-])([a-zA-Z0-9]{1}|^[a-zA-Z0-9]{0,1}))\.(?![-])[A-Za-z-0-9]{1,63}((?![-])([a-zA-Z0-9]{1}|^[a-zA-Z0-9]{0,1}))`
|
|
25
29
|
*/
|
|
26
|
-
Domain
|
|
30
|
+
Domain?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The top-level internet domain names for which your application has administrative authority. The CreateAppMonitor requires either the domain or the domain list.
|
|
33
|
+
* @minLength `1`
|
|
34
|
+
* @maxLength `5`
|
|
35
|
+
*/
|
|
36
|
+
DomainList?: unknown[];
|
|
27
37
|
/**
|
|
28
38
|
* A name for the app monitor
|
|
29
39
|
* @minLength `1`
|
|
@@ -130,6 +140,27 @@ export type CustomEvents = {
|
|
|
130
140
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-customeventsstatus.html}
|
|
131
141
|
*/
|
|
132
142
|
export type CustomEventsStatus = "ENABLED" | "DISABLED";
|
|
143
|
+
/**
|
|
144
|
+
* Type definition for `AWS::RUM::AppMonitor.DeobfuscationConfiguration`.
|
|
145
|
+
* A structure that contains the configuration for how an app monitor can deobfuscate stack traces.
|
|
146
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-deobfuscationconfiguration.html}
|
|
147
|
+
*/
|
|
148
|
+
export type DeobfuscationConfiguration = {
|
|
149
|
+
/**
|
|
150
|
+
* A structure that contains the configuration for how an app monitor can unminify JavaScript error stack traces using source maps.
|
|
151
|
+
*/
|
|
152
|
+
JavaScriptSourceMaps?: {
|
|
153
|
+
/**
|
|
154
|
+
* The S3Uri of the bucket or folder that stores the source map files. It is required if status is ENABLED.
|
|
155
|
+
* @pattern `^s3://[a-z0-9][-.a-z0-9]{1,61}(?:/[-!_*'().a-z0-9A-Z]+(?:/[-!_*'().a-z0-9A-Z]+)*)?/?$`
|
|
156
|
+
*/
|
|
157
|
+
S3Uri?: string;
|
|
158
|
+
/**
|
|
159
|
+
* Specifies whether JavaScript error stack traces should be unminified for this app monitor. The default is for JavaScript error stack trace unminification to be DISABLED
|
|
160
|
+
*/
|
|
161
|
+
Status: "ENABLED" | "DISABLED";
|
|
162
|
+
};
|
|
163
|
+
};
|
|
133
164
|
/**
|
|
134
165
|
* Type definition for `AWS::RUM::AppMonitor.MetricDefinition`.
|
|
135
166
|
* A single metric definition
|