@awboost/cfn-resource-types 0.1.199 → 0.1.201

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.
@@ -0,0 +1,67 @@
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::Cognito::ManagedLoginBranding
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-managedloginbranding.html}
6
+ */
7
+ export type CognitoManagedLoginBrandingProperties = {
8
+ Assets?: AssetType[];
9
+ ClientId?: string;
10
+ ReturnMergedResources?: boolean;
11
+ Settings?: Record<string, any>;
12
+ UseCognitoProvidedValues?: boolean;
13
+ UserPoolId: string;
14
+ };
15
+ /**
16
+ * Attribute type definition for `AWS::Cognito::ManagedLoginBranding`.
17
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-managedloginbranding.html#aws-resource-cognito-managedloginbranding-return-values}
18
+ */
19
+ export type CognitoManagedLoginBrandingAttributes = {
20
+ /**
21
+ * @pattern `^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[4][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$`
22
+ */
23
+ ManagedLoginBrandingId: string;
24
+ };
25
+ /**
26
+ * Type definition for `AWS::Cognito::ManagedLoginBranding.AssetType`.
27
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-managedloginbranding-assettype.html}
28
+ */
29
+ export type AssetType = {
30
+ /**
31
+ * @maxLength `1000000`
32
+ */
33
+ Bytes?: string;
34
+ Category: CategoryType;
35
+ ColorMode: ColorModeType;
36
+ Extension: ExtensionType;
37
+ /**
38
+ * @minLength `1`
39
+ * @maxLength `40`
40
+ * @pattern `^[\w\- ]+$`
41
+ */
42
+ ResourceId?: string;
43
+ };
44
+ /**
45
+ * Type definition for `AWS::Cognito::ManagedLoginBranding.CategoryType`.
46
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-managedloginbranding-categorytype.html}
47
+ */
48
+ export type CategoryType = "FAVICON_ICO" | "FAVICON_SVG" | "EMAIL_GRAPHIC" | "SMS_GRAPHIC" | "AUTH_APP_GRAPHIC" | "PASSWORD_GRAPHIC" | "PASSKEY_GRAPHIC" | "PAGE_HEADER_LOGO" | "PAGE_HEADER_BACKGROUND" | "PAGE_FOOTER_LOGO" | "PAGE_FOOTER_BACKGROUND" | "PAGE_BACKGROUND" | "FORM_BACKGROUND" | "FORM_LOGO" | "IDP_BUTTON_ICON";
49
+ /**
50
+ * Type definition for `AWS::Cognito::ManagedLoginBranding.ColorModeType`.
51
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-managedloginbranding-colormodetype.html}
52
+ */
53
+ export type ColorModeType = "LIGHT" | "DARK" | "DYNAMIC";
54
+ /**
55
+ * Type definition for `AWS::Cognito::ManagedLoginBranding.ExtensionType`.
56
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-managedloginbranding-extensiontype.html}
57
+ */
58
+ export type ExtensionType = "ICO" | "JPEG" | "PNG" | "SVG" | "WEBP";
59
+ /**
60
+ * Resource Type definition for AWS::Cognito::ManagedLoginBranding
61
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-managedloginbranding.html}
62
+ */
63
+ export declare class CognitoManagedLoginBranding extends $Resource<"AWS::Cognito::ManagedLoginBranding", CognitoManagedLoginBrandingProperties, CognitoManagedLoginBrandingAttributes> {
64
+ static readonly Type = "AWS::Cognito::ManagedLoginBranding";
65
+ constructor(logicalId: string, properties: CognitoManagedLoginBrandingProperties, options?: $ResourceOptions);
66
+ }
67
+ //# sourceMappingURL=AWS-Cognito-ManagedLoginBranding.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Resource Type definition for AWS::Cognito::ManagedLoginBranding
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-managedloginbranding.html}
5
+ */
6
+ export class CognitoManagedLoginBranding extends $Resource {
7
+ static Type = "AWS::Cognito::ManagedLoginBranding";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, CognitoManagedLoginBranding.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-Cognito-ManagedLoginBranding.js.map
@@ -56,9 +56,20 @@ export type CognitoUserPoolProperties = {
56
56
  */
57
57
  UserPoolName?: string;
58
58
  UserPoolTags?: Record<string, string>;
59
+ UserPoolTier?: "LITE" | "ESSENTIALS" | "PLUS";
59
60
  UsernameAttributes?: string[];
60
61
  UsernameConfiguration?: UsernameConfiguration;
61
62
  VerificationMessageTemplate?: VerificationMessageTemplate;
63
+ /**
64
+ * @minLength `1`
65
+ * @maxLength `63`
66
+ */
67
+ WebAuthnRelyingPartyID?: string;
68
+ /**
69
+ * @minLength `1`
70
+ * @maxLength `9`
71
+ */
72
+ WebAuthnUserVerification?: string;
62
73
  };
63
74
  /**
64
75
  * Attribute type definition for `AWS::Cognito::UserPool`.
@@ -184,6 +195,7 @@ export type PasswordPolicy = {
184
195
  */
185
196
  export type Policies = {
186
197
  PasswordPolicy?: PasswordPolicy;
198
+ SignInPolicy?: SignInPolicy;
187
199
  };
188
200
  /**
189
201
  * Type definition for `AWS::Cognito::UserPool.PreTokenGenerationConfig`.
@@ -214,6 +226,13 @@ export type SchemaAttribute = {
214
226
  Required?: boolean;
215
227
  StringAttributeConstraints?: StringAttributeConstraints;
216
228
  };
229
+ /**
230
+ * Type definition for `AWS::Cognito::UserPool.SignInPolicy`.
231
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-signinpolicy.html}
232
+ */
233
+ export type SignInPolicy = {
234
+ AllowedFirstAuthFactors?: string[];
235
+ };
217
236
  /**
218
237
  * Type definition for `AWS::Cognito::UserPool.SmsConfiguration`.
219
238
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-smsconfiguration.html}
@@ -6,23 +6,26 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
6
6
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-loadbalancer.html}
7
7
  */
8
8
  export type ElasticLoadBalancingV2LoadBalancerProperties = {
9
+ /**
10
+ * [Network Load Balancers with UDP listeners] Indicates whether to use an IPv6 prefix from each subnet for source NAT. The IP address type must be ``dualstack``. The default value is ``off``.
11
+ */
9
12
  EnablePrefixForIpv6SourceNat?: string;
10
13
  /**
11
14
  * Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through privatelink.
12
15
  */
13
16
  EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic?: string;
14
17
  /**
15
- * Note: Internal load balancers must use the ``ipv4`` IP address type.
16
- [Application Load Balancers] The IP address type. The possible values are ``ipv4`` (for only IPv4 addresses), ``dualstack`` (for IPv4 and IPv6 addresses), and ``dualstack-without-public-ipv4`` (for IPv6 only public addresses, with private IPv4 and IPv6 addresses).
17
- Note: Application Load Balancer authentication only supports IPv4 addresses when connecting to an Identity Provider (IdP) or Amazon Cognito endpoint. Without a public IPv4 address the load balancer cannot complete the authentication process, resulting in HTTP 500 errors.
18
- [Network Load Balancers] The IP address type. The possible values are ``ipv4`` (for only IPv4 addresses) and ``dualstack`` (for IPv4 and IPv6 addresses). You can’t specify ``dualstack`` for a load balancer with a UDP or TCP_UDP listener.
19
- [Gateway Load Balancers] The IP address type. The possible values are ``ipv4`` (for only IPv4 addresses) and ``dualstack`` (for IPv4 and IPv6 addresses).
18
+ * The IP address type. Internal load balancers must use ``ipv4``.
19
+ [Application Load Balancers] The possible values are ``ipv4`` (IPv4 addresses), ``dualstack`` (IPv4 and IPv6 addresses), and ``dualstack-without-public-ipv4`` (public IPv6 addresses and private IPv4 and IPv6 addresses).
20
+ Application Load Balancer authentication supports IPv4 addresses only when connecting to an Identity Provider (IdP) or Amazon Cognito endpoint. Without a public IPv4 address the load balancer can't complete the authentication process, resulting in HTTP 500 errors.
21
+ [Network Load Balancers and Gateway Load Balancers] The possible values are ``ipv4`` (IPv4 addresses) and ``dualstack`` (IPv4 and IPv6 addresses).
20
22
  */
21
23
  IpAddressType?: string;
22
24
  /**
23
25
  * The load balancer attributes.
24
26
  */
25
27
  LoadBalancerAttributes?: LoadBalancerAttribute[];
28
+ MinimumLoadBalancerCapacity?: MinimumLoadBalancerCapacity;
26
29
  /**
27
30
  * The name of the load balancer. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, must not begin or end with a hyphen, and must not begin with "internal-".
28
31
  If you don't specify a name, AWS CloudFormation generates a unique physical ID for the load balancer. If you specify a name, you cannot perform updates that require replacement of this resource, but you can perform other updates. To replace the resource, specify a new name.
@@ -32,7 +35,7 @@ export type ElasticLoadBalancingV2LoadBalancerProperties = {
32
35
  * The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet.
33
36
  The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer.
34
37
  The default is an Internet-facing load balancer.
35
- You cannot specify a scheme for a Gateway Load Balancer.
38
+ You can't specify a scheme for a Gateway Load Balancer.
36
39
  */
37
40
  Scheme?: string;
38
41
  /**
@@ -41,11 +44,11 @@ export type ElasticLoadBalancingV2LoadBalancerProperties = {
41
44
  SecurityGroups?: string[];
42
45
  /**
43
46
  * The IDs of the subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both.
44
- [Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets.
47
+ [Application Load Balancers] You must specify subnets from at least two Availability Zones. You can't specify Elastic IP addresses for your subnets.
45
48
  [Application Load Balancers on Outposts] You must specify one Outpost subnet.
46
49
  [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
47
50
  [Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet.
48
- [Gateway Load Balancers] You can specify subnets from one or more Availability Zones. You cannot specify Elastic IP addresses for your subnets.
51
+ [Gateway Load Balancers] You can specify subnets from one or more Availability Zones. You can't specify Elastic IP addresses for your subnets.
49
52
  */
50
53
  SubnetMappings?: SubnetMapping[];
51
54
  /**
@@ -53,8 +56,7 @@ export type ElasticLoadBalancingV2LoadBalancerProperties = {
53
56
  [Application Load Balancers] You must specify subnets from at least two Availability Zones.
54
57
  [Application Load Balancers on Outposts] You must specify one Outpost subnet.
55
58
  [Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
56
- [Network Load Balancers] You can specify subnets from one or more Availability Zones.
57
- [Gateway Load Balancers] You can specify subnets from one or more Availability Zones.
59
+ [Network Load Balancers and Gateway Load Balancers] You can specify subnets from one or more Availability Zones.
58
60
  */
59
61
  Subnets?: string[];
60
62
  /**
@@ -87,7 +89,7 @@ export type LoadBalancerAttribute = {
87
89
  * The name of the attribute.
88
90
  The following attributes are supported by all load balancers:
89
91
  + ``deletion_protection.enabled`` - Indicates whether deletion protection is enabled. The value is ``true`` or ``false``. The default is ``false``.
90
- + ``load_balancing.cross_zone.enabled`` - Indicates whether cross-zone load balancing is enabled. The possible values are ``true`` and ``false``. The default for Network Load Balancers and Gateway Load Balancers is ``false``. The default for Application Load Balancers is ``true``, and cannot be changed.
92
+ + ``load_balancing.cross_zone.enabled`` - Indicates whether cross-zone load balancing is enabled. The possible values are ``true`` and ``false``. The default for Network Load Balancers and Gateway Load Balancers is ``false``. The default for Application Load Balancers is ``true``, and can't be changed.
91
93
 
92
94
  The following attributes are supported by both Application Load Balancers and Network Load Balancers:
93
95
  + ``access_logs.s3.enabled`` - Indicates whether access logs are enabled. The value is ``true`` or ``false``. The default is ``false``.
@@ -124,6 +126,13 @@ export type LoadBalancerAttribute = {
124
126
  */
125
127
  Value?: string;
126
128
  };
129
+ /**
130
+ * Type definition for `AWS::ElasticLoadBalancingV2::LoadBalancer.MinimumLoadBalancerCapacity`.
131
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-minimumloadbalancercapacity.html}
132
+ */
133
+ export type MinimumLoadBalancerCapacity = {
134
+ CapacityUnits: number;
135
+ };
127
136
  /**
128
137
  * Type definition for `AWS::ElasticLoadBalancingV2::LoadBalancer.SubnetMapping`.
129
138
  * Specifies a subnet for a load balancer.
@@ -142,6 +151,9 @@ export type SubnetMapping = {
142
151
  * [Network Load Balancers] The private IPv4 address for an internal load balancer.
143
152
  */
144
153
  PrivateIPv4Address?: string;
154
+ /**
155
+ * [Network Load Balancers with UDP listeners] The IPv6 prefix to use for source NAT. Specify an IPv6 prefix (/80 netmask) from the subnet CIDR block or ``auto_assigned`` to use an IPv6 prefix selected at random from the subnet CIDR block.
156
+ */
145
157
  SourceNatIpv6Prefix?: string;
146
158
  /**
147
159
  * The ID of the subnet.
@@ -84,6 +84,17 @@ export type ClientCertificateConfig = {
84
84
  */
85
85
  export type ServerCertificateConfig = {
86
86
  EnableOCSPCheck?: boolean;
87
+ /**
88
+ * @minLength `1`
89
+ * @maxLength `2048`
90
+ * @pattern `^arn:aws(-cn|-us-gov|-iso-b|-iso)?:acm:[a-z]{2}-(gov-|iso-|isob-)?[a-z]{4,9}-\d{1}:\d{12}:certificate/[a-zA-Z0-9/-]+$`
91
+ */
92
+ OcspAuthorizedResponderArn?: string;
93
+ /**
94
+ * @minLength `1`
95
+ * @maxLength `170`
96
+ */
97
+ OcspLambdaArn?: string;
87
98
  };
88
99
  /**
89
100
  * Type definition for `AWS::IoT::DomainConfiguration.ServerCertificateSummary`.
@@ -32,9 +32,9 @@ export type OrganizationsPolicyProperties = {
32
32
  */
33
33
  TargetIds?: string[];
34
34
  /**
35
- * The type of policy to create. You can specify one of the following values: AISERVICES_OPT_OUT_POLICY, BACKUP_POLICY, SERVICE_CONTROL_POLICY, TAG_POLICY, CHATBOT_POLICY
35
+ * The type of policy to create. You can specify one of the following values: AISERVICES_OPT_OUT_POLICY, BACKUP_POLICY, SERVICE_CONTROL_POLICY, TAG_POLICY, CHATBOT_POLICY, RESOURCE_CONTROL_POLICY
36
36
  */
37
- Type: "SERVICE_CONTROL_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "BACKUP_POLICY" | "TAG_POLICY" | "CHATBOT_POLICY";
37
+ Type: "SERVICE_CONTROL_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "BACKUP_POLICY" | "TAG_POLICY" | "CHATBOT_POLICY" | "RESOURCE_CONTROL_POLICY";
38
38
  };
39
39
  /**
40
40
  * Attribute type definition for `AWS::Organizations::Policy`.