@awboost/cfn-resource-types 0.1.15 → 0.1.17

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
@@ -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[];
@@ -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
  };
@@ -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 {
@@ -11,7 +11,7 @@ export type VerifiedPermissionsIdentitySourceProperties = {
11
11
  * @maxLength `200`
12
12
  * @pattern `^[a-zA-Z0-9-]*$`
13
13
  */
14
- PolicyStoreId?: string;
14
+ PolicyStoreId: string;
15
15
  /**
16
16
  * @minLength `1`
17
17
  * @maxLength `200`
@@ -15,7 +15,7 @@ export type VerifiedPermissionsPolicyTemplateProperties = {
15
15
  * @maxLength `200`
16
16
  * @pattern `^[a-zA-Z0-9-]*$`
17
17
  */
18
- PolicyStoreId?: string;
18
+ PolicyStoreId: string;
19
19
  /**
20
20
  * @minLength `1`
21
21
  * @maxLength `10000`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.15",
3
+ "version": "0.1.17",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },