@awboost/cfn-resource-types 0.1.422 → 0.1.424

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.
@@ -24,6 +24,10 @@ export type APSScraperProperties = {
24
24
  * Scraper configuration
25
25
  */
26
26
  ScrapeConfiguration: ScrapeConfiguration;
27
+ /**
28
+ * Configuration for scraper logging
29
+ */
30
+ ScraperLoggingConfiguration?: ScraperLoggingConfiguration;
27
31
  /**
28
32
  * Scraper metrics source
29
33
  */
@@ -40,7 +44,7 @@ export type APSScraperProperties = {
40
44
  export type APSScraperAttributes = {
41
45
  /**
42
46
  * Scraper ARN.
43
- * @pattern `^arn:(aws|aws-us-gov|aws-cn):aps:(af|ap|ca|eu|me|sa|us)-(central|north|(north(?:east|west))|south|south(?:east|west)|east|west)-[0-9]+:[0-9]+:scraper/s-[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{12}$`
47
+ * @pattern `^arn:(aws|aws-us-gov|aws-cn):aps:[a-z0-9-]+:[0-9]+:scraper/s-[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{12}$`
44
48
  */
45
49
  Arn: string;
46
50
  /**
@@ -58,6 +62,26 @@ export type APSScraperAttributes = {
58
62
  */
59
63
  ScraperId: string;
60
64
  };
65
+ /**
66
+ * Type definition for `AWS::APS::Scraper.CloudWatchLogDestination`.
67
+ * Represents a cloudwatch logs destination for scraper logging
68
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-cloudwatchlogdestination.html}
69
+ */
70
+ export type CloudWatchLogDestination = {
71
+ /**
72
+ * ARN of the CloudWatch log group
73
+ * @minLength `0`
74
+ * @maxLength `512`
75
+ */
76
+ LogGroupArn?: string;
77
+ };
78
+ /**
79
+ * Type definition for `AWS::APS::Scraper.ComponentConfig`.
80
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-componentconfig.html}
81
+ */
82
+ export type ComponentConfig = {
83
+ Options?: Record<string, string>;
84
+ };
61
85
  /**
62
86
  * Type definition for `AWS::APS::Scraper.Destination`.
63
87
  * Scraper metrics destination
@@ -101,6 +125,49 @@ export type ScrapeConfiguration = {
101
125
  */
102
126
  ConfigurationBlob?: string;
103
127
  };
128
+ /**
129
+ * Type definition for `AWS::APS::Scraper.ScraperComponent`.
130
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scrapercomponent.html}
131
+ */
132
+ export type ScraperComponent = {
133
+ Config?: ComponentConfig;
134
+ /**
135
+ * Type of scraper component
136
+ */
137
+ Type: ScraperComponentType;
138
+ };
139
+ /**
140
+ * Type definition for `AWS::APS::Scraper.ScraperComponentType`.
141
+ * Type of scraper component
142
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scrapercomponenttype.html}
143
+ */
144
+ export type ScraperComponentType = "SERVICE_DISCOVERY" | "COLLECTOR" | "EXPORTER";
145
+ /**
146
+ * Type definition for `AWS::APS::Scraper.ScraperLoggingConfiguration`.
147
+ * Configuration for scraper logging
148
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scraperloggingconfiguration.html}
149
+ */
150
+ export type ScraperLoggingConfiguration = {
151
+ /**
152
+ * Destination for scraper logging
153
+ */
154
+ LoggingDestination: ScraperLoggingDestination;
155
+ /**
156
+ * @minLength `1`
157
+ */
158
+ ScraperComponents: ScraperComponent[];
159
+ };
160
+ /**
161
+ * Type definition for `AWS::APS::Scraper.ScraperLoggingDestination`.
162
+ * Destination for scraper logging
163
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scraperloggingdestination.html}
164
+ */
165
+ export type ScraperLoggingDestination = {
166
+ /**
167
+ * Represents a cloudwatch logs destination for scraper logging
168
+ */
169
+ CloudWatchLogs?: CloudWatchLogDestination;
170
+ };
104
171
  /**
105
172
  * Type definition for `AWS::APS::Scraper.Source`.
106
173
  * Scraper metrics source
@@ -5,6 +5,10 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html}
6
6
  */
7
7
  export type BedrockGuardrailProperties = {
8
+ /**
9
+ * Optional configuration for integrating Automated Reasoning policies with the guardrail.
10
+ */
11
+ AutomatedReasoningPolicyConfig?: AutomatedReasoningPolicyConfig;
8
12
  /**
9
13
  * Messaging for when violations are detected in text
10
14
  * @minLength `1`
@@ -113,6 +117,25 @@ export type BedrockGuardrailAttributes = {
113
117
  */
114
118
  Version: string;
115
119
  };
120
+ /**
121
+ * Type definition for `AWS::Bedrock::Guardrail.AutomatedReasoningPolicyConfig`.
122
+ * Optional configuration for integrating Automated Reasoning policies with the guardrail.
123
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-automatedreasoningpolicyconfig.html}
124
+ */
125
+ export type AutomatedReasoningPolicyConfig = {
126
+ /**
127
+ * The confidence threshold for triggering guardrail actions based on Automated Reasoning policy violations.
128
+ * @min `0`
129
+ * @max `1`
130
+ */
131
+ ConfidenceThreshold?: number;
132
+ /**
133
+ * The list of Automated Reasoning policy ARNs to include in the guardrail configuration
134
+ * @minLength `1`
135
+ * @maxLength `2`
136
+ */
137
+ Policies: string[];
138
+ };
116
139
  /**
117
140
  * Type definition for `AWS::Bedrock::Guardrail.ContentFilterAction`.
118
141
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-contentfilteraction.html}
@@ -79,7 +79,7 @@ export type PropertyMapping = {
79
79
  /**
80
80
  * The k-NN search engine to use
81
81
  */
82
- Engine: "nmslib" | "faiss" | "lucene";
82
+ Engine?: "nmslib" | "faiss" | "lucene";
83
83
  /**
84
84
  * The algorithm name for k-NN search
85
85
  */
@@ -12,6 +12,10 @@ export type OpenSearchServerlessSecurityConfigProperties = {
12
12
  * @maxLength `1000`
13
13
  */
14
14
  Description?: string;
15
+ /**
16
+ * Describe IAM federation options in form of key value map
17
+ */
18
+ IamFederationOptions?: IamFederationConfigOptions;
15
19
  /**
16
20
  * Describes IAM Identity Center options for an OpenSearch Serverless security configuration in the form of a key-value map
17
21
  */
@@ -61,6 +65,21 @@ export type OpenSearchServerlessSecurityConfigAttributes = {
61
65
  */
62
66
  Id: string;
63
67
  };
68
+ /**
69
+ * Type definition for `AWS::OpenSearchServerless::SecurityConfig.IamFederationConfigOptions`.
70
+ * Describe IAM federation options in form of key value map
71
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-iamfederationconfigoptions.html}
72
+ */
73
+ export type IamFederationConfigOptions = {
74
+ /**
75
+ * Group attribute for this IAM federation integration
76
+ */
77
+ GroupAttribute?: string;
78
+ /**
79
+ * User attribute for this IAM federation integration
80
+ */
81
+ UserAttribute?: string;
82
+ };
64
83
  /**
65
84
  * Type definition for `AWS::OpenSearchServerless::SecurityConfig.IamIdentityCenterConfigOptions`.
66
85
  * Describes IAM Identity Center options for an OpenSearch Serverless security configuration in the form of a key-value map
@@ -124,7 +143,7 @@ export type SamlConfigOptions = {
124
143
  * Config type for security config
125
144
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-securityconfig-securityconfigtype.html}
126
145
  */
127
- export type SecurityConfigType = "saml" | "iamidentitycenter";
146
+ export type SecurityConfigType = "saml" | "iamidentitycenter" | "iamfederation";
128
147
  /**
129
148
  * Resource type definition for `AWS::OpenSearchServerless::SecurityConfig`.
130
149
  * Amazon OpenSearchServerless security config resource
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.422",
3
+ "version": "0.1.424",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },