@awboost/cfn-resource-types 0.1.369 → 0.1.370

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.
@@ -11,12 +11,18 @@ export type DynamoDBGlobalTableProperties = {
11
11
  AttributeDefinitions: AttributeDefinition[];
12
12
  BillingMode?: string;
13
13
  GlobalSecondaryIndexes?: GlobalSecondaryIndex[];
14
+ /**
15
+ * @minLength `1`
16
+ * @maxLength `1`
17
+ */
18
+ GlobalTableWitnesses?: GlobalTableWitness[];
14
19
  /**
15
20
  * @minLength `1`
16
21
  * @maxLength `2`
17
22
  */
18
23
  KeySchema: KeySchema[];
19
24
  LocalSecondaryIndexes?: LocalSecondaryIndex[];
25
+ MultiRegionConsistency?: "EVENTUAL" | "STRONG";
20
26
  /**
21
27
  * @minLength `1`
22
28
  */
@@ -96,6 +102,13 @@ export type GlobalSecondaryIndex = {
96
102
  WriteOnDemandThroughputSettings?: WriteOnDemandThroughputSettings;
97
103
  WriteProvisionedThroughputSettings?: WriteProvisionedThroughputSettings;
98
104
  };
105
+ /**
106
+ * Type definition for `AWS::DynamoDB::GlobalTable.GlobalTableWitness`.
107
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-globaltablewitness.html}
108
+ */
109
+ export type GlobalTableWitness = {
110
+ Region?: string;
111
+ };
99
112
  /**
100
113
  * Type definition for `AWS::DynamoDB::GlobalTable.KeySchema`.
101
114
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-keyschema.html}
@@ -16,6 +16,7 @@ export type QBusinessDataAccessorProperties = {
16
16
  * @pattern `^[a-zA-Z0-9][a-zA-Z0-9-]{35}$`
17
17
  */
18
18
  ApplicationId: string;
19
+ AuthenticationDetail?: DataAccessorAuthenticationDetail;
19
20
  /**
20
21
  * @minLength `1`
21
22
  * @maxLength `100`
@@ -94,6 +95,43 @@ export type AttributeFilter = {
94
95
  NotFilter?: AttributeFilter;
95
96
  OrAllFilters?: AttributeFilter[];
96
97
  };
98
+ /**
99
+ * Type definition for `AWS::QBusiness::DataAccessor.DataAccessorAuthenticationConfiguration`.
100
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-dataaccessor-dataaccessorauthenticationconfiguration.html}
101
+ */
102
+ export type DataAccessorAuthenticationConfiguration = {
103
+ IdcTrustedTokenIssuerConfiguration: DataAccessorIdcTrustedTokenIssuerConfiguration;
104
+ };
105
+ /**
106
+ * Type definition for `AWS::QBusiness::DataAccessor.DataAccessorAuthenticationDetail`.
107
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-dataaccessor-dataaccessorauthenticationdetail.html}
108
+ */
109
+ export type DataAccessorAuthenticationDetail = {
110
+ AuthenticationConfiguration?: DataAccessorAuthenticationConfiguration;
111
+ AuthenticationType: DataAccessorAuthenticationType;
112
+ /**
113
+ * @minLength `1`
114
+ * @maxLength `1`
115
+ */
116
+ ExternalIds?: string[];
117
+ };
118
+ /**
119
+ * Type definition for `AWS::QBusiness::DataAccessor.DataAccessorAuthenticationType`.
120
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-dataaccessor-dataaccessorauthenticationtype.html}
121
+ */
122
+ export type DataAccessorAuthenticationType = "AWS_IAM_IDC_TTI" | "AWS_IAM_IDC_AUTH_CODE";
123
+ /**
124
+ * Type definition for `AWS::QBusiness::DataAccessor.DataAccessorIdcTrustedTokenIssuerConfiguration`.
125
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-dataaccessor-dataaccessoridctrustedtokenissuerconfiguration.html}
126
+ */
127
+ export type DataAccessorIdcTrustedTokenIssuerConfiguration = {
128
+ /**
129
+ * @minLength `0`
130
+ * @maxLength `1284`
131
+ * @pattern `^arn:aws:sso::[0-9]{12}:trustedTokenIssuer/(sso)?ins-[a-zA-Z0-9-.]{16}/tti-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$`
132
+ */
133
+ IdcTrustedTokenIssuerArn: string;
134
+ };
97
135
  /**
98
136
  * Type definition for `AWS::QBusiness::DataAccessor.DocumentAttribute`.
99
137
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-dataaccessor-documentattribute.html}
@@ -16,6 +16,11 @@ export type QBusinessPermissionProperties = {
16
16
  * @pattern `^[a-zA-Z0-9][a-zA-Z0-9-]{35}$`
17
17
  */
18
18
  ApplicationId: string;
19
+ /**
20
+ * @minLength `1`
21
+ * @maxLength `10`
22
+ */
23
+ Conditions?: Condition[];
19
24
  /**
20
25
  * @minLength `1`
21
26
  * @maxLength `1284`
@@ -29,6 +34,22 @@ export type QBusinessPermissionProperties = {
29
34
  */
30
35
  StatementId: string;
31
36
  };
37
+ /**
38
+ * Type definition for `AWS::QBusiness::Permission.Condition`.
39
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-permission-condition.html}
40
+ */
41
+ export type Condition = {
42
+ /**
43
+ * @pattern `^aws:PrincipalTag/qbusiness-dataaccessor:[a-zA-Z]+`
44
+ */
45
+ ConditionKey: string;
46
+ ConditionOperator: "StringEquals";
47
+ /**
48
+ * @minLength `1`
49
+ * @maxLength `1`
50
+ */
51
+ ConditionValues: string[];
52
+ };
32
53
  /**
33
54
  * Definition of AWS::QBusiness::Permission Resource Type
34
55
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-permission.html}
@@ -0,0 +1,97 @@
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::RedshiftServerless::Snapshot Resource Type.
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-snapshot.html}
6
+ */
7
+ export type RedshiftServerlessSnapshotProperties = {
8
+ /**
9
+ * The namespace the snapshot is associated with.
10
+ * @minLength `3`
11
+ * @maxLength `64`
12
+ * @pattern `^(?=^[a-z0-9-]+$).{3,64}$`
13
+ */
14
+ NamespaceName?: string;
15
+ /**
16
+ * The retention period of the snapshot.
17
+ */
18
+ RetentionPeriod?: number;
19
+ /**
20
+ * The name of the snapshot.
21
+ * @minLength `3`
22
+ * @maxLength `64`
23
+ * @pattern `^(?=^[a-z0-9-]+$).{3,64}$`
24
+ */
25
+ SnapshotName: string;
26
+ /**
27
+ * An array of key-value pairs to apply to this resource.
28
+ * @minLength `0`
29
+ * @maxLength `200`
30
+ */
31
+ Tags?: Tag[];
32
+ };
33
+ /**
34
+ * Attribute type definition for `AWS::RedshiftServerless::Snapshot`.
35
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-snapshot.html#aws-resource-redshiftserverless-snapshot-return-values}
36
+ */
37
+ export type RedshiftServerlessSnapshotAttributes = {
38
+ /**
39
+ * The owner account of the snapshot.
40
+ */
41
+ OwnerAccount: string;
42
+ /**
43
+ * Definition for snapshot resource
44
+ */
45
+ Snapshot: {
46
+ AdminUsername: string;
47
+ KmsKeyId: string;
48
+ NamespaceArn: string;
49
+ /**
50
+ * @minLength `3`
51
+ * @maxLength `64`
52
+ * @pattern `^[a-z0-9-]+$`
53
+ */
54
+ NamespaceName: string;
55
+ OwnerAccount: string;
56
+ RetentionPeriod: number;
57
+ SnapshotArn: string;
58
+ SnapshotCreateTime: string;
59
+ /**
60
+ * @minLength `3`
61
+ * @maxLength `64`
62
+ * @pattern `^[a-z0-9-]+$`
63
+ */
64
+ SnapshotName: string;
65
+ Status: SnapshotStatus;
66
+ };
67
+ };
68
+ /**
69
+ * Type definition for `AWS::RedshiftServerless::Snapshot.SnapshotStatus`.
70
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-snapshot-snapshotstatus.html}
71
+ */
72
+ export type SnapshotStatus = "AVAILABLE" | "CREATING" | "DELETED" | "CANCELLED" | "FAILED" | "COPYING";
73
+ /**
74
+ * Type definition for `AWS::RedshiftServerless::Snapshot.Tag`.
75
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-snapshot-tag.html}
76
+ */
77
+ export type Tag = {
78
+ /**
79
+ * @minLength `1`
80
+ * @maxLength `128`
81
+ */
82
+ Key: string;
83
+ /**
84
+ * @minLength `0`
85
+ * @maxLength `256`
86
+ */
87
+ Value: string;
88
+ };
89
+ /**
90
+ * Resource Type definition for AWS::RedshiftServerless::Snapshot Resource Type.
91
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-snapshot.html}
92
+ */
93
+ export declare class RedshiftServerlessSnapshot extends $Resource<"AWS::RedshiftServerless::Snapshot", RedshiftServerlessSnapshotProperties, RedshiftServerlessSnapshotAttributes> {
94
+ static readonly Type = "AWS::RedshiftServerless::Snapshot";
95
+ constructor(logicalId: string, properties: RedshiftServerlessSnapshotProperties, options?: $ResourceOptions);
96
+ }
97
+ //# sourceMappingURL=AWS-RedshiftServerless-Snapshot.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::RedshiftServerless::Snapshot Resource Type.
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-snapshot.html}
5
+ */
6
+ export class RedshiftServerlessSnapshot extends $Resource {
7
+ static Type = "AWS::RedshiftServerless::Snapshot";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, RedshiftServerlessSnapshot.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-RedshiftServerless-Snapshot.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.369",
3
+ "version": "0.1.370",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },