@awboost/cfn-resource-types 0.1.42 → 0.1.43
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-AppIntegrations-Application.d.ts +107 -0
- package/lib/AWS-AppIntegrations-Application.js +13 -0
- package/lib/AWS-CodeArtifact-PackageGroup.d.ts +122 -0
- package/lib/AWS-CodeArtifact-PackageGroup.js +13 -0
- package/lib/AWS-Connect-SecurityProfile.d.ts +23 -0
- package/lib/AWS-DynamoDB-GlobalTable.d.ts +16 -0
- package/lib/AWS-DynamoDB-Table.d.ts +9 -0
- package/lib/AWS-EC2-Instance.d.ts +289 -43
- package/lib/AWS-EFS-FileSystem.d.ts +1 -1
- package/lib/AWS-GameLift-GameServerGroup.d.ts +8 -8
- package/lib/AWS-Glue-Crawler.d.ts +9 -0
- package/lib/AWS-IoTSiteWise-Gateway.d.ts +15 -0
- package/lib/AWS-SecurityHub-DelegatedAdmin.d.ts +37 -0
- package/lib/AWS-SecurityHub-DelegatedAdmin.js +12 -0
- package/lib/AWS-SecurityHub-Insight.d.ts +671 -0
- package/lib/AWS-SecurityHub-Insight.js +12 -0
- package/lib/AWS-SecurityHub-ProductSubscription.d.ts +33 -0
- package/lib/AWS-SecurityHub-ProductSubscription.js +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1,107 @@
|
|
|
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::AppIntegrations::Application`.
|
|
5
|
+
* Resource Type definition for AWS:AppIntegrations::Application
|
|
6
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-application.html}
|
|
7
|
+
*/
|
|
8
|
+
export type AppIntegrationsApplicationProperties = {
|
|
9
|
+
/**
|
|
10
|
+
* Application source config
|
|
11
|
+
*/
|
|
12
|
+
ApplicationSourceConfig: {
|
|
13
|
+
ExternalUrlConfig: ExternalUrlConfig;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* The application description.
|
|
17
|
+
* @minLength `1`
|
|
18
|
+
* @maxLength `1000`
|
|
19
|
+
*/
|
|
20
|
+
Description: string;
|
|
21
|
+
/**
|
|
22
|
+
* The name of the application.
|
|
23
|
+
* @minLength `1`
|
|
24
|
+
* @maxLength `255`
|
|
25
|
+
* @pattern `^[a-zA-Z0-9/\._\-]+$`
|
|
26
|
+
*/
|
|
27
|
+
Name: string;
|
|
28
|
+
/**
|
|
29
|
+
* The namespace of the application.
|
|
30
|
+
* @minLength `1`
|
|
31
|
+
* @maxLength `255`
|
|
32
|
+
* @pattern `^[a-zA-Z0-9/\._\-]+$`
|
|
33
|
+
*/
|
|
34
|
+
Namespace?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The tags (keys and values) associated with the application.
|
|
37
|
+
* @minLength `0`
|
|
38
|
+
* @maxLength `200`
|
|
39
|
+
*/
|
|
40
|
+
Tags?: Tag[];
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Attribute type definition for `AWS::AppIntegrations::Application`.
|
|
44
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-application.html#aws-resource-appintegrations-application-return-values}
|
|
45
|
+
*/
|
|
46
|
+
export type AppIntegrationsApplicationAttributes = {
|
|
47
|
+
/**
|
|
48
|
+
* The Amazon Resource Name (ARN) of the application.
|
|
49
|
+
* @minLength `1`
|
|
50
|
+
* @maxLength `2048`
|
|
51
|
+
*/
|
|
52
|
+
ApplicationArn: string;
|
|
53
|
+
/**
|
|
54
|
+
* The id of the application.
|
|
55
|
+
* @minLength `1`
|
|
56
|
+
* @maxLength `255`
|
|
57
|
+
* @pattern `^[a-zA-Z0-9/\._\-]+$`
|
|
58
|
+
*/
|
|
59
|
+
Id: string;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Type definition for `AWS::AppIntegrations::Application.ExternalUrlConfig`.
|
|
63
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-externalurlconfig.html}
|
|
64
|
+
*/
|
|
65
|
+
export type ExternalUrlConfig = {
|
|
66
|
+
/**
|
|
67
|
+
* @minLength `1`
|
|
68
|
+
* @maxLength `1000`
|
|
69
|
+
* @pattern `^\w+\:\/\/.*$`
|
|
70
|
+
*/
|
|
71
|
+
AccessUrl: string;
|
|
72
|
+
/**
|
|
73
|
+
* @minLength `0`
|
|
74
|
+
* @maxLength `50`
|
|
75
|
+
*/
|
|
76
|
+
ApprovedOrigins: string[];
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Type definition for `AWS::AppIntegrations::Application.Tag`.
|
|
80
|
+
* A label for tagging Application resources
|
|
81
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-application-tag.html}
|
|
82
|
+
*/
|
|
83
|
+
export type Tag = {
|
|
84
|
+
/**
|
|
85
|
+
* A key to identify the tag.
|
|
86
|
+
* @minLength `1`
|
|
87
|
+
* @maxLength `128`
|
|
88
|
+
* @pattern `^(?!aws:)[a-zA-Z+-=._:/]+$`
|
|
89
|
+
*/
|
|
90
|
+
Key: string;
|
|
91
|
+
/**
|
|
92
|
+
* Corresponding tag value for the key.
|
|
93
|
+
* @minLength `0`
|
|
94
|
+
* @maxLength `256`
|
|
95
|
+
*/
|
|
96
|
+
Value: string;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Resource type definition for `AWS::AppIntegrations::Application`.
|
|
100
|
+
* Resource Type definition for AWS:AppIntegrations::Application
|
|
101
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-application.html}
|
|
102
|
+
*/
|
|
103
|
+
export declare class AppIntegrationsApplication extends $Resource<"AWS::AppIntegrations::Application", AppIntegrationsApplicationProperties, AppIntegrationsApplicationAttributes> {
|
|
104
|
+
static readonly Type = "AWS::AppIntegrations::Application";
|
|
105
|
+
constructor(logicalId: string, properties: AppIntegrationsApplicationProperties, options?: $ResourceOptions);
|
|
106
|
+
}
|
|
107
|
+
//# sourceMappingURL=AWS-AppIntegrations-Application.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::AppIntegrations::Application`.
|
|
4
|
+
* Resource Type definition for AWS:AppIntegrations::Application
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appintegrations-application.html}
|
|
6
|
+
*/
|
|
7
|
+
export class AppIntegrationsApplication extends $Resource {
|
|
8
|
+
static Type = "AWS::AppIntegrations::Application";
|
|
9
|
+
constructor(logicalId, properties, options) {
|
|
10
|
+
super(logicalId, AppIntegrationsApplication.Type, properties, options);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=AWS-AppIntegrations-Application.js.map
|
|
@@ -0,0 +1,122 @@
|
|
|
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::CodeArtifact::PackageGroup`.
|
|
5
|
+
* The resource schema to create a CodeArtifact package group.
|
|
6
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html}
|
|
7
|
+
*/
|
|
8
|
+
export type CodeArtifactPackageGroupProperties = {
|
|
9
|
+
/**
|
|
10
|
+
* The contact info of the package group.
|
|
11
|
+
* @maxLength `1000`
|
|
12
|
+
*/
|
|
13
|
+
ContactInfo?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The text description of the package group.
|
|
16
|
+
* @maxLength `1000`
|
|
17
|
+
*/
|
|
18
|
+
Description?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The name of the domain that contains the package group.
|
|
21
|
+
* @minLength `2`
|
|
22
|
+
* @maxLength `50`
|
|
23
|
+
* @pattern `^([a-z][a-z0-9\-]{0,48}[a-z0-9])$`
|
|
24
|
+
*/
|
|
25
|
+
DomainName: string;
|
|
26
|
+
/**
|
|
27
|
+
* The 12-digit account ID of the AWS account that owns the domain.
|
|
28
|
+
* @pattern `[0-9]{12}`
|
|
29
|
+
*/
|
|
30
|
+
DomainOwner?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The package origin configuration of the package group.
|
|
33
|
+
*/
|
|
34
|
+
OriginConfiguration?: OriginConfiguration;
|
|
35
|
+
/**
|
|
36
|
+
* The package group pattern that is used to gather packages.
|
|
37
|
+
* @minLength `2`
|
|
38
|
+
* @maxLength `520`
|
|
39
|
+
*/
|
|
40
|
+
Pattern: string;
|
|
41
|
+
/**
|
|
42
|
+
* An array of key-value pairs to apply to the package group.
|
|
43
|
+
*/
|
|
44
|
+
Tags?: Tag[];
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Attribute type definition for `AWS::CodeArtifact::PackageGroup`.
|
|
48
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html#aws-resource-codeartifact-packagegroup-return-values}
|
|
49
|
+
*/
|
|
50
|
+
export type CodeArtifactPackageGroupAttributes = {
|
|
51
|
+
/**
|
|
52
|
+
* The ARN of the package group.
|
|
53
|
+
* @minLength `1`
|
|
54
|
+
* @maxLength `2048`
|
|
55
|
+
*/
|
|
56
|
+
Arn: string;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Type definition for `AWS::CodeArtifact::PackageGroup.OriginConfiguration`.
|
|
60
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-originconfiguration.html}
|
|
61
|
+
*/
|
|
62
|
+
export type OriginConfiguration = {
|
|
63
|
+
/**
|
|
64
|
+
* The origin configuration that is applied to the package group.
|
|
65
|
+
*/
|
|
66
|
+
Restrictions: Restrictions;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Type definition for `AWS::CodeArtifact::PackageGroup.Restrictions`.
|
|
70
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictions.html}
|
|
71
|
+
*/
|
|
72
|
+
export type Restrictions = {
|
|
73
|
+
/**
|
|
74
|
+
* The external upstream restriction determines if new package versions can be ingested or retained from external connections.
|
|
75
|
+
*/
|
|
76
|
+
ExternalUpstream?: RestrictionType;
|
|
77
|
+
/**
|
|
78
|
+
* The internal upstream restriction determines if new package versions can be ingested or retained from upstream repositories.
|
|
79
|
+
*/
|
|
80
|
+
InternalUpstream?: RestrictionType;
|
|
81
|
+
/**
|
|
82
|
+
* The publish restriction determines if new package versions can be published.
|
|
83
|
+
*/
|
|
84
|
+
Publish?: RestrictionType;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Type definition for `AWS::CodeArtifact::PackageGroup.RestrictionType`.
|
|
88
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-restrictiontype.html}
|
|
89
|
+
*/
|
|
90
|
+
export type RestrictionType = {
|
|
91
|
+
Repositories?: string[];
|
|
92
|
+
RestrictionMode: "ALLOW" | "BLOCK" | "ALLOW_SPECIFIC_REPOSITORIES" | "INHERIT";
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Type definition for `AWS::CodeArtifact::PackageGroup.Tag`.
|
|
96
|
+
* A key-value pair to associate with a resource.
|
|
97
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeartifact-packagegroup-tag.html}
|
|
98
|
+
*/
|
|
99
|
+
export type Tag = {
|
|
100
|
+
/**
|
|
101
|
+
* The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
102
|
+
* @minLength `1`
|
|
103
|
+
* @maxLength `128`
|
|
104
|
+
*/
|
|
105
|
+
Key: string;
|
|
106
|
+
/**
|
|
107
|
+
* The value for the tag. You can specify a value that is 1 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
108
|
+
* @minLength `1`
|
|
109
|
+
* @maxLength `256`
|
|
110
|
+
*/
|
|
111
|
+
Value: string;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Resource type definition for `AWS::CodeArtifact::PackageGroup`.
|
|
115
|
+
* The resource schema to create a CodeArtifact package group.
|
|
116
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html}
|
|
117
|
+
*/
|
|
118
|
+
export declare class CodeArtifactPackageGroup extends $Resource<"AWS::CodeArtifact::PackageGroup", CodeArtifactPackageGroupProperties, CodeArtifactPackageGroupAttributes> {
|
|
119
|
+
static readonly Type = "AWS::CodeArtifact::PackageGroup";
|
|
120
|
+
constructor(logicalId: string, properties: CodeArtifactPackageGroupProperties, options?: $ResourceOptions);
|
|
121
|
+
}
|
|
122
|
+
//# sourceMappingURL=AWS-CodeArtifact-PackageGroup.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::CodeArtifact::PackageGroup`.
|
|
4
|
+
* The resource schema to create a CodeArtifact package group.
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-packagegroup.html}
|
|
6
|
+
*/
|
|
7
|
+
export class CodeArtifactPackageGroup extends $Resource {
|
|
8
|
+
static Type = "AWS::CodeArtifact::PackageGroup";
|
|
9
|
+
constructor(logicalId, properties, options) {
|
|
10
|
+
super(logicalId, CodeArtifactPackageGroup.Type, properties, options);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=AWS-CodeArtifact-PackageGroup.js.map
|
|
@@ -17,6 +17,11 @@ export type ConnectSecurityProfileProperties = {
|
|
|
17
17
|
* @maxLength `2`
|
|
18
18
|
*/
|
|
19
19
|
AllowedAccessControlTags?: Tag[];
|
|
20
|
+
/**
|
|
21
|
+
* A list of third-party applications that the security profile will give access to.
|
|
22
|
+
* @maxLength `10`
|
|
23
|
+
*/
|
|
24
|
+
Applications?: Application[];
|
|
20
25
|
/**
|
|
21
26
|
* The description of the security profile.
|
|
22
27
|
* @minLength `0`
|
|
@@ -76,6 +81,24 @@ export type ConnectSecurityProfileAttributes = {
|
|
|
76
81
|
*/
|
|
77
82
|
SecurityProfileArn: string;
|
|
78
83
|
};
|
|
84
|
+
/**
|
|
85
|
+
* Type definition for `AWS::Connect::SecurityProfile.Application`.
|
|
86
|
+
* A third-party application's metadata.
|
|
87
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-securityprofile-application.html}
|
|
88
|
+
*/
|
|
89
|
+
export type Application = {
|
|
90
|
+
/**
|
|
91
|
+
* The permissions that the agent is granted on the application
|
|
92
|
+
* @maxLength `10`
|
|
93
|
+
*/
|
|
94
|
+
ApplicationPermissions: string[];
|
|
95
|
+
/**
|
|
96
|
+
* Namespace of the application that you want to give access to.
|
|
97
|
+
* @minLength `1`
|
|
98
|
+
* @maxLength `128`
|
|
99
|
+
*/
|
|
100
|
+
Namespace: string;
|
|
101
|
+
};
|
|
79
102
|
/**
|
|
80
103
|
* Type definition for `AWS::Connect::SecurityProfile.Tag`.
|
|
81
104
|
* A key-value pair to associate with a resource.
|
|
@@ -182,6 +182,8 @@ export type ReplicaSpecification = {
|
|
|
182
182
|
PointInTimeRecoverySpecification?: PointInTimeRecoverySpecification;
|
|
183
183
|
ReadProvisionedThroughputSettings?: ReadProvisionedThroughputSettings;
|
|
184
184
|
Region: string;
|
|
185
|
+
ReplicaStreamSpecification?: ReplicaStreamSpecification;
|
|
186
|
+
ResourcePolicy?: ResourcePolicy;
|
|
185
187
|
SSESpecification?: ReplicaSSESpecification;
|
|
186
188
|
TableClass?: string;
|
|
187
189
|
Tags?: Tag[];
|
|
@@ -193,6 +195,20 @@ export type ReplicaSpecification = {
|
|
|
193
195
|
export type ReplicaSSESpecification = {
|
|
194
196
|
KMSMasterKeyId: string;
|
|
195
197
|
};
|
|
198
|
+
/**
|
|
199
|
+
* Type definition for `AWS::DynamoDB::GlobalTable.ReplicaStreamSpecification`.
|
|
200
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-replicastreamspecification.html}
|
|
201
|
+
*/
|
|
202
|
+
export type ReplicaStreamSpecification = {
|
|
203
|
+
ResourcePolicy: ResourcePolicy;
|
|
204
|
+
};
|
|
205
|
+
/**
|
|
206
|
+
* Type definition for `AWS::DynamoDB::GlobalTable.ResourcePolicy`.
|
|
207
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-resourcepolicy.html}
|
|
208
|
+
*/
|
|
209
|
+
export type ResourcePolicy = {
|
|
210
|
+
PolicyDocument: Record<string, any>;
|
|
211
|
+
};
|
|
196
212
|
/**
|
|
197
213
|
* Type definition for `AWS::DynamoDB::GlobalTable.SSESpecification`.
|
|
198
214
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-ssespecification.html}
|
|
@@ -67,6 +67,7 @@ export type DynamoDBTableProperties = {
|
|
|
67
67
|
If you set ``BillingMode`` as ``PROVISIONED``, you must specify this property. If you set ``BillingMode`` as ``PAY_PER_REQUEST``, you cannot specify this property.
|
|
68
68
|
*/
|
|
69
69
|
ProvisionedThroughput?: ProvisionedThroughput;
|
|
70
|
+
ResourcePolicy?: ResourcePolicy;
|
|
70
71
|
/**
|
|
71
72
|
* Specifies the settings to enable server-side encryption.
|
|
72
73
|
*/
|
|
@@ -325,6 +326,13 @@ export type ProvisionedThroughput = {
|
|
|
325
326
|
*/
|
|
326
327
|
WriteCapacityUnits: number;
|
|
327
328
|
};
|
|
329
|
+
/**
|
|
330
|
+
* Type definition for `AWS::DynamoDB::Table.ResourcePolicy`.
|
|
331
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-resourcepolicy.html}
|
|
332
|
+
*/
|
|
333
|
+
export type ResourcePolicy = {
|
|
334
|
+
PolicyDocument: Record<string, any>;
|
|
335
|
+
};
|
|
328
336
|
/**
|
|
329
337
|
* Type definition for `AWS::DynamoDB::Table.S3BucketSource`.
|
|
330
338
|
* The S3 bucket that is being imported from.
|
|
@@ -370,6 +378,7 @@ export type SSESpecification = {
|
|
|
370
378
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-streamspecification.html}
|
|
371
379
|
*/
|
|
372
380
|
export type StreamSpecification = {
|
|
381
|
+
ResourcePolicy?: ResourcePolicy;
|
|
373
382
|
/**
|
|
374
383
|
* When an item in the table is modified, ``StreamViewType`` determines what information is written to the stream for this table. Valid values for ``StreamViewType`` are:
|
|
375
384
|
+ ``KEYS_ONLY`` - Only the key attributes of the modified item are written to the stream.
|