@awboost/cfn-resource-types 0.1.72 → 0.1.74

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,52 @@
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
+ * Definition of AWS::Bedrock::GuardrailVersion Resource Type
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrailversion.html}
6
+ */
7
+ export type BedrockGuardrailVersionProperties = {
8
+ /**
9
+ * Description of the Guardrail version
10
+ * @minLength `1`
11
+ * @maxLength `200`
12
+ */
13
+ Description?: string;
14
+ /**
15
+ * Identifier (GuardrailId or GuardrailArn) for the guardrail
16
+ * @maxLength `2048`
17
+ * @pattern `^(([a-z0-9]+)|(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail/[a-z0-9]+))$`
18
+ */
19
+ GuardrailIdentifier: string;
20
+ };
21
+ /**
22
+ * Attribute type definition for `AWS::Bedrock::GuardrailVersion`.
23
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrailversion.html#aws-resource-bedrock-guardrailversion-return-values}
24
+ */
25
+ export type BedrockGuardrailVersionAttributes = {
26
+ /**
27
+ * Arn representation for the guardrail
28
+ * @maxLength `2048`
29
+ * @pattern `^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail/[a-z0-9]+$`
30
+ */
31
+ GuardrailArn: string;
32
+ /**
33
+ * Unique id for the guardrail
34
+ * @maxLength `64`
35
+ * @pattern `^[a-z0-9]+$`
36
+ */
37
+ GuardrailId: string;
38
+ /**
39
+ * Guardrail version
40
+ * @pattern `^[1-9][0-9]{0,7}$`
41
+ */
42
+ Version: string;
43
+ };
44
+ /**
45
+ * Definition of AWS::Bedrock::GuardrailVersion Resource Type
46
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrailversion.html}
47
+ */
48
+ export declare class BedrockGuardrailVersion extends $Resource<"AWS::Bedrock::GuardrailVersion", BedrockGuardrailVersionProperties, BedrockGuardrailVersionAttributes> {
49
+ static readonly Type = "AWS::Bedrock::GuardrailVersion";
50
+ constructor(logicalId: string, properties: BedrockGuardrailVersionProperties, options?: $ResourceOptions);
51
+ }
52
+ //# sourceMappingURL=AWS-Bedrock-GuardrailVersion.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Definition of AWS::Bedrock::GuardrailVersion Resource Type
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrailversion.html}
5
+ */
6
+ export class BedrockGuardrailVersion extends $Resource {
7
+ static Type = "AWS::Bedrock::GuardrailVersion";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, BedrockGuardrailVersion.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-Bedrock-GuardrailVersion.js.map
@@ -13,6 +13,7 @@ export type BudgetsBudgetsActionProperties = {
13
13
  Definition: Definition;
14
14
  ExecutionRoleArn: string;
15
15
  NotificationType: "ACTUAL" | "FORECASTED";
16
+ ResourceTags?: ResourceTag[];
16
17
  /**
17
18
  * @minLength `1`
18
19
  * @maxLength `11`
@@ -65,6 +66,14 @@ export type IamActionDefinition = {
65
66
  */
66
67
  Users?: string[];
67
68
  };
69
+ /**
70
+ * Type definition for `AWS::Budgets::BudgetsAction.ResourceTag`.
71
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-resourcetag.html}
72
+ */
73
+ export type ResourceTag = {
74
+ Key: string;
75
+ Value: string;
76
+ };
68
77
  /**
69
78
  * Type definition for `AWS::Budgets::BudgetsAction.ScpActionDefinition`.
70
79
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budgetsaction-scpactiondefinition.html}
@@ -5,7 +5,7 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * Specifies the properties for creating a launch template.
6
6
  The minimum required properties for specifying a launch template are as follows:
7
7
  + You must specify at least one property for the launch template data.
8
- + You do not need to specify a name for the launch template. If you do not specify a name, CFN creates the name for you.
8
+ + You can optionally specify a name for the launch template. If you do not specify a name, CFN creates a name for you.
9
9
 
10
10
  A launch template can contain some or all of the configuration information to launch an instance. When you launch an instance using a launch template, instance properties that are not specified in the launch template use default values, except the ``ImageId`` property, which has no default value. If you do not specify an AMI ID for the launch template ``ImageId`` property, you must specify an AMI ID for the instance ``ImageId`` property.
11
11
  For more information, see [Launch an instance from a launch template](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) in the *Amazon EC2 User Guide*.
@@ -920,7 +920,7 @@ export type NetworkInterface = {
920
920
  */
921
921
  Description?: string;
922
922
  /**
923
- * The device index for the network interface attachment.
923
+ * The device index for the network interface attachment. Each network interface requires a device index. If you create a launch template that includes secondary network interfaces but not a primary network interface, then you must add a primary network interface as a launch parameter when you launch an instance from the template.
924
924
  */
925
925
  DeviceIndex?: number;
926
926
  /**
@@ -1186,7 +1186,7 @@ export type VCpuCount = {
1186
1186
  * Specifies the properties for creating a launch template.
1187
1187
  The minimum required properties for specifying a launch template are as follows:
1188
1188
  + You must specify at least one property for the launch template data.
1189
- + You do not need to specify a name for the launch template. If you do not specify a name, CFN creates the name for you.
1189
+ + You can optionally specify a name for the launch template. If you do not specify a name, CFN creates a name for you.
1190
1190
 
1191
1191
  A launch template can contain some or all of the configuration information to launch an instance. When you launch an instance using a launch template, instance properties that are not specified in the launch template use default values, except the ``ImageId`` property, which has no default value. If you do not specify an AMI ID for the launch template ``ImageId`` property, you must specify an AMI ID for the instance ``ImageId`` property.
1192
1192
  For more information, see [Launch an instance from a launch template](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) in the *Amazon EC2 User Guide*.
@@ -4,7 +4,7 @@ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/re
4
4
  * Specifies the properties for creating a launch template.
5
5
  The minimum required properties for specifying a launch template are as follows:
6
6
  + You must specify at least one property for the launch template data.
7
- + You do not need to specify a name for the launch template. If you do not specify a name, CFN creates the name for you.
7
+ + You can optionally specify a name for the launch template. If you do not specify a name, CFN creates a name for you.
8
8
 
9
9
  A launch template can contain some or all of the configuration information to launch an instance. When you launch an instance using a launch template, instance properties that are not specified in the launch template use default values, except the ``ImageId`` property, which has no default value. If you do not specify an AMI ID for the launch template ``ImageId`` property, you must specify an AMI ID for the instance ``ImageId`` property.
10
10
  For more information, see [Launch an instance from a launch template](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) in the *Amazon EC2 User Guide*.
@@ -3,7 +3,15 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
3
3
  /**
4
4
  * The ``AWS::KMS::Alias`` resource specifies a display name for a [KMS key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#kms_keys). You can use an alias to identify a KMS key in the KMS console, in the [DescribeKey](https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html) operation, and in [cryptographic operations](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations), such as [Decrypt](https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html) and [GenerateDataKey](https://docs.aws.amazon.com/kms/latest/APIReference/API_GenerateDataKey.html).
5
5
  Adding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see [ABAC for](https://docs.aws.amazon.com/kms/latest/developerguide/abac.html) in the *Developer Guide*.
6
- Using an alias to refer to a KMS key can help you simplify key management. For example, an alias in your code can be associated with different KMS keys i
6
+ Using an alias to refer to a KMS key can help you simplify key management. For example, an alias in your code can be associated with different KMS keys in different AWS-Regions. For more information, see [Using aliases](https://docs.aws.amazon.com/kms/latest/developerguide/kms-alias.html) in the *Developer Guide*.
7
+ When specifying an alias, observe the following rules.
8
+ + Each alias is associated with one KMS key, but multiple aliases can be associated with the same KMS key.
9
+ + The alias and its associated KMS key must be in the same AWS-account and Region.
10
+ + The alias name must be unique in the AWS-account and Region. However, you can create aliases with the same name in different AWS-Regions. For example, you can have an ``alias/projectKey`` in multiple Regions, each of which is associated with a KMS key in its Region.
11
+ + Each alias name must begin with ``alias/`` followed by a name, such as ``alias/exampleKey``. The alias name can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). Alias names cannot begin with ``alias/aws/``. That alias name prefix is reserved for [](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk).
12
+
13
+ *Regions*
14
+ KMS CloudFormation resources are available in all AWS-Regions in which KMS and CFN are supported.
7
15
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-alias.html}
8
16
  */
9
17
  export type KMSAliasProperties = {
@@ -34,7 +42,15 @@ export type KMSAliasProperties = {
34
42
  /**
35
43
  * The ``AWS::KMS::Alias`` resource specifies a display name for a [KMS key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#kms_keys). You can use an alias to identify a KMS key in the KMS console, in the [DescribeKey](https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html) operation, and in [cryptographic operations](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations), such as [Decrypt](https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html) and [GenerateDataKey](https://docs.aws.amazon.com/kms/latest/APIReference/API_GenerateDataKey.html).
36
44
  Adding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see [ABAC for](https://docs.aws.amazon.com/kms/latest/developerguide/abac.html) in the *Developer Guide*.
37
- Using an alias to refer to a KMS key can help you simplify key management. For example, an alias in your code can be associated with different KMS keys i
45
+ Using an alias to refer to a KMS key can help you simplify key management. For example, an alias in your code can be associated with different KMS keys in different AWS-Regions. For more information, see [Using aliases](https://docs.aws.amazon.com/kms/latest/developerguide/kms-alias.html) in the *Developer Guide*.
46
+ When specifying an alias, observe the following rules.
47
+ + Each alias is associated with one KMS key, but multiple aliases can be associated with the same KMS key.
48
+ + The alias and its associated KMS key must be in the same AWS-account and Region.
49
+ + The alias name must be unique in the AWS-account and Region. However, you can create aliases with the same name in different AWS-Regions. For example, you can have an ``alias/projectKey`` in multiple Regions, each of which is associated with a KMS key in its Region.
50
+ + Each alias name must begin with ``alias/`` followed by a name, such as ``alias/exampleKey``. The alias name can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). Alias names cannot begin with ``alias/aws/``. That alias name prefix is reserved for [](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk).
51
+
52
+ *Regions*
53
+ KMS CloudFormation resources are available in all AWS-Regions in which KMS and CFN are supported.
38
54
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-alias.html}
39
55
  */
40
56
  export declare class KMSAlias extends $Resource<"AWS::KMS::Alias", KMSAliasProperties, Record<string, never>> {
@@ -2,7 +2,15 @@ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/re
2
2
  /**
3
3
  * The ``AWS::KMS::Alias`` resource specifies a display name for a [KMS key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#kms_keys). You can use an alias to identify a KMS key in the KMS console, in the [DescribeKey](https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html) operation, and in [cryptographic operations](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#cryptographic-operations), such as [Decrypt](https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html) and [GenerateDataKey](https://docs.aws.amazon.com/kms/latest/APIReference/API_GenerateDataKey.html).
4
4
  Adding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see [ABAC for](https://docs.aws.amazon.com/kms/latest/developerguide/abac.html) in the *Developer Guide*.
5
- Using an alias to refer to a KMS key can help you simplify key management. For example, an alias in your code can be associated with different KMS keys i
5
+ Using an alias to refer to a KMS key can help you simplify key management. For example, an alias in your code can be associated with different KMS keys in different AWS-Regions. For more information, see [Using aliases](https://docs.aws.amazon.com/kms/latest/developerguide/kms-alias.html) in the *Developer Guide*.
6
+ When specifying an alias, observe the following rules.
7
+ + Each alias is associated with one KMS key, but multiple aliases can be associated with the same KMS key.
8
+ + The alias and its associated KMS key must be in the same AWS-account and Region.
9
+ + The alias name must be unique in the AWS-account and Region. However, you can create aliases with the same name in different AWS-Regions. For example, you can have an ``alias/projectKey`` in multiple Regions, each of which is associated with a KMS key in its Region.
10
+ + Each alias name must begin with ``alias/`` followed by a name, such as ``alias/exampleKey``. The alias name can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-). Alias names cannot begin with ``alias/aws/``. That alias name prefix is reserved for [](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk).
11
+
12
+ *Regions*
13
+ KMS CloudFormation resources are available in all AWS-Regions in which KMS and CFN are supported.
6
14
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-alias.html}
7
15
  */
8
16
  export class KMSAlias extends $Resource {