@awboost/cfn-resource-types 0.1.314 → 0.1.316

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.
@@ -30,6 +30,10 @@ export type APSWorkspaceProperties = {
30
30
  * An array of key-value pairs to apply to this resource.
31
31
  */
32
32
  Tags?: Tag[];
33
+ /**
34
+ * Workspace configuration
35
+ */
36
+ WorkspaceConfiguration?: WorkspaceConfiguration;
33
37
  };
34
38
  /**
35
39
  * Attribute type definition for `AWS::APS::Workspace`.
@@ -55,6 +59,52 @@ export type APSWorkspaceAttributes = {
55
59
  */
56
60
  WorkspaceId: string;
57
61
  };
62
+ /**
63
+ * Type definition for `AWS::APS::Workspace.Label`.
64
+ * Series label
65
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-label.html}
66
+ */
67
+ export type Label = {
68
+ /**
69
+ * Name of the label
70
+ * @minLength `1`
71
+ * @pattern `^[a-zA-Z_][a-zA-Z0-9_]*$`
72
+ */
73
+ Name: string;
74
+ /**
75
+ * Value of the label
76
+ * @minLength `1`
77
+ */
78
+ Value: string;
79
+ };
80
+ /**
81
+ * Type definition for `AWS::APS::Workspace.LimitsPerLabelSet`.
82
+ * Label set and its associated limits
83
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-limitsperlabelset.html}
84
+ */
85
+ export type LimitsPerLabelSet = {
86
+ /**
87
+ * An array of series labels
88
+ * @minLength `0`
89
+ */
90
+ LabelSet: Label[];
91
+ /**
92
+ * Limits that can be applied to a label set
93
+ */
94
+ Limits: LimitsPerLabelSetEntry;
95
+ };
96
+ /**
97
+ * Type definition for `AWS::APS::Workspace.LimitsPerLabelSetEntry`.
98
+ * Limits that can be applied to a label set
99
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-limitsperlabelsetentry.html}
100
+ */
101
+ export type LimitsPerLabelSetEntry = {
102
+ /**
103
+ * The maximum number of active series that can be ingested for this label set
104
+ * @min `0`
105
+ */
106
+ MaxSeries?: number;
107
+ };
58
108
  /**
59
109
  * Type definition for `AWS::APS::Workspace.LoggingConfiguration`.
60
110
  * Logging configuration
@@ -87,6 +137,23 @@ export type Tag = {
87
137
  */
88
138
  Value: string;
89
139
  };
140
+ /**
141
+ * Type definition for `AWS::APS::Workspace.WorkspaceConfiguration`.
142
+ * Workspace configuration
143
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-workspaceconfiguration.html}
144
+ */
145
+ export type WorkspaceConfiguration = {
146
+ /**
147
+ * An array of label set and associated limits
148
+ * @minLength `0`
149
+ */
150
+ LimitsPerLabelSets?: LimitsPerLabelSet[];
151
+ /**
152
+ * How many days that metrics are retained in the workspace
153
+ * @min `1`
154
+ */
155
+ RetentionPeriodInDays?: number;
156
+ };
90
157
  /**
91
158
  * Resource Type definition for AWS::APS::Workspace
92
159
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html}
@@ -0,0 +1,44 @@
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::CloudFront::ConnectionGroup
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectiongroup.html}
6
+ */
7
+ export type CloudFrontConnectionGroupProperties = {
8
+ AnycastIpListId?: string;
9
+ Enabled?: boolean;
10
+ Ipv6Enabled?: boolean;
11
+ Name: string;
12
+ Tags?: Tag[];
13
+ };
14
+ /**
15
+ * Attribute type definition for `AWS::CloudFront::ConnectionGroup`.
16
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectiongroup.html#aws-resource-cloudfront-connectiongroup-return-values}
17
+ */
18
+ export type CloudFrontConnectionGroupAttributes = {
19
+ Arn: string;
20
+ CreatedTime: string;
21
+ ETag: string;
22
+ Id: string;
23
+ IsDefault: boolean;
24
+ LastModifiedTime: string;
25
+ RoutingEndpoint: string;
26
+ Status: string;
27
+ };
28
+ /**
29
+ * Type definition for `AWS::CloudFront::ConnectionGroup.Tag`.
30
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-connectiongroup-tag.html}
31
+ */
32
+ export type Tag = {
33
+ Key: string;
34
+ Value: string;
35
+ };
36
+ /**
37
+ * Resource Type definition for AWS::CloudFront::ConnectionGroup
38
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectiongroup.html}
39
+ */
40
+ export declare class CloudFrontConnectionGroup extends $Resource<"AWS::CloudFront::ConnectionGroup", CloudFrontConnectionGroupProperties, CloudFrontConnectionGroupAttributes> {
41
+ static readonly Type = "AWS::CloudFront::ConnectionGroup";
42
+ constructor(logicalId: string, properties: CloudFrontConnectionGroupProperties, options?: $ResourceOptions);
43
+ }
44
+ //# sourceMappingURL=AWS-CloudFront-ConnectionGroup.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Resource Type definition for AWS::CloudFront::ConnectionGroup
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectiongroup.html}
5
+ */
6
+ export class CloudFrontConnectionGroup extends $Resource {
7
+ static Type = "AWS::CloudFront::ConnectionGroup";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, CloudFrontConnectionGroup.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-CloudFront-ConnectionGroup.js.map
@@ -150,6 +150,11 @@ export type CacheBehavior = {
150
150
  */
151
151
  ViewerProtocolPolicy: string;
152
152
  };
153
+ /**
154
+ * Type definition for `AWS::CloudFront::Distribution.ConnectionMode`.
155
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-connectionmode.html}
156
+ */
157
+ export type ConnectionMode = "direct" | "tenant-only";
153
158
  /**
154
159
  * Type definition for `AWS::CloudFront::Distribution.Cookies`.
155
160
  * This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.
@@ -393,6 +398,7 @@ export type DistributionConfig = {
393
398
  * A comment to describe the distribution. The comment cannot be longer than 128 characters.
394
399
  */
395
400
  Comment?: string;
401
+ ConnectionMode?: ConnectionMode;
396
402
  /**
397
403
  * The identifier of a continuous deployment policy. For more information, see ``CreateContinuousDeploymentPolicy``.
398
404
  */
@@ -478,6 +484,9 @@ export type DistributionConfig = {
478
484
  * A Boolean that indicates whether this is a staging distribution. When this value is ``true``, this is a staging distribution. When this value is ``false``, this is not a staging distribution.
479
485
  */
480
486
  Staging?: boolean;
487
+ TenantConfig?: {
488
+ ParameterDefinitions?: ParameterDefinition[];
489
+ };
481
490
  /**
482
491
  * A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.
483
492
  */
@@ -856,6 +865,20 @@ export type OriginShield = {
856
865
  */
857
866
  OriginShieldRegion?: string;
858
867
  };
868
+ /**
869
+ * Type definition for `AWS::CloudFront::Distribution.ParameterDefinition`.
870
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-parameterdefinition.html}
871
+ */
872
+ export type ParameterDefinition = {
873
+ Definition: {
874
+ StringSchema?: {
875
+ Comment?: string;
876
+ DefaultValue?: string;
877
+ Required: boolean;
878
+ };
879
+ };
880
+ Name: string;
881
+ };
859
882
  /**
860
883
  * Type definition for `AWS::CloudFront::Distribution.Restrictions`.
861
884
  * A complex type that identifies ways in which you want to restrict distribution of your content.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.314",
3
+ "version": "0.1.316",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },