@awboost/cfn-resource-types 0.1.177 → 0.1.179

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,28 +5,74 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deploymentstrategy.html}
6
6
  */
7
7
  export type AppConfigDeploymentStrategyProperties = {
8
+ /**
9
+ * Total amount of time for a deployment to last.
10
+ */
8
11
  DeploymentDurationInMinutes: number;
12
+ /**
13
+ * A description of the deployment strategy.
14
+ */
9
15
  Description?: string;
16
+ /**
17
+ * Specifies the amount of time AWS AppConfig monitors for Amazon CloudWatch alarms after the configuration has been deployed to 100% of its targets, before considering the deployment to be complete. If an alarm is triggered during this time, AWS AppConfig rolls back the deployment. You must configure permissions for AWS AppConfig to roll back based on CloudWatch alarms. For more information, see Configuring permissions for rollback based on Amazon CloudWatch alarms in the AWS AppConfig User Guide.
18
+ */
10
19
  FinalBakeTimeInMinutes?: number;
20
+ /**
21
+ * The percentage of targets to receive a deployed configuration during each interval.
22
+ */
11
23
  GrowthFactor: number;
12
- GrowthType?: string;
24
+ /**
25
+ * The algorithm used to define how percentage grows over time. AWS AppConfig supports the following growth types:
26
+
27
+ Linear: For this type, AWS AppConfig processes the deployment by dividing the total number of targets by the value specified for Step percentage. For example, a linear deployment that uses a Step percentage of 10 deploys the configuration to 10 percent of the hosts. After those deployments are complete, the system deploys the configuration to the next 10 percent. This continues until 100% of the targets have successfully received the configuration.
28
+
29
+ Exponential: For this type, AWS AppConfig processes the deployment exponentially using the following formula: G*(2^N). In this formula, G is the growth factor specified by the user and N is the number of steps until the configuration is deployed to all targets. For example, if you specify a growth factor of 2, then the system rolls out the configuration as follows:
30
+
31
+ 2*(2^0)
32
+
33
+ 2*(2^1)
34
+
35
+ 2*(2^2)
36
+
37
+ Expressed numerically, the deployment rolls out as follows: 2% of the targets, 4% of the targets, 8% of the targets, and continues until the configuration has been deployed to all targets.
38
+ */
39
+ GrowthType?: "EXPONENTIAL" | "LINEAR";
40
+ /**
41
+ * A name for the deployment strategy.
42
+ */
13
43
  Name: string;
14
- ReplicateTo: string;
15
- Tags?: Tags[];
44
+ /**
45
+ * Save the deployment strategy to a Systems Manager (SSM) document.
46
+ */
47
+ ReplicateTo: "NONE" | "SSM_DOCUMENT";
48
+ /**
49
+ * Assigns metadata to an AWS AppConfig resource. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define. You can specify a maximum of 50 tags for a resource.
50
+ */
51
+ Tags?: Tag[];
16
52
  };
17
53
  /**
18
54
  * Attribute type definition for `AWS::AppConfig::DeploymentStrategy`.
19
55
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deploymentstrategy.html#aws-resource-appconfig-deploymentstrategy-return-values}
20
56
  */
21
57
  export type AppConfigDeploymentStrategyAttributes = {
58
+ /**
59
+ * The deployment strategy ID.
60
+ */
22
61
  Id: string;
23
62
  };
24
63
  /**
25
- * Type definition for `AWS::AppConfig::DeploymentStrategy.Tags`.
26
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-deploymentstrategy-tags.html}
64
+ * Type definition for `AWS::AppConfig::DeploymentStrategy.Tag`.
65
+ * Metadata to assign to the deployment strategy. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
66
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-deploymentstrategy-tag.html}
27
67
  */
28
- export type Tags = {
68
+ export type Tag = {
69
+ /**
70
+ * 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 -.
71
+ */
29
72
  Key?: string;
73
+ /**
74
+ * 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 -.
75
+ */
30
76
  Value?: string;
31
77
  };
32
78
  /**
@@ -468,7 +468,7 @@ export type KnowledgeBaseFlowNodeConfiguration = {
468
468
  * ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models.
469
469
  * @minLength `1`
470
470
  * @maxLength `2048`
471
- * @pattern `^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$`
471
+ * @pattern `^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
472
472
  */
473
473
  ModelId?: string;
474
474
  };
@@ -536,7 +536,7 @@ export type PromptFlowNodeInlineConfiguration = {
536
536
  * ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models.
537
537
  * @minLength `1`
538
538
  * @maxLength `2048`
539
- * @pattern `^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$`
539
+ * @pattern `^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
540
540
  */
541
541
  ModelId: string;
542
542
  TemplateConfiguration: PromptTemplateConfiguration;
@@ -498,7 +498,7 @@ export type KnowledgeBaseFlowNodeConfiguration = {
498
498
  * ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models.
499
499
  * @minLength `1`
500
500
  * @maxLength `2048`
501
- * @pattern `^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$`
501
+ * @pattern `^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
502
502
  */
503
503
  ModelId?: string;
504
504
  };
@@ -566,7 +566,7 @@ export type PromptFlowNodeInlineConfiguration = {
566
566
  * ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models.
567
567
  * @minLength `1`
568
568
  * @maxLength `2048`
569
- * @pattern `^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$`
569
+ * @pattern `^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
570
570
  */
571
571
  ModelId: string;
572
572
  TemplateConfiguration: PromptTemplateConfiguration;
@@ -152,7 +152,7 @@ export type PromptVariant = {
152
152
  * ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models.
153
153
  * @minLength `1`
154
154
  * @maxLength `2048`
155
- * @pattern `^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$`
155
+ * @pattern `^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
156
156
  */
157
157
  ModelId?: string;
158
158
  /**
@@ -106,7 +106,7 @@ export type BedrockPromptVersionAttributes = {
106
106
  * ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models.
107
107
  * @minLength `1`
108
108
  * @maxLength `2048`
109
- * @pattern `^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$`
109
+ * @pattern `^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
110
110
  */
111
111
  ModelId: string;
112
112
  /**
@@ -232,7 +232,7 @@ export type PromptVariant = {
232
232
  * ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models.
233
233
  * @minLength `1`
234
234
  * @maxLength `2048`
235
- * @pattern `^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)|([a-zA-Z0-9-:.]+)$`
235
+ * @pattern `^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
236
236
  */
237
237
  ModelId?: string;
238
238
  /**
@@ -232,7 +232,16 @@ export type FailureConditions = {
232
232
  /**
233
233
  * The specified result for when the failure conditions are met, such as rolling back the stage
234
234
  */
235
- Result?: "ROLLBACK";
235
+ Result?: "ROLLBACK" | "RETRY";
236
+ /**
237
+ * The configuration that specifies the retry configuration for a stage
238
+ */
239
+ RetryConfiguration?: {
240
+ /**
241
+ * The specified retry mode type for the given stage. FAILED_ACTIONS will retry only the failed actions. ALL_ACTIONS will retry both failed and successful
242
+ */
243
+ RetryMode?: "ALL_ACTIONS" | "FAILED_ACTIONS";
244
+ };
236
245
  };
237
246
  /**
238
247
  * Type definition for `AWS::CodePipeline::Pipeline.GitBranchFilterCriteria`.
@@ -41,7 +41,7 @@ export type ConnectContactFlowProperties = {
41
41
  /**
42
42
  * The type of the contact flow.
43
43
  */
44
- Type: "CONTACT_FLOW" | "CUSTOMER_QUEUE" | "CUSTOMER_HOLD" | "CUSTOMER_WHISPER" | "AGENT_HOLD" | "AGENT_WHISPER" | "OUTBOUND_WHISPER" | "AGENT_TRANSFER" | "QUEUE_TRANSFER";
44
+ Type: "CONTACT_FLOW" | "CUSTOMER_QUEUE" | "CUSTOMER_HOLD" | "CUSTOMER_WHISPER" | "AGENT_HOLD" | "AGENT_WHISPER" | "OUTBOUND_WHISPER" | "AGENT_TRANSFER" | "QUEUE_TRANSFER" | "CAMPAIGN";
45
45
  };
46
46
  /**
47
47
  * Attribute type definition for `AWS::Connect::ContactFlow`.
@@ -8,6 +8,7 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
8
8
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-eip.html}
9
9
  */
