@awboost/cfn-resource-types 0.1.16 → 0.1.18

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.
@@ -5,34 +5,84 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-environment.html}
6
6
  */
7
7
  export type AppConfigEnvironmentProperties = {
8
+ /**
9
+ * The application ID.
10
+ * @pattern `[a-z0-9]{4,7}`
11
+ */
8
12
  ApplicationId: string;
13
+ /**
14
+ * A description of the environment.
15
+ * @minLength `0`
16
+ * @maxLength `1024`
17
+ */
9
18
  Description?: string;
10
- Monitors?: Monitors[];
19
+ /**
20
+ * Amazon CloudWatch alarms to monitor during the deployment process.
21
+ * @minLength `0`
22
+ * @maxLength `5`
23
+ */
24
+ Monitors?: Monitor[];
25
+ /**
26
+ * A name for the environment.
27
+ * @minLength `1`
28
+ * @maxLength `64`
29
+ */
11
30
  Name: string;
12
- Tags?: Tags[];
31
+ /**
32
+ * Metadata to assign to the environment. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
33
+ */
34
+ Tags?: Tag[];
13
35
  };
14
36
  /**
15
37
  * Attribute type definition for `AWS::AppConfig::Environment`.
16
38
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-environment.html#aws-resource-appconfig-environment-return-values}
17
39
  */
18
40
  export type AppConfigEnvironmentAttributes = {
19
- Id: string;
41
+ /**
42
+ * The environment ID.
43
+ * @pattern `[a-z0-9]{4,7}`
44
+ */
45
+ EnvironmentId: string;
20
46
  };
21
47
  /**
22
- * Type definition for `AWS::AppConfig::Environment.Monitors`.
23
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-environment-monitors.html}
48
+ * Type definition for `AWS::AppConfig::Environment.Monitor`.
49
+ * Amazon CloudWatch alarm to monitor during the deployment process.
50
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-environment-monitor.html}
24
51
  */
25
- export type Monitors = {
26
- AlarmArn?: string;
52
+ export type Monitor = {
53
+ /**
54
+ * Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
55
+ * @minLength `1`
56
+ * @maxLength `2048`
57
+ */
58
+ AlarmArn: string;
59
+ /**
60
+ * ARN of an AWS Identity and Access Management (IAM) role for AWS AppConfig to monitor AlarmArn.
61
+ * @minLength `20`
62
+ * @maxLength `2048`
63
+ * @pattern `^((arn):(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):(iam)::\d{12}:role[/].*)$`
64
+ */
27
65
  AlarmRoleArn?: string;
28
66
  };
29
67
  /**
30
- * Type definition for `AWS::AppConfig::Environment.Tags`.
31
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-environment-tags.html}
68
+ * Type definition for `AWS::AppConfig::Environment.Tag`.
69
+ * Metadata to assign to the environment. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
70
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-environment-tag.html}
32
71
  */
33
- export type Tags = {
34
- Key?: string;
35
- Value?: string;
72
+ export type Tag = {
73
+ /**
74
+ * The key-value string map. The valid character set is [a-zA-Z1-9+-=._:/]. The tag key can be up to 128 characters and must not start with aws:.
75
+ * @minLength `1`
76
+ * @maxLength `128`
77
+ * @pattern `^(?!aws:.)[a-zA-Z1-9+=._:/-]*$`
78
+ */
79
+ Key: string;
80
+ /**
81
+ * The tag value can be up to 256 characters.
82
+ * @minLength `0`
83
+ * @maxLength `256`
84
+ */
85
+ Value: string;
36
86
  };
37
87
  /**
38
88
  * Resource Type definition for AWS::AppConfig::Environment
@@ -5,12 +5,42 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html}
6
6
  */
7
7
  export type AppConfigHostedConfigurationVersionProperties = {
8
+ /**
9
+ * The application ID.
10
+ * @pattern `[a-z0-9]{4,7}`
11
+ */
8
12
  ApplicationId: string;
13
+ /**
14
+ * The configuration profile ID.
15
+ * @pattern `[a-z0-9]{4,7}`
16
+ */
9
17
  ConfigurationProfileId: string;
18
+ /**
19
+ * The content of the configuration or the configuration data.
20
+ */
10
21
  Content: string;
22
+ /**
23
+ * A standard MIME type describing the format of the configuration content.
24
+ * @minLength `1`
25
+ * @maxLength `255`
26
+ */
11
27
  ContentType: string;
28
+ /**
29
+ * A description of the hosted configuration version.
30
+ * @minLength `0`
31
+ * @maxLength `1024`
32
+ */
12
33
  Description?: string;
34
+ /**
35
+ * An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version. To ensure your data is not overwritten when creating multiple hosted configuration versions in rapid succession, specify the version number of the latest hosted configuration version.
36
+ */
13
37
  LatestVersionNumber?: number;
38
+ /**
39
+ * A user-defined label for an AWS AppConfig hosted configuration version.
40
+ * @minLength `0`
41
+ * @maxLength `64`
42
+ * @pattern `^$|.*[^0-9].*`
43
+ */
14
44
  VersionLabel?: string;
15
45
  };
16
46
  /**
@@ -18,7 +48,10 @@ export type AppConfigHostedConfigurationVersionProperties = {
18
48
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html#aws-resource-appconfig-hostedconfigurationversion-return-values}
19
49
  */
20
50
  export type AppConfigHostedConfigurationVersionAttributes = {
21
- Id: string;
51
+ /**
52
+ * Current version number of hosted configuration version.
53
+ */
54
+ VersionNumber: string;
22
55
  };
23
56
  /**
24
57
  * Resource Type definition for AWS::AppConfig::HostedConfigurationVersion
@@ -8,6 +8,7 @@ export type AppSyncGraphQLApiProperties = {
8
8
  AdditionalAuthenticationProviders?: AdditionalAuthenticationProvider[];
9
9
  ApiType?: string;
10
10
  AuthenticationType: string;
11
+ EnvironmentVariables?: Record<string, any>;
11
12
  IntrospectionConfig?: string;
12
13
  LambdaAuthorizerConfig?: LambdaAuthorizerConfig;
13
14
  LogConfig?: LogConfig;
@@ -9,6 +9,7 @@ export type EC2ClientVpnEndpointProperties = {
9
9
  ClientCidrBlock: string;
10
10
  ClientConnectOptions?: ClientConnectOptions;
11
11
  ClientLoginBannerOptions?: ClientLoginBannerOptions;
12
+ ClientRouteMonitoringOptions?: ClientRouteMonitoringOptions;
12
13
  ConnectionLogOptions: ConnectionLogOptions;
13
14
  Description?: string;
14
15
  DnsServers?: string[];
@@ -62,6 +63,13 @@ export type ClientLoginBannerOptions = {
62
63
  BannerText?: string;
63
64
  Enabled: boolean;
64
65
  };
66
+ /**
67
+ * Type definition for `AWS::EC2::ClientVpnEndpoint.ClientRouteMonitoringOptions`.
68
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-clientvpnendpoint-clientroutemonitoringoptions.html}
69
+ */
70
+ export type ClientRouteMonitoringOptions = {
71
+ Enabled?: boolean;
72
+ };
65
73
  /**
66
74
  * Type definition for `AWS::EC2::ClientVpnEndpoint.ConnectionLogOptions`.
67
75
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-clientvpnendpoint-connectionlogoptions.html}
@@ -5,17 +5,67 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupingress.html}
6
6
  */
7
7
  export type EC2SecurityGroupIngressProperties = {
8
+ /**
9
+ * The IPv4 ranges
10
+ */
8
11
  CidrIp?: string;
12
+ /**
13
+ * [VPC only] The IPv6 ranges
14
+ */
9
15
  CidrIpv6?: string;
16
+ /**
17
+ * Updates the description of an ingress (inbound) security group rule. You can replace an existing description, or add a description to a rule that did not have one previously
18
+ */
10
19
  Description?: string;
20
+ /**
21
+ * The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.
22
+
23
+ Use this for ICMP and any protocol that uses ports.
24
+ */
11
25
  FromPort?: number;
26
+ /**
27
+ * The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.
28
+
29
+ You must specify the GroupName property or the GroupId property. For security groups that are in a VPC, you must use the GroupId property.
30
+ */
12
31
  GroupId?: string;
32
+ /**
33
+ * The name of the security group.
34
+ */
13
35
  GroupName?: string;
36
+ /**
37
+ * The IP protocol name (tcp, udp, icmp, icmpv6) or number (see Protocol Numbers).
38
+
39
+ [VPC only] Use -1 to specify all protocols. When authorizing security group rules, specifying -1 or a protocol number other than tcp, udp, icmp, or icmpv6 allows traffic on all ports, regardless of any port range you specify. For tcp, udp, and icmp, you must specify a port range. For icmpv6, the port range is optional; if you omit the port range, traffic for all types and codes is allowed.
40
+ */
14
41
  IpProtocol: string;
42
+ /**
43
+ * [EC2-VPC only] The ID of a prefix list.
44
+
45
+
46
+ */
15
47
  SourcePrefixListId?: string;
48
+ /**
49
+ * The ID of the security group. You must specify either the security group ID or the security group name. For security groups in a nondefault VPC, you must specify the security group ID.
50
+ */
16
51
  SourceSecurityGroupId?: string;
52
+ /**
53
+ * [EC2-Classic, default VPC] The name of the source security group.
54
+
55
+ You must specify the GroupName property or the GroupId property. For security groups that are in a VPC, you must use the GroupId property.
56
+ */
17
57
  SourceSecurityGroupName?: string;
58
+ /**
59
+ * [nondefault VPC] The AWS account ID that owns the source security group. You can't specify this property with an IP address range.
60
+
61
+ If you specify SourceSecurityGroupName or SourceSecurityGroupId and that security group is owned by a different account than the account creating the stack, you must specify the SourceSecurityGroupOwnerId; otherwise, this property is optional.
62
+ */
18
63
  SourceSecurityGroupOwnerId?: string;
64
+ /**
65
+ * The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes for the specified ICMP type. If you specify all ICMP/ICMPv6 types, you must specify all codes.
66
+
67
+ Use this for ICMP and any protocol that uses ports.
68
+ */
19
69
  ToPort?: number;
20
70
  };
21
71
  /**
@@ -23,6 +73,9 @@ export type EC2SecurityGroupIngressProperties = {
23
73
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupingress.html#aws-resource-ec2-securitygroupingress-return-values}
24
74
  */
25
75
  export type EC2SecurityGroupIngressAttributes = {
76
+ /**
77
+ * The Security Group Rule Id
78
+ */
26
79
  Id: string;
27
80
  };
28
81
  /**
@@ -50,6 +50,7 @@ export type AuthorizationConfig = {
50
50
  export type ContainerDefinition = {
51
51
  Command?: string[];
52
52
  Cpu?: number;
53
+ CredentialSpecs?: string[];
53
54
  DependsOn?: ContainerDependency[];
54
55
  DisableNetworking?: boolean;
55
56
  DnsSearchDomains?: string[];
@@ -24,6 +24,7 @@ export type IoTDomainConfigurationProperties = {
24
24
  * @maxLength `1`
25
25
  */
26
26
  ServerCertificateArns?: string[];
27
+ ServerCertificateConfig?: ServerCertificateConfig;
27
28
  ServiceType?: "DATA" | "CREDENTIAL_PROVIDER" | "JOBS";
28
29
  Tags?: Tag[];
29
30
  TlsConfig?: TlsConfig;
@@ -63,6 +64,13 @@ export type AuthorizerConfig = {
63
64
  */
64
65
  DefaultAuthorizerName?: string;
65
66
  };
67
+ /**
68
+ * Type definition for `AWS::IoT::DomainConfiguration.ServerCertificateConfig`.
69
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-domainconfiguration-servercertificateconfig.html}
70
+ */
71
+ export type ServerCertificateConfig = {
72
+ EnableOCSPCheck?: boolean;
73
+ };
66
74
  /**
67
75
  * Type definition for `AWS::IoT::DomainConfiguration.ServerCertificateSummary`.
68
76
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-domainconfiguration-servercertificatesummary.html}
@@ -89,14 +89,14 @@ export type Tag = {
89
89
  * 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 -.
90
90
  * @minLength `1`
91
91
  * @maxLength `128`
92
- * @pattern `\A(?!aws:)[a-zA-Z0-9+\-=\._\:\/@]+$`
92
+ * @pattern `^[a-zA-Z+-=._:/]+$`
93
93
  */
94
94
  Key: string;
95
95
  /**
96
96
  * 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 -.
97
97
  * @minLength `0`
98
98
  * @maxLength `256`
99
- * @pattern `\A[a-zA-Z0-9+\-=\._\:\/@]+$`
99
+ * @pattern `^[A-Za-z0-9 _=@:.+-/]*$`
100
100
  */
101
101
  Value: string;
102
102
  };
@@ -71,14 +71,14 @@ export type Tag = {
71
71
  * 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 -.
72
72
  * @minLength `1`
73
73
  * @maxLength `128`
74
- * @pattern `\A(?!aws:)[a-zA-Z0-9+\-=\._\:\/@]+$`
74
+ * @pattern `^[a-zA-Z+-=._:/]+$`
75
75
  */
76
76
  Key: string;
77
77
  /**
78
78
  * 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 -.
79
79
  * @minLength `0`
80
80
  * @maxLength `256`
81
- * @pattern `\A[a-zA-Z0-9+\-=\._\:\/@]+$`
81
+ * @pattern `^[A-Za-z0-9 _=@:.+-/]*$`
82
82
  */
83
83
  Value: string;
84
84
  };
@@ -88,14 +88,14 @@ export type Tag = {
88
88
  * 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 -.
89
89
  * @minLength `1`
90
90
  * @maxLength `128`
91
- * @pattern `\A(?!aws:)[a-zA-Z0-9+\-=\._\:\/@]+$`
91
+ * @pattern `^[a-zA-Z+-=._:/]+$`
92
92
  */
93
93
  Key: string;
94
94
  /**
95
95
  * 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 -.
96
96
  * @minLength `0`
97
97
  * @maxLength `256`
98
- * @pattern `\A[a-zA-Z0-9+\-=\._\:\/@]+$`
98
+ * @pattern `^[A-Za-z0-9 _=@:.+-/]*$`
99
99
  */
100
100
  Value: string;
101
101
  };
@@ -79,14 +79,14 @@ export type Tag = {
79
79
  * 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 -.
80
80
  * @minLength `1`
81
81
  * @maxLength `128`
82
- * @pattern `\A(?!aws:)[a-zA-Z0-9+\-=\._\:\/@]+$`
82
+ * @pattern `^[a-zA-Z+-=._:/]+$`
83
83
  */
84
84
  Key: string;
85
85
  /**
86
86
  * 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 -.
87
87
  * @minLength `0`
88
88
  * @maxLength `256`
89
- * @pattern `\A[a-zA-Z0-9+\-=\._\:\/@]+$`
89
+ * @pattern `^[A-Za-z0-9 _=@:.+-/]*$`
90
90
  */
91
91
  Value: string;
92
92
  };
@@ -66,14 +66,14 @@ export type Tag = {
66
66
  * 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 -.
67
67
  * @minLength `1`
68
68
  * @maxLength `128`
69
- * @pattern `\A(?!aws:)[a-zA-Z0-9+\-=\._\:\/@]+$`
69
+ * @pattern `^[a-zA-Z+-=._:/]+$`
70
70
  */
71
71
  Key: string;
72
72
  /**
73
73
  * 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 -.
74
74
  * @minLength `0`
75
75
  * @maxLength `256`
76
- * @pattern `\A[a-zA-Z0-9+\-=\._\:\/@]+$`
76
+ * @pattern `^[A-Za-z0-9 _=@:.+-/]*$`
77
77
  */
78
78
  Value: string;
79
79
  };
@@ -79,14 +79,14 @@ export type Tag = {
79
79
  * 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 -.
80
80
  * @minLength `1`
81
81
  * @maxLength `128`
82
- * @pattern `\A(?!aws:)[a-zA-Z0-9+\-=\._\:\/@]+$`
82
+ * @pattern `^[a-zA-Z+-=._:/]+$`
83
83
  */
84
84
  Key: string;
85
85
  /**
86
86
  * 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 -.
87
87
  * @minLength `0`
88
88
  * @maxLength `256`
89
- * @pattern `\A[a-zA-Z0-9+\-=\._\:\/@]+$`
89
+ * @pattern `^[A-Za-z0-9 _=@:.+-/]*$`
90
90
  */
91
91
  Value: string;
92
92
  };
@@ -6,7 +6,11 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
6
6
  */
7
7
  export type RedshiftServerlessNamespaceProperties = {
8
8
  /**
9
- * The password associated with the admin user for the namespace that is being created. Password must be at least 8 characters in length, should be any printable ASCII character. Must contain at least one lowercase letter, one uppercase letter and one decimal digit.
9
+ * The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword is true.
10
+ */
11
+ AdminPasswordSecretKmsKeyId?: string;
12
+ /**
13
+ * The password associated with the admin user for the namespace that is being created. Password must be at least 8 characters in length, should be any printable ASCII character. Must contain at least one lowercase letter, one uppercase letter and one decimal digit. You can't use adminUserPassword if manageAdminPassword is true.
10
14
  * @minLength `8`
11
15
  * @maxLength `64`
12
16
  * @pattern `^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[^\x00-\x20\x22\x27\x2f\x40\x5c\x7f-\uffff]+`
@@ -51,6 +55,10 @@ export type RedshiftServerlessNamespaceProperties = {
51
55
  * @maxLength `16`
52
56
  */
53
57
  LogExports?: LogExport[];
58
+ /**
59
+ * If true, Amazon Redshift uses AWS Secrets Manager to manage the namespace's admin credentials. You can't use adminUserPassword if manageAdminPassword is true. If manageAdminPassword is false or not set, Amazon Redshift uses adminUserPassword for the admin user account's password.
60
+ */
61
+ ManageAdminPassword?: boolean;
54
62
  /**
55
63
  * A unique identifier for the namespace. You use this identifier to refer to the namespace for any subsequent namespace operations such as deleting or modifying. All alphabetical characters must be lower case. Namespace name should be unique for all namespaces within an AWS account.
56
64
  * @minLength `3`
@@ -58,6 +66,14 @@ export type RedshiftServerlessNamespaceProperties = {
58
66
  * @pattern `^[a-z0-9-]+$`
59
67
  */
60
68
  NamespaceName: string;
69
+ /**
70
+ * The resource policy document that will be attached to the namespace.
71
+ */
72
+ NamespaceResourcePolicy?: Record<string, any>;
73
+ /**
74
+ * The ARN for the Redshift application that integrates with IAM Identity Center.
75
+ */
76
+ RedshiftIdcApplicationArn?: string;
61
77
  /**
62
78
  * The list of tags for the namespace.
63
79
  * @minLength `0`
@@ -70,7 +86,12 @@ export type RedshiftServerlessNamespaceProperties = {
70
86
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-namespace.html#aws-resource-redshiftserverless-namespace-return-values}
71
87
  */
72
88
  export type RedshiftServerlessNamespaceAttributes = {
89
+ /**
90
+ * Definition of Namespace resource.
91
+ */
73
92
  Namespace: {
93
+ AdminPasswordSecretArn: string;
94
+ AdminPasswordSecretKmsKeyId: string;
74
95
  AdminUsername: string;
75
96
  CreationDate: string;
76
97
  /**
@@ -101,6 +122,14 @@ export type RedshiftServerlessNamespaceAttributes = {
101
122
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-namespace-logexport.html}
102
123
  */
103
124
  export type LogExport = "useractivitylog" | "userlog" | "connectionlog";
125
+ /**
126
+ * Type definition for `AWS::RedshiftServerless::Namespace.Namespace`.
127
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-namespace-namespace.html}
128
+ */
129
+ export type Namespace = {
130
+ AdminPasswordSecretArn?: string;
131
+ AdminPasswordSecretKmsKeyId?: string;
132
+ };
104
133
  /**
105
134
  * Type definition for `AWS::RedshiftServerless::Namespace.NamespaceStatus`.
106
135
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-namespace-namespacestatus.html}
@@ -1,49 +1,59 @@
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
- * Resource Type definition for AWS::SSM::Parameter
4
+ * The ``AWS::SSM::Parameter`` resource creates an SSM parameter in SYSlong Parameter Store.
5
+ To create an SSM parameter, you must have the IAMlong (IAM) permissions ``ssm:PutParameter`` and ``ssm:AddTagsToResource``. On stack creation, CFNlong adds the following three tags to the parameter: ``aws:cloudformation:stack-name``, ``aws:cloudformation:logical-id``, and ``aws:cloudformation:stack-id``, in addition to any custom tags you specify.
6
+ To add, update, or remove tags during stack update, you must have IAM permissions for both ``ssm:AddTagsToResource`` and ``ssm:RemoveTagsFromResource``. For more information, see [Managing Access Using Policies](https://docs.aws.amazon.com/systems-manager/latest/userguide/security-iam.html#security_iam_access-manage) in the *User Guide*.
7
+ For information about valid values for parameters, see [Requirements and Constraints for Parameter Names](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html#sysman-paramete
5
8
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-parameter.html}
6
9
  */
7
10
  export type SSMParameterProperties = {
8
11
  /**
9
- * The regular expression used to validate the parameter value.
12
+ * A regular expression used to validate the parameter value. For example, for String types with values restricted to numbers, you can specify the following: ``AllowedPattern=^\d+$``
10
13
  */
11
14
  AllowedPattern?: string;
12
15
  /**
13
- * The corresponding DataType of the parameter.
16
+ * The data type of the parameter, such as ``text`` or ``aws:ec2:image``. The default is ``text``.
14
17
  */
15
18
  DataType?: "text" | "aws:ec2:image";
16
19
  /**
17
- * The information about the parameter.
20
+ * Information about the parameter.
18
21
  */
19
22
  Description?: string;
20
23
  /**
21
- * The name of the parameter.
22
- */
24
+ * The name of the parameter.
25
+ The maximum length constraint listed below includes capacity for additional system attributes that aren't part of the name. The maximum length for a parameter name, including the full length of the parameter ARN, is 1011 characters. For example, the length of the following parameter name is 65 characters, not 20 characters: ``arn:aws:ssm:us-east-2:111222333444:parameter/ExampleParameterName``
26
+ */
23
27
  Name?: string;
24
28
  /**
25
- * The policies attached to the parameter.
26
- */
29
+ * Information about the policies assigned to a parameter.
30
+ [Assigning parameter policies](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html) in the *User Guide*.
31
+ */
27
32
  Policies?: string;
28
33
  /**
29
- * A key-value pair to associate with a resource.
34
+ * Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter.
30
35
  */
31
36
  Tags?: Record<string, string>;
32
37
  /**
33
- * The corresponding tier of the parameter.
38
+ * The parameter tier.
34
39
  */
35
40
  Tier?: "Standard" | "Advanced" | "Intelligent-Tiering";
36
41
  /**
37
- * The type of the parameter.
38
- */
39
- Type: "String" | "StringList" | "SecureString";
42
+ * The type of parameter.
43
+ Although ``SecureString`` is included in the list of valid values, CFNlong does *not* currently support creating a ``SecureString`` parameter type.
44
+ */
45
+ Type: "String" | "StringList";
40
46
  /**
41
- * The value associated with the parameter.
42
- */
47
+ * The parameter value.
48
+ If type is ``StringList``, the system returns a comma-separated string with no spaces between commas in the ``Value`` field.
49
+ */
43
50
  Value: string;
44
51
  };
45
52
  /**
46
- * Resource Type definition for AWS::SSM::Parameter
53
+ * The ``AWS::SSM::Parameter`` resource creates an SSM parameter in SYSlong Parameter Store.
54
+ To create an SSM parameter, you must have the IAMlong (IAM) permissions ``ssm:PutParameter`` and ``ssm:AddTagsToResource``. On stack creation, CFNlong adds the following three tags to the parameter: ``aws:cloudformation:stack-name``, ``aws:cloudformation:logical-id``, and ``aws:cloudformation:stack-id``, in addition to any custom tags you specify.
55
+ To add, update, or remove tags during stack update, you must have IAM permissions for both ``ssm:AddTagsToResource`` and ``ssm:RemoveTagsFromResource``. For more information, see [Managing Access Using Policies](https://docs.aws.amazon.com/systems-manager/latest/userguide/security-iam.html#security_iam_access-manage) in the *User Guide*.
56
+ For information about valid values for parameters, see [Requirements and Constraints for Parameter Names](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html#sysman-paramete
47
57
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-parameter.html}
48
58
  */
49
59
  export declare class SSMParameter extends $Resource<"AWS::SSM::Parameter", SSMParameterProperties, Record<string, never>> {
@@ -1,6 +1,9 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  /**
3
- * Resource Type definition for AWS::SSM::Parameter
3
+ * The ``AWS::SSM::Parameter`` resource creates an SSM parameter in SYSlong Parameter Store.
4
+ To create an SSM parameter, you must have the IAMlong (IAM) permissions ``ssm:PutParameter`` and ``ssm:AddTagsToResource``. On stack creation, CFNlong adds the following three tags to the parameter: ``aws:cloudformation:stack-name``, ``aws:cloudformation:logical-id``, and ``aws:cloudformation:stack-id``, in addition to any custom tags you specify.
5
+ To add, update, or remove tags during stack update, you must have IAM permissions for both ``ssm:AddTagsToResource`` and ``ssm:RemoveTagsFromResource``. For more information, see [Managing Access Using Policies](https://docs.aws.amazon.com/systems-manager/latest/userguide/security-iam.html#security_iam_access-manage) in the *User Guide*.
6
+ For information about valid values for parameters, see [Requirements and Constraints for Parameter Names](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html#sysman-paramete
4
7
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-parameter.html}
5
8
  */
6
9
  export class SSMParameter extends $Resource {
@@ -1,15 +1,10 @@
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
- * Definition of AWS::SSMGuiConnect::Preferences Resource Type
4
+ * Resource Type definition for AWS::SSMGuiConnect::Preferences
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmguiconnect-preferences.html}
6
6
  */
7
7
  export type SSMGuiConnectPreferencesProperties = {
8
- /**
9
- * A map for Idle Connection Preferences
10
- * @minLength `1`
11
- * @maxLength `1`
12
- */
13
8
  IdleConnection?: IdleConnectionPreferences[];
14
9
  };
15
10
  /**
@@ -17,27 +12,19 @@ export type SSMGuiConnectPreferencesProperties = {
17
12
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmguiconnect-preferences.html#aws-resource-ssmguiconnect-preferences-return-values}
18
13
  */
19
14
  export type SSMGuiConnectPreferencesAttributes = {
20
- /**
21
- * The AWS Account Id that the preference is associated with, used as the unique identifier for this resource.
22
- * @pattern `\d{12}`
23
- */
24
15
  AccountId: string;
16
+ Id: string;
25
17
  };
26
18
  /**
27
19
  * Type definition for `AWS::SSMGuiConnect::Preferences.IdleConnectionAlert`.
28
20
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmguiconnect-preferences-idleconnectionalert.html}
29
21
  */
30
22
  export type IdleConnectionAlert = {
31
- Type?: "MINUTES";
32
- /**
33
- * @min `0`
34
- * @max `60`
35
- */
23
+ Type?: string;
36
24
  Value: number;
37
25
  };
38
26
  /**
39
27
  * Type definition for `AWS::SSMGuiConnect::Preferences.IdleConnectionPreferences`.
40
- * Idle Connection Preferences
41
28
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmguiconnect-preferences-idleconnectionpreferences.html}
42
29
  */
43
30
  export type IdleConnectionPreferences = {
@@ -49,15 +36,11 @@ export type IdleConnectionPreferences = {
49
36
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmguiconnect-preferences-idleconnectiontimeout.html}
50
37
  */
51
38
  export type IdleConnectionTimeout = {
52
- Type?: "MINUTES";
53
- /**
54
- * @min `1`
55
- * @max `60`
56
- */
39
+ Type?: string;
57
40
  Value: number;
58
41
  };
59
42
  /**
60
- * Definition of AWS::SSMGuiConnect::Preferences Resource Type
43
+ * Resource Type definition for AWS::SSMGuiConnect::Preferences
61
44
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmguiconnect-preferences.html}
62
45
  */
63
46
  export declare class SSMGuiConnectPreferences extends $Resource<"AWS::SSMGuiConnect::Preferences", SSMGuiConnectPreferencesProperties, SSMGuiConnectPreferencesAttributes> {
@@ -1,6 +1,6 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  /**
3
- * Definition of AWS::SSMGuiConnect::Preferences Resource Type
3
+ * Resource Type definition for AWS::SSMGuiConnect::Preferences
4
4
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssmguiconnect-preferences.html}
5
5
  */
6
6
  export class SSMGuiConnectPreferences extends $Resource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },