@awboost/cfn-resource-types 0.1.267 → 0.1.269
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.
- package/lib/AWS-MediaPackageV2-Channel.d.ts +30 -0
- package/lib/AWS-S3-BucketPolicy.d.ts +8 -4
- package/lib/AWS-S3-BucketPolicy.js +4 -2
- package/lib/AWS-Wisdom-AIAgent.d.ts +25 -1
- package/lib/AWS-Wisdom-AIPrompt.d.ts +1 -1
- package/lib/AWS-WorkSpacesWeb-UserSettings.d.ts +31 -0
- package/package.json +1 -1
|
@@ -24,7 +24,15 @@ export type MediaPackageV2ChannelProperties = {
|
|
|
24
24
|
* @maxLength `1024`
|
|
25
25
|
*/
|
|
26
26
|
Description?: string;
|
|
27
|
+
/**
|
|
28
|
+
* <p>The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive.</p>
|
|
29
|
+
*/
|
|
30
|
+
InputSwitchConfiguration?: InputSwitchConfiguration;
|
|
27
31
|
InputType?: InputType;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN.</p>
|
|
34
|
+
*/
|
|
35
|
+
OutputHeaderConfiguration?: OutputHeaderConfiguration;
|
|
28
36
|
Tags?: Tag[];
|
|
29
37
|
};
|
|
30
38
|
/**
|
|
@@ -74,11 +82,33 @@ export type IngestEndpoint = {
|
|
|
74
82
|
*/
|
|
75
83
|
Url?: string;
|
|
76
84
|
};
|
|
85
|
+
/**
|
|
86
|
+
* Type definition for `AWS::MediaPackageV2::Channel.InputSwitchConfiguration`.
|
|
87
|
+
* <p>The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive.</p>
|
|
88
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-inputswitchconfiguration.html}
|
|
89
|
+
*/
|
|
90
|
+
export type InputSwitchConfiguration = {
|
|
91
|
+
/**
|
|
92
|
+
* <p>When true, AWS Elemental MediaPackage performs input switching based on the MQCS. Default is true. This setting is valid only when <code>InputType</code> is <code>CMAF</code>.</p>
|
|
93
|
+
*/
|
|
94
|
+
MQCSInputSwitching?: boolean;
|
|
95
|
+
};
|
|
77
96
|
/**
|
|
78
97
|
* Type definition for `AWS::MediaPackageV2::Channel.InputType`.
|
|
79
98
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-inputtype.html}
|
|
80
99
|
*/
|
|
81
100
|
export type InputType = "HLS" | "CMAF";
|
|
101
|
+
/**
|
|
102
|
+
* Type definition for `AWS::MediaPackageV2::Channel.OutputHeaderConfiguration`.
|
|
103
|
+
* <p>The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN.</p>
|
|
104
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-outputheaderconfiguration.html}
|
|
105
|
+
*/
|
|
106
|
+
export type OutputHeaderConfiguration = {
|
|
107
|
+
/**
|
|
108
|
+
* <p>When true, AWS Elemental MediaPackage includes the MQCS in responses to the CDN. This setting is valid only when <code>InputType</code> is <code>CMAF</code>.</p>
|
|
109
|
+
*/
|
|
110
|
+
PublishMQCS?: boolean;
|
|
111
|
+
};
|
|
82
112
|
/**
|
|
83
113
|
* Type definition for `AWS::MediaPackageV2::Channel.Tag`.
|
|
84
114
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-channel-tag.html}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
3
|
/**
|
|
4
|
-
* Resource type definition for `AWS::S3::BucketPolicy`.
|
|
5
4
|
* Applies an Amazon S3 bucket policy to an Amazon S3 bucket. If you are using an identity other than the root user of the AWS-account that owns the bucket, the calling identity must have the ``PutBucketPolicy`` permissions on the specified bucket and belong to the bucket owner's account in order to use this operation.
|
|
6
5
|
If you don't have ``PutBucketPolicy`` permissions, Amazon S3 returns a ``403 Access Denied`` error. If you have the correct permissions, but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a ``405 Method Not Allowed`` error.
|
|
7
6
|
As a security precaution, the root user of the AWS-account that owns a bucket can always use this operation, even if the policy explicitly denies the root user the ability to perform this action.
|
|
8
|
-
|
|
7
|
+
When using the ``AWS::S3::BucketPolicy`` resource, you can create, update, and delete bucket policies for S3 buckets located in regions different from the stack's region. This cross-region bucket policy modification functionality is supported for backward compatibility with existing workflows.
|
|
8
|
+
If the [DeletionPolicy attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html) is not specified or set to ``Delete``, the bucket policy will be removed when the stack is deleted. If set to ``Retain``, the bucket policy will be preserved even after the stack is deleted.
|
|
9
|
+
For example, a CloudFormation stack in ``us-east-1`` can use the ``AWS::S3::BucketPolicy`` resource to manage the bucket policy for an S3 bucket in ``us-west-2``. The retention or removal of the bucket policy during the stack deletion is determined by the ``DeletionPolicy`` attribute specified in the stack template.
|
|
10
|
+
For more information, see [Bucket policy examples](https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html).
|
|
9
11
|
The following operations are related to ``PutBucketPolicy``:
|
|
10
12
|
+ [CreateBucket](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html)
|
|
11
13
|
+ [DeleteBucket](https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html)
|
|
@@ -22,11 +24,13 @@ export type S3BucketPolicyProperties = {
|
|
|
22
24
|
PolicyDocument: Record<string, any> | string;
|
|
23
25
|
};
|
|
24
26
|
/**
|
|
25
|
-
* Resource type definition for `AWS::S3::BucketPolicy`.
|
|
26
27
|
* Applies an Amazon S3 bucket policy to an Amazon S3 bucket. If you are using an identity other than the root user of the AWS-account that owns the bucket, the calling identity must have the ``PutBucketPolicy`` permissions on the specified bucket and belong to the bucket owner's account in order to use this operation.
|
|
27
28
|
If you don't have ``PutBucketPolicy`` permissions, Amazon S3 returns a ``403 Access Denied`` error. If you have the correct permissions, but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a ``405 Method Not Allowed`` error.
|
|
28
29
|
As a security precaution, the root user of the AWS-account that owns a bucket can always use this operation, even if the policy explicitly denies the root user the ability to perform this action.
|
|
29
|
-
|
|
30
|
+
When using the ``AWS::S3::BucketPolicy`` resource, you can create, update, and delete bucket policies for S3 buckets located in regions different from the stack's region. This cross-region bucket policy modification functionality is supported for backward compatibility with existing workflows.
|
|
31
|
+
If the [DeletionPolicy attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html) is not specified or set to ``Delete``, the bucket policy will be removed when the stack is deleted. If set to ``Retain``, the bucket policy will be preserved even after the stack is deleted.
|
|
32
|
+
For example, a CloudFormation stack in ``us-east-1`` can use the ``AWS::S3::BucketPolicy`` resource to manage the bucket policy for an S3 bucket in ``us-west-2``. The retention or removal of the bucket policy during the stack deletion is determined by the ``DeletionPolicy`` attribute specified in the stack template.
|
|
33
|
+
For more information, see [Bucket policy examples](https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html).
|
|
30
34
|
The following operations are related to ``PutBucketPolicy``:
|
|
31
35
|
+ [CreateBucket](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html)
|
|
32
36
|
+ [DeleteBucket](https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html)
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
* Resource type definition for `AWS::S3::BucketPolicy`.
|
|
4
3
|
* Applies an Amazon S3 bucket policy to an Amazon S3 bucket. If you are using an identity other than the root user of the AWS-account that owns the bucket, the calling identity must have the ``PutBucketPolicy`` permissions on the specified bucket and belong to the bucket owner's account in order to use this operation.
|
|
5
4
|
If you don't have ``PutBucketPolicy`` permissions, Amazon S3 returns a ``403 Access Denied`` error. If you have the correct permissions, but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a ``405 Method Not Allowed`` error.
|
|
6
5
|
As a security precaution, the root user of the AWS-account that owns a bucket can always use this operation, even if the policy explicitly denies the root user the ability to perform this action.
|
|
7
|
-
|
|
6
|
+
When using the ``AWS::S3::BucketPolicy`` resource, you can create, update, and delete bucket policies for S3 buckets located in regions different from the stack's region. This cross-region bucket policy modification functionality is supported for backward compatibility with existing workflows.
|
|
7
|
+
If the [DeletionPolicy attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html) is not specified or set to ``Delete``, the bucket policy will be removed when the stack is deleted. If set to ``Retain``, the bucket policy will be preserved even after the stack is deleted.
|
|
8
|
+
For example, a CloudFormation stack in ``us-east-1`` can use the ``AWS::S3::BucketPolicy`` resource to manage the bucket policy for an S3 bucket in ``us-west-2``. The retention or removal of the bucket policy during the stack deletion is determined by the ``DeletionPolicy`` attribute specified in the stack template.
|
|
9
|
+
For more information, see [Bucket policy examples](https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html).
|
|
8
10
|
The following operations are related to ``PutBucketPolicy``:
|
|
9
11
|
+ [CreateBucket](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html)
|
|
10
12
|
+ [DeleteBucket](https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html)
|
|
@@ -59,12 +59,14 @@ export type AIAgentConfiguration = {
|
|
|
59
59
|
AnswerRecommendationAIAgentConfiguration: AnswerRecommendationAIAgentConfiguration;
|
|
60
60
|
} | {
|
|
61
61
|
SelfServiceAIAgentConfiguration: SelfServiceAIAgentConfiguration;
|
|
62
|
+
} | {
|
|
63
|
+
SessionSummarizationAIAgentConfiguration: SessionSummarizationAIAgentConfiguration;
|
|
62
64
|
};
|
|
63
65
|
/**
|
|
64
66
|
* Type definition for `AWS::Wisdom::AIAgent.AIAgentType`.
|
|
65
67
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-aiagenttype.html}
|
|
66
68
|
*/
|
|
67
|
-
export type AIAgentType = "MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE";
|
|
69
|
+
export type AIAgentType = "MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE" | "SESSION_SUMMARIZATION";
|
|
68
70
|
/**
|
|
69
71
|
* Type definition for `AWS::Wisdom::AIAgent.AnswerRecommendationAIAgentConfiguration`.
|
|
70
72
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-answerrecommendationaiagentconfiguration.html}
|
|
@@ -83,6 +85,10 @@ export type AnswerRecommendationAIAgentConfiguration = {
|
|
|
83
85
|
* @pattern `^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$`
|
|
84
86
|
*/
|
|
85
87
|
IntentLabelingGenerationAIPromptId?: string;
|
|
88
|
+
/**
|
|
89
|
+
* @minLength `1`
|
|
90
|
+
*/
|
|
91
|
+
Locale?: string;
|
|
86
92
|
/**
|
|
87
93
|
* @pattern `^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$`
|
|
88
94
|
*/
|
|
@@ -139,6 +145,10 @@ export type ManualSearchAIAgentConfiguration = {
|
|
|
139
145
|
*/
|
|
140
146
|
AnswerGenerationAIPromptId?: string;
|
|
141
147
|
AssociationConfigurations?: AssociationConfiguration[];
|
|
148
|
+
/**
|
|
149
|
+
* @minLength `1`
|
|
150
|
+
*/
|
|
151
|
+
Locale?: string;
|
|
142
152
|
};
|
|
143
153
|
/**
|
|
144
154
|
* Type definition for `AWS::Wisdom::AIAgent.OrCondition`.
|
|
@@ -168,6 +178,20 @@ export type SelfServiceAIAgentConfiguration = {
|
|
|
168
178
|
*/
|
|
169
179
|
SelfServicePreProcessingAIPromptId?: string;
|
|
170
180
|
};
|
|
181
|
+
/**
|
|
182
|
+
* Type definition for `AWS::Wisdom::AIAgent.SessionSummarizationAIAgentConfiguration`.
|
|
183
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-sessionsummarizationaiagentconfiguration.html}
|
|
184
|
+
*/
|
|
185
|
+
export type SessionSummarizationAIAgentConfiguration = {
|
|
186
|
+
/**
|
|
187
|
+
* @minLength `1`
|
|
188
|
+
*/
|
|
189
|
+
Locale?: string;
|
|
190
|
+
/**
|
|
191
|
+
* @pattern `^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$`
|
|
192
|
+
*/
|
|
193
|
+
SessionSummarizationAIPromptId?: string;
|
|
194
|
+
};
|
|
171
195
|
/**
|
|
172
196
|
* Type definition for `AWS::Wisdom::AIAgent.TagCondition`.
|
|
173
197
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-tagcondition.html}
|
|
@@ -72,7 +72,7 @@ export type AIPromptTemplateType = "TEXT";
|
|
|
72
72
|
* Type definition for `AWS::Wisdom::AIPrompt.AIPromptType`.
|
|
73
73
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiprompt-aiprompttype.html}
|
|
74
74
|
*/
|
|
75
|
-
export type AIPromptType = "ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION" | "SELF_SERVICE_PRE_PROCESSING" | "SELF_SERVICE_ANSWER_GENERATION";
|
|
75
|
+
export type AIPromptType = "ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION" | "SELF_SERVICE_PRE_PROCESSING" | "SELF_SERVICE_ANSWER_GENERATION" | "SESSION_SUMMARIZATION";
|
|
76
76
|
/**
|
|
77
77
|
* Type definition for `AWS::Wisdom::AIPrompt.Tags`.
|
|
78
78
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiprompt-tags.html}
|
|
@@ -33,6 +33,7 @@ export type WorkSpacesWebUserSettingsProperties = {
|
|
|
33
33
|
* @maxLength `200`
|
|
34
34
|
*/
|
|
35
35
|
Tags?: Tag[];
|
|
36
|
+
ToolbarConfiguration?: ToolbarConfiguration;
|
|
36
37
|
UploadAllowed: EnabledType;
|
|
37
38
|
};
|
|
38
39
|
/**
|
|
@@ -97,6 +98,11 @@ export type EnabledType = "Disabled" | "Enabled";
|
|
|
97
98
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-usersettings-encryptioncontextmap.html}
|
|
98
99
|
*/
|
|
99
100
|
export type EncryptionContextMap = Record<string, string>;
|
|
101
|
+
/**
|
|
102
|
+
* Type definition for `AWS::WorkSpacesWeb::UserSettings.MaxDisplayResolution`.
|
|
103
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-usersettings-maxdisplayresolution.html}
|
|
104
|
+
*/
|
|
105
|
+
export type MaxDisplayResolution = "size4096X2160" | "size3840X2160" | "size3440X1440" | "size2560X1440" | "size1920X1080" | "size1280X720" | "size1024X768" | "size800X600";
|
|
100
106
|
/**
|
|
101
107
|
* Type definition for `AWS::WorkSpacesWeb::UserSettings.Tag`.
|
|
102
108
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-usersettings-tag.html}
|
|
@@ -115,6 +121,31 @@ export type Tag = {
|
|
|
115
121
|
*/
|
|
116
122
|
Value: string;
|
|
117
123
|
};
|
|
124
|
+
/**
|
|
125
|
+
* Type definition for `AWS::WorkSpacesWeb::UserSettings.ToolbarConfiguration`.
|
|
126
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-usersettings-toolbarconfiguration.html}
|
|
127
|
+
*/
|
|
128
|
+
export type ToolbarConfiguration = {
|
|
129
|
+
HiddenToolbarItems?: ToolbarItem[];
|
|
130
|
+
MaxDisplayResolution?: MaxDisplayResolution;
|
|
131
|
+
ToolbarType?: ToolbarType;
|
|
132
|
+
VisualMode?: VisualMode;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* Type definition for `AWS::WorkSpacesWeb::UserSettings.ToolbarItem`.
|
|
136
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-usersettings-toolbaritem.html}
|
|
137
|
+
*/
|
|
138
|
+
export type ToolbarItem = "Windows" | "DualMonitor" | "FullScreen" | "Webcam" | "Microphone";
|
|
139
|
+
/**
|
|
140
|
+
* Type definition for `AWS::WorkSpacesWeb::UserSettings.ToolbarType`.
|
|
141
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-usersettings-toolbartype.html}
|
|
142
|
+
*/
|
|
143
|
+
export type ToolbarType = "Floating" | "Docked";
|
|
144
|
+
/**
|
|
145
|
+
* Type definition for `AWS::WorkSpacesWeb::UserSettings.VisualMode`.
|
|
146
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-usersettings-visualmode.html}
|
|
147
|
+
*/
|
|
148
|
+
export type VisualMode = "Dark" | "Light";
|
|
118
149
|
/**
|
|
119
150
|
* Definition of AWS::WorkSpacesWeb::UserSettings Resource Type
|
|
120
151
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-usersettings.html}
|