@awboost/cfn-resource-types 0.1.129 → 0.1.131
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-ACMPCA-CertificateAuthority.d.ts +0 -3
- package/lib/AWS-Cognito-IdentityPool.d.ts +23 -0
- package/lib/AWS-Cognito-LogDeliveryConfiguration.d.ts +16 -0
- package/lib/AWS-Cognito-UserPool.d.ts +11 -2
- package/lib/AWS-Cognito-UserPool.js +1 -1
- package/lib/AWS-EC2-LaunchTemplate.d.ts +1 -1
- package/lib/AWS-VpcLattice-AuthPolicy.d.ts +1 -1
- package/package.json +1 -1
|
@@ -95,11 +95,8 @@ export type CrlConfiguration = {
|
|
|
95
95
|
*/
|
|
96
96
|
CrlDistributionPointExtensionConfiguration?: CrlDistributionPointExtensionConfiguration;
|
|
97
97
|
CustomCname?: string;
|
|
98
|
-
CustomPath?: string;
|
|
99
98
|
Enabled: boolean;
|
|
100
99
|
ExpirationInDays?: number;
|
|
101
|
-
PartitioningEnabled?: boolean;
|
|
102
|
-
RetainExpiredCertificates?: boolean;
|
|
103
100
|
S3BucketName?: string;
|
|
104
101
|
S3ObjectAcl?: string;
|
|
105
102
|
};
|
|
@@ -12,6 +12,10 @@ export type CognitoIdentityPoolProperties = {
|
|
|
12
12
|
CognitoStreams?: CognitoStreams;
|
|
13
13
|
DeveloperProviderName?: string;
|
|
14
14
|
IdentityPoolName?: string;
|
|
15
|
+
/**
|
|
16
|
+
* An array of key-value pairs to apply to this resource.
|
|
17
|
+
*/
|
|
18
|
+
IdentityPoolTags?: Tag[];
|
|
15
19
|
OpenIdConnectProviderARNs?: string[];
|
|
16
20
|
PushSync?: PushSync;
|
|
17
21
|
SamlProviderARNs?: string[];
|
|
@@ -51,6 +55,25 @@ export type PushSync = {
|
|
|
51
55
|
ApplicationArns?: string[];
|
|
52
56
|
RoleArn?: string;
|
|
53
57
|
};
|
|
58
|
+
/**
|
|
59
|
+
* Type definition for `AWS::Cognito::IdentityPool.Tag`.
|
|
60
|
+
* A key-value pair to associate with a resource.
|
|
61
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-tag.html}
|
|
62
|
+
*/
|
|
63
|
+
export type Tag = {
|
|
64
|
+
/**
|
|
65
|
+
* 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 -.
|
|
66
|
+
* @minLength `1`
|
|
67
|
+
* @maxLength `128`
|
|
68
|
+
*/
|
|
69
|
+
Key: string;
|
|
70
|
+
/**
|
|
71
|
+
* The value for the tag. You can specify a value that is 0 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 -.
|
|
72
|
+
* @minLength `0`
|
|
73
|
+
* @maxLength `256`
|
|
74
|
+
*/
|
|
75
|
+
Value: string;
|
|
76
|
+
};
|
|
54
77
|
/**
|
|
55
78
|
* Resource Type definition for AWS::Cognito::IdentityPool
|
|
56
79
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypool.html}
|
|
@@ -22,6 +22,13 @@ export type CognitoLogDeliveryConfigurationAttributes = {
|
|
|
22
22
|
export type CloudWatchLogsConfiguration = {
|
|
23
23
|
LogGroupArn?: string;
|
|
24
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
* Type definition for `AWS::Cognito::LogDeliveryConfiguration.FirehoseConfiguration`.
|
|
27
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-logdeliveryconfiguration-firehoseconfiguration.html}
|
|
28
|
+
*/
|
|
29
|
+
export type FirehoseConfiguration = {
|
|
30
|
+
StreamArn?: string;
|
|
31
|
+
};
|
|
25
32
|
/**
|
|
26
33
|
* Type definition for `AWS::Cognito::LogDeliveryConfiguration.LogConfiguration`.
|
|
27
34
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-logdeliveryconfiguration-logconfiguration.html}
|
|
@@ -29,7 +36,16 @@ export type CloudWatchLogsConfiguration = {
|
|
|
29
36
|
export type LogConfiguration = {
|
|
30
37
|
CloudWatchLogsConfiguration?: CloudWatchLogsConfiguration;
|
|
31
38
|
EventSource?: string;
|
|
39
|
+
FirehoseConfiguration?: FirehoseConfiguration;
|
|
32
40
|
LogLevel?: string;
|
|
41
|
+
S3Configuration?: S3Configuration;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Type definition for `AWS::Cognito::LogDeliveryConfiguration.S3Configuration`.
|
|
45
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-logdeliveryconfiguration-s3configuration.html}
|
|
46
|
+
*/
|
|
47
|
+
export type S3Configuration = {
|
|
48
|
+
BucketArn?: string;
|
|
33
49
|
};
|
|
34
50
|
/**
|
|
35
51
|
* Resource Type definition for AWS::Cognito::LogDeliveryConfiguration
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Definition of AWS::Cognito::UserPool Resource Type
|
|
5
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html}
|
|
6
6
|
*/
|
|
7
7
|
export type CognitoUserPoolProperties = {
|
|
@@ -76,6 +76,13 @@ export type AdminCreateUserConfig = {
|
|
|
76
76
|
InviteMessageTemplate?: InviteMessageTemplate;
|
|
77
77
|
UnusedAccountValidityDays?: number;
|
|
78
78
|
};
|
|
79
|
+
/**
|
|
80
|
+
* Type definition for `AWS::Cognito::UserPool.AdvancedSecurityAdditionalFlows`.
|
|
81
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-advancedsecurityadditionalflows.html}
|
|
82
|
+
*/
|
|
83
|
+
export type AdvancedSecurityAdditionalFlows = {
|
|
84
|
+
CustomAuthMode?: string;
|
|
85
|
+
};
|
|
79
86
|
/**
|
|
80
87
|
* Type definition for `AWS::Cognito::UserPool.CustomEmailSender`.
|
|
81
88
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-customemailsender.html}
|
|
@@ -154,6 +161,7 @@ export type NumberAttributeConstraints = {
|
|
|
154
161
|
*/
|
|
155
162
|
export type PasswordPolicy = {
|
|
156
163
|
MinimumLength?: number;
|
|
164
|
+
PasswordHistorySize?: number;
|
|
157
165
|
RequireLowercase?: boolean;
|
|
158
166
|
RequireNumbers?: boolean;
|
|
159
167
|
RequireSymbols?: boolean;
|
|
@@ -232,6 +240,7 @@ export type UsernameConfiguration = {
|
|
|
232
240
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-userpooladdons.html}
|
|
233
241
|
*/
|
|
234
242
|
export type UserPoolAddOns = {
|
|
243
|
+
AdvancedSecurityAdditionalFlows?: AdvancedSecurityAdditionalFlows;
|
|
235
244
|
AdvancedSecurityMode?: string;
|
|
236
245
|
};
|
|
237
246
|
/**
|
|
@@ -247,7 +256,7 @@ export type VerificationMessageTemplate = {
|
|
|
247
256
|
SmsMessage?: string;
|
|
248
257
|
};
|
|
249
258
|
/**
|
|
250
|
-
*
|
|
259
|
+
* Definition of AWS::Cognito::UserPool Resource Type
|
|
251
260
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html}
|
|
252
261
|
*/
|
|
253
262
|
export declare class CognitoUserPool extends $Resource<"AWS::Cognito::UserPool", CognitoUserPoolProperties, CognitoUserPoolAttributes> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Definition of AWS::Cognito::UserPool Resource Type
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html}
|
|
5
5
|
*/
|
|
6
6
|
export class CognitoUserPool extends $Resource {
|
|
@@ -639,7 +639,7 @@ export type LaunchTemplateData = {
|
|
|
639
639
|
/**
|
|
640
640
|
* The ID of the AMI. Alternatively, you can specify a Systems Manager parameter, which will resolve to an AMI ID on launch.
|
|
641
641
|
Valid formats:
|
|
642
|
-
+ ``ami-
|
|
642
|
+
+ ``ami-0ac394d6a3example``
|
|
643
643
|
+ ``resolve:ssm:parameter-name``
|
|
644
644
|
+ ``resolve:ssm:parameter-name:version-number``
|
|
645
645
|
+ ``resolve:ssm:parameter-name:label``
|
|
@@ -8,7 +8,7 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
|
|
|
8
8
|
export type VpcLatticeAuthPolicyProperties = {
|
|
9
9
|
Policy: Record<string, any>;
|
|
10
10
|
/**
|
|
11
|
-
* @minLength `
|
|
11
|
+
* @minLength `17`
|
|
12
12
|
* @maxLength `200`
|
|
13
13
|
* @pattern `^((((sn)|(svc))-[0-9a-z]{17})|(arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:((servicenetwork/sn)|(service/svc))-[0-9a-z]{17}))$`
|
|
14
14
|
*/
|