10
10
  export type EC2EIPProperties = {
11
+ Address?: string;
11
12
  /**
12
13
  * The network (``vpc``).
13
14
  If you define an Elastic IP address and associate it with a VPC that is defined in the same template, you must declare a dependency on the VPC-gateway attachment by using the [DependsOn Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html) on this resource.
@@ -18,6 +19,7 @@ export type EC2EIPProperties = {
18
19
  Updates to the ``InstanceId`` property may require *some interruptions*. Updates on an EIP reassociates the address on its associated resource.
19
20
  */
20
21
  InstanceId?: string;
22
+ IpamPoolId?: string;
21
23
  /**
22
24
  * A unique set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.
23
25
  Use [DescribeAvailabilityZones](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html) to view the network border groups.
@@ -6,7 +6,7 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
6
6
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html}
7
7
  */
8
8
  export type M2ApplicationProperties = {
9
- Definition: Definition;
9
+ Definition?: Definition;
10
10
  /**
11
11
  * @minLength `0`
12
12
  * @maxLength `500`
@@ -267,6 +267,10 @@ export type EndpointErrorCondition = "STALE_MANIFEST" | "INCOMPLETE_MANIFEST" |
267
267
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-filterconfiguration.html}
268
268
  */
269
269
  export type FilterConfiguration = {
270
+ /**
271
+ * <p>Optionally specify the clip start time for all of your manifest egress requests. When you include clip start time, note that you cannot use clip start time query parameters for this manifest's endpoint URL.</p>
272
+ */
273
+ ClipStartTime?: string;
270
274
  /**
271
275
  * <p>Optionally specify the end time for all of your manifest egress requests. When you include end time, note that you cannot use end time query parameters for this manifest's endpoint URL.</p>
272
276
  */
@@ -353,6 +357,10 @@ export type HlsManifestConfiguration = {
353
357
  * <p>The SCTE configuration.</p>
354
358
  */
355
359
  ScteHls?: ScteHls;
360
+ /**
361
+ * <p>To insert an EXT-X-START tag in your HLS playlist, specify a StartTag configuration object with a valid TimeOffset. When you do, you can also optionally specify whether to include a PRECISE value in the EXT-X-START tag.</p>
362
+ */
363
+ StartTag?: StartTag;
356
364
  };
357
365
  /**
358
366
  * Type definition for `AWS::MediaPackageV2::OriginEndpoint.LowLatencyHlsManifestConfiguration`.
@@ -394,6 +402,10 @@ export type LowLatencyHlsManifestConfiguration = {
394
402
  * <p>The SCTE configuration.</p>
395
403
  */
396
404
  ScteHls?: ScteHls;
405
+ /**
406
+ * <p>To insert an EXT-X-START tag in your HLS playlist, specify a StartTag configuration object with a valid TimeOffset. When you do, you can also optionally specify whether to include a PRECISE value in the EXT-X-START tag.</p>
407
+ */
408
+ StartTag?: StartTag;
397
409
  };
398
410
  /**
399
411
  * Type definition for `AWS::MediaPackageV2::OriginEndpoint.PresetSpeke20Audio`.
@@ -521,6 +533,21 @@ export type SpekeKeyProvider = {
521
533
  */
522
534
  Url: string;
523
535
  };
536
+ /**
537
+ * Type definition for `AWS::MediaPackageV2::OriginEndpoint.StartTag`.
538
+ * <p>To insert an EXT-X-START tag in your HLS playlist, specify a StartTag configuration object with a valid TimeOffset. When you do, you can also optionally specify whether to include a PRECISE value in the EXT-X-START tag.</p>
539
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-starttag.html}
540
+ */
541
+ export type StartTag = {
542
+ /**
543
+ * <p>Specify the value for PRECISE within your EXT-X-START tag. Leave blank, or choose false, to use the default value NO. Choose yes to use the value YES.</p>
544
+ */
545
+ Precise?: boolean;
546
+ /**
547
+ * <p>Specify the value for TIME-OFFSET within your EXT-X-START tag. Enter a signed floating point value which, if positive, must be less than the configured manifest duration minus three times the configured segment target duration. If negative, the absolute value must be larger than three times the configured segment target duration, and the absolute value must be smaller than the configured manifest duration.</p>
548
+ */
549
+ TimeOffset: number;
550
+ };
524
551
  /**
525
552
  * Type definition for `AWS::MediaPackageV2::OriginEndpoint.Tag`.
526
553
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-tag.html}
@@ -0,0 +1,132 @@
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::OpenSearchService::Application`.
5
+ * Amazon OpenSearchService application resource
6
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-application.html}
7
+ */
8
+ export type OpenSearchServiceApplicationProperties = {
9
+ /**
10
+ * List of application configurations.
11
+ */
12
+ AppConfigs?: AppConfig[];
13
+ /**
14
+ * List of data sources.
15
+ */
16
+ DataSources?: DataSource[];
17
+ /**
18
+ * The endpoint for the application.
19
+ */
20
+ Endpoint?: string;
21
+ /**
22
+ * Options for configuring IAM Identity Center
23
+ */
24
+ IamIdentityCenterOptions?: {
25
+ /**
26
+ * Whether IAM Identity Center is enabled.
27
+ */
28
+ Enabled?: boolean;
29
+ /**
30
+ * The ARN of the IAM Identity Center instance.
31
+ */
32
+ IamIdentityCenterInstanceArn?: unknown;
33
+ /**
34
+ * The ARN of the IAM role for Identity Center application.
35
+ */
36
+ IamRoleForIdentityCenterApplicationArn?: string;
37
+ };
38
+ /**
39
+ * The name of the application.
40
+ * @minLength `3`
41
+ * @maxLength `40`
42
+ * @pattern `[a-z][a-z0-9\-]+`
43
+ */
44
+ Name: string;
45
+ /**
46
+ * An arbitrary set of tags (key-value pairs) for this application.
47
+ */
48
+ Tags?: Tag[];
49
+ };
50
+ /**
51
+ * Attribute type definition for `AWS::OpenSearchService::Application`.
52
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-application.html#aws-resource-opensearchservice-application-return-values}
53
+ */
54
+ export type OpenSearchServiceApplicationAttributes = {
55
+ /**
56
+ * Amazon Resource Name (ARN) format.
57
+ */
58
+ Arn: string;
59
+ /**
60
+ * The identifier of the application.
61
+ * @minLength `3`
62
+ * @maxLength `40`
63
+ */
64
+ Id: string;
65
+ };
66
+ /**
67
+ * Type definition for `AWS::OpenSearchService::Application.AppConfig`.
68
+ * A key-value pair of AppConfig
69
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-application-appconfig.html}
70
+ */
71
+ export type AppConfig = {
72
+ /**
73
+ * The configuration key
74
+ */
75
+ Key: AppConfigType;
76
+ /**
77
+ * The configuration value.
78
+ * @minLength `0`
79
+ * @maxLength `256`
80
+ */
81
+ Value: string;
82
+ };
83
+ /**
84
+ * Type definition for `AWS::OpenSearchService::Application.AppConfigType`.
85
+ * AppConfig type values.
86
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-application-appconfigtype.html}
87
+ */
88
+ export type AppConfigType = "opensearchDashboards.dashboardAdmin.users" | "opensearchDashboards.dashboardAdmin.groups";
89
+ /**
90
+ * Type definition for `AWS::OpenSearchService::Application.DataSource`.
91
+ * Datasource arn and description
92
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-application-datasource.html}
93
+ */
94
+ export type DataSource = {
95
+ /**
96
+ * The ARN of the data source.
97
+ */
98
+ DataSourceArn: unknown;
99
+ /**
100
+ * Description of the data source.
101
+ */
102
+ DataSourceDescription?: string;
103
+ };
104
+ /**
105
+ * Type definition for `AWS::OpenSearchService::Application.Tag`.
106
+ * A key-value pair metadata associated with resource
107
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-application-tag.html}
108
+ */
109
+ export type Tag = {
110
+ /**
111
+ * The key in the key-value pair
112
+ * @minLength `1`
113
+ * @maxLength `128`
114
+ */
115
+ Key: string;
116
+ /**
117
+ * The value in the key-value pair
118
+ * @minLength `0`
119
+ * @maxLength `256`
120
+ */
121
+ Value: string;
122
+ };
123
+ /**
124
+ * Resource type definition for `AWS::OpenSearchService::Application`.
125
+ * Amazon OpenSearchService application resource
126
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-application.html}
127
+ */
128
+ export declare class OpenSearchServiceApplication extends $Resource<"AWS::OpenSearchService::Application", OpenSearchServiceApplicationProperties, OpenSearchServiceApplicationAttributes> {
129
+ static readonly Type = "AWS::OpenSearchService::Application";
130
+ constructor(logicalId: string, properties: OpenSearchServiceApplicationProperties, options?: $ResourceOptions);
131
+ }
132
+ //# sourceMappingURL=AWS-OpenSearchService-Application.d.ts.map
@@ -0,0 +1,13 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Resource type definition for `AWS::OpenSearchService::Application`.
4
+ * Amazon OpenSearchService application resource
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-application.html}
6
+ */
7
+ export class OpenSearchServiceApplication extends $Resource {
8
+ static Type = "AWS::OpenSearchService::Application";
9
+ constructor(logicalId, properties, options) {
10
+ super(logicalId, OpenSearchServiceApplication.Type, properties, options);
11
+ }
12
+ }
13
+ //# sourceMappingURL=AWS-OpenSearchService-Application.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.177",
3
+ "version": "0.1.179",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },