@propulsionworks/cloudformation 0.1.13 → 0.1.15
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/builder.ts +5 -5
- package/out/exports/resources.generated/aws-accessanalyzer-analyzer.d.ts +11 -4
- package/out/exports/resources.generated/aws-aiops-investigationgroup.d.ts +133 -0
- package/out/exports/resources.generated/aws-arczonalshift-zonalautoshiftconfiguration.d.ts +7 -7
- package/out/exports/resources.generated/aws-b2bi-partnership.d.ts +108 -0
- package/out/exports/resources.generated/aws-b2bi-transformer.d.ts +35 -0
- package/out/exports/resources.generated/aws-batch-computeenvironment.d.ts +14 -0
- package/out/exports/resources.generated/aws-bedrock-guardrail.d.ts +37 -18
- package/out/exports/resources.generated/aws-cassandra-table.d.ts +29 -0
- package/out/exports/resources.generated/aws-cloudformation-guardhook.d.ts +1 -1
- package/out/exports/resources.generated/aws-cloudformation-hookversion.d.ts +1 -1
- package/out/exports/resources.generated/aws-cloudformation-moduleversion.d.ts +1 -1
- package/out/exports/resources.generated/aws-cloudformation-resourceversion.d.ts +1 -1
- package/out/exports/resources.generated/aws-cloudformation-stack.d.ts +1 -1
- package/out/exports/resources.generated/aws-cloudformation-stackset.d.ts +4 -4
- package/out/exports/resources.generated/aws-cloudformation-waitcondition.d.ts +1 -1
- package/out/exports/resources.generated/aws-cloudfront-distribution.d.ts +14 -5
- package/out/exports/resources.generated/aws-cloudfront-vpcorigin.d.ts +1 -1
- package/out/exports/resources.generated/aws-connectcampaignsv2-campaign.d.ts +10 -0
- package/out/exports/resources.generated/aws-datazone-connection.d.ts +1 -1
- package/out/exports/resources.generated/aws-datazone-projectprofile.d.ts +6 -0
- package/out/exports/resources.generated/aws-deadline-fleet.d.ts +0 -1
- package/out/exports/resources.generated/aws-dsql-cluster.d.ts +5 -0
- package/out/exports/resources.generated/aws-ec2-networkinterfacepermission.d.ts +2 -2
- package/out/exports/resources.generated/aws-ec2-trafficmirrorfilterrule.d.ts +3 -2
- package/out/exports/resources.generated/aws-ecs-service.d.ts +2 -2
- package/out/exports/resources.generated/aws-ecs-taskdefinition.d.ts +3 -3
- package/out/exports/resources.generated/aws-elasticloadbalancingv2-listener.d.ts +2 -0
- package/out/exports/resources.generated/aws-emrserverless-application.d.ts +19 -0
- package/out/exports/resources.generated/aws-fsx-s3accesspointattachment.d.ts +140 -0
- package/out/exports/resources.generated/aws-gamelift-containerfleet.d.ts +8 -0
- package/out/exports/resources.generated/aws-gamelift-fleet.d.ts +1 -1
- package/out/exports/resources.generated/aws-inspectorv2-filter.d.ts +1 -0
- package/out/exports/resources.generated/aws-kendra-datasource.d.ts +15 -0
- package/out/exports/resources.generated/aws-lambda-eventsourcemapping.d.ts +22 -0
- package/out/exports/resources.generated/aws-lex-bot.d.ts +34 -0
- package/out/exports/resources.generated/aws-logs-transformer.d.ts +36 -0
- package/out/exports/resources.generated/aws-mediatailor-playbackconfiguration.d.ts +9 -0
- package/out/exports/resources.generated/aws-mpa-approvalteam.d.ts +25 -2
- package/out/exports/resources.generated/aws-mpa-identitysource.d.ts +16 -2
- package/out/exports/resources.generated/aws-neptune-dbinstance.d.ts +0 -4
- package/out/exports/resources.generated/aws-networkmanager-vpcattachment.d.ts +12 -0
- package/out/exports/resources.generated/aws-rolesanywhere-trustanchor.d.ts +1 -1
- package/out/exports/resources.generated/aws-route53resolver-resolverendpoint.d.ts +4 -1
- package/out/exports/resources.generated/aws-route53resolver-resolverrule.d.ts +8 -1
- package/out/exports/resources.generated/aws-s3-bucket.d.ts +2 -0
- package/out/exports/resources.generated/aws-s3tables-namespace.d.ts +27 -0
- package/out/exports/resources.generated/aws-securityhub-aggregatorv2.d.ts +7 -7
- package/out/exports/resources.generated/aws-securityhub-automationrulev2.d.ts +123 -70
- package/out/exports/resources.generated/aws-securityhub-hubv2.d.ts +5 -1
- package/out/exports/resources.generated/aws-synthetics-canary.d.ts +1 -1
- package/out/exports/resources.generated/aws-workspacesinstances-volume.d.ts +89 -0
- package/out/exports/resources.generated/aws-workspacesinstances-volumeassociation.d.ts +36 -0
- package/out/exports/resources.generated/aws-workspacesinstances-workspaceinstance.d.ts +311 -0
- package/out/lib/builder.d.ts +3 -3
- package/out/lib/builder.d.ts.map +1 -1
- package/out/lib/builder.js +2 -2
- package/out/lib/builder.js.map +1 -1
- package/package.json +1 -1
package/lib/builder.ts
CHANGED
|
@@ -65,7 +65,7 @@ export type ResourceDefinitionWithAttributes<
|
|
|
65
65
|
*/
|
|
66
66
|
export type ConditionInstance = {
|
|
67
67
|
name: string;
|
|
68
|
-
ref: FnCondition;
|
|
68
|
+
ref: () => FnCondition;
|
|
69
69
|
};
|
|
70
70
|
|
|
71
71
|
/**
|
|
@@ -89,14 +89,14 @@ export type MappingInstance<
|
|
|
89
89
|
export type ParameterInstance<T extends ParameterType> = T extends FnValueOfType
|
|
90
90
|
? {
|
|
91
91
|
name: string;
|
|
92
|
-
ref: Ref<ParameterTypeMap[T]>;
|
|
92
|
+
ref: () => Ref<ParameterTypeMap[T]>;
|
|
93
93
|
valueOf: <Attr extends keyof FnValueOfTypeMap[T]>(
|
|
94
94
|
attribute: Attr,
|
|
95
95
|
) => Required<FnValueOf<FnValueOfTypeMap[T][Attr]>>;
|
|
96
96
|
}
|
|
97
97
|
: {
|
|
98
98
|
name: string;
|
|
99
|
-
ref: Ref<ParameterTypeMap[T]>;
|
|
99
|
+
ref: () => Ref<ParameterTypeMap[T]>;
|
|
100
100
|
};
|
|
101
101
|
|
|
102
102
|
/**
|
|
@@ -151,7 +151,7 @@ export class TemplateBuilder<
|
|
|
151
151
|
this.#addSection("Conditions", name, definition);
|
|
152
152
|
return {
|
|
153
153
|
name,
|
|
154
|
-
ref: Condition(name),
|
|
154
|
+
ref: () => Condition(name),
|
|
155
155
|
};
|
|
156
156
|
}
|
|
157
157
|
|
|
@@ -268,7 +268,7 @@ export class TemplateBuilder<
|
|
|
268
268
|
this.#addSection("Parameters", name, definition);
|
|
269
269
|
return {
|
|
270
270
|
name,
|
|
271
|
-
ref: Ref(name),
|
|
271
|
+
ref: () => Ref(name),
|
|
272
272
|
valueOf: Fn.ValueOf.bind(Fn, name),
|
|
273
273
|
} as ParameterInstance<T>;
|
|
274
274
|
}
|
|
@@ -41,7 +41,7 @@ export type AccessAnalyzerAnalyzerProps = {
|
|
|
41
41
|
/**
|
|
42
42
|
* The type represents the zone of trust for the analyzer.
|
|
43
43
|
*
|
|
44
|
-
* *Allowed Values* : ACCOUNT | ORGANIZATION | ACCOUNT_UNUSED_ACCESS | ORGANIZATION_UNUSED_ACCESS
|
|
44
|
+
* *Allowed Values* : ACCOUNT | ORGANIZATION | ACCOUNT_UNUSED_ACCESS | ACCOUNT_INTERNAL_ACCESS | ORGANIZATION_INTERNAL_ACCESS | ORGANIZATION_UNUSED_ACCESS
|
|
45
45
|
* @minLength 0
|
|
46
46
|
* @maxLength 1024
|
|
47
47
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html#cfn-accessanalyzer-analyzer-type}
|
|
@@ -135,7 +135,7 @@ export type Filter = {
|
|
|
135
135
|
*/
|
|
136
136
|
export type InternalAccessAnalysisRuleCriteria = {
|
|
137
137
|
/**
|
|
138
|
-
* A list of AWS account IDs to apply to the internal access analysis rule criteria. Account IDs can only be applied to the analysis rule criteria for organization-level analyzers
|
|
138
|
+
* A list of AWS account IDs to apply to the internal access analysis rule criteria. Account IDs can only be applied to the analysis rule criteria for organization-level analyzers.
|
|
139
139
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accessanalyzer-analyzer-internalaccessanalysisrulecriteria.html#cfn-accessanalyzer-analyzer-internalaccessanalysisrulecriteria-accountids}
|
|
140
140
|
*/
|
|
141
141
|
AccountIds?: string[] | undefined;
|
|
@@ -145,7 +145,14 @@ export type InternalAccessAnalysisRuleCriteria = {
|
|
|
145
145
|
*/
|
|
146
146
|
ResourceArns?: string[] | undefined;
|
|
147
147
|
/**
|
|
148
|
-
* A list of resource types to apply to the internal access analysis rule criteria. The analyzer will only generate findings for resources of these types.
|
|
148
|
+
* A list of resource types to apply to the internal access analysis rule criteria. The analyzer will only generate findings for resources of these types. These resource types are currently supported for internal access analyzers:
|
|
149
|
+
*
|
|
150
|
+
* - `AWS::S3::Bucket`
|
|
151
|
+
* - `AWS::RDS::DBSnapshot`
|
|
152
|
+
* - `AWS::RDS::DBClusterSnapshot`
|
|
153
|
+
* - `AWS::S3Express::DirectoryBucket`
|
|
154
|
+
* - `AWS::DynamoDB::Table`
|
|
155
|
+
* - `AWS::DynamoDB::Stream`
|
|
149
156
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accessanalyzer-analyzer-internalaccessanalysisrulecriteria.html#cfn-accessanalyzer-analyzer-internalaccessanalysisrulecriteria-resourcetypes}
|
|
150
157
|
*/
|
|
151
158
|
ResourceTypes?: string[] | undefined;
|
|
@@ -156,7 +163,7 @@ export type InternalAccessAnalysisRuleCriteria = {
|
|
|
156
163
|
*/
|
|
157
164
|
export type InternalAccessConfiguration = {
|
|
158
165
|
/**
|
|
159
|
-
* Contains information about analysis rules for the internal access analyzer.
|
|
166
|
+
* Contains information about analysis rules for the internal access analyzer. These rules determine which resources and access patterns will be analyzed.
|
|
160
167
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accessanalyzer-analyzer-internalaccessconfiguration.html#cfn-accessanalyzer-analyzer-internalaccessconfiguration-internalaccessanalysisrule}
|
|
161
168
|
*/
|
|
162
169
|
InternalAccessAnalysisRule?: {
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
|
|
2
|
+
/**
|
|
3
|
+
* Definition of AWS::AIOps::InvestigationGroup Resource Type
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aiops-investigationgroup.html}
|
|
5
|
+
*/
|
|
6
|
+
export type AIOpsInvestigationGroup = ResourceDefinitionWithAttributes<"AWS::AIOps::InvestigationGroup", AIOpsInvestigationGroupProps, AIOpsInvestigationGroupAttribs>;
|
|
7
|
+
/**
|
|
8
|
+
* Definition of AWS::AIOps::InvestigationGroup Resource Type
|
|
9
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aiops-investigationgroup.html}
|
|
10
|
+
*/
|
|
11
|
+
export type AIOpsInvestigationGroupProps = {
|
|
12
|
+
/**
|
|
13
|
+
* An array of key-value pairs of notification channels to apply to this resource.
|
|
14
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aiops-investigationgroup.html#cfn-aiops-investigationgroup-chatbotnotificationchannels}
|
|
15
|
+
*/
|
|
16
|
+
ChatbotNotificationChannels?: ChatbotNotificationChannel[] | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* An array of cross account configurations.
|
|
19
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aiops-investigationgroup.html#cfn-aiops-investigationgroup-crossaccountconfigurations}
|
|
20
|
+
*/
|
|
21
|
+
CrossAccountConfigurations?: CrossAccountConfiguration[] | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aiops-investigationgroup.html#cfn-aiops-investigationgroup-encryptionconfig}
|
|
24
|
+
*/
|
|
25
|
+
EncryptionConfig?: EncryptionConfigMap | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Investigation Group policy
|
|
28
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aiops-investigationgroup.html#cfn-aiops-investigationgroup-investigationgrouppolicy}
|
|
29
|
+
*/
|
|
30
|
+
InvestigationGroupPolicy?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Flag to enable cloud trail history
|
|
33
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aiops-investigationgroup.html#cfn-aiops-investigationgroup-iscloudtraileventhistoryenabled}
|
|
34
|
+
*/
|
|
35
|
+
IsCloudTrailEventHistoryEnabled?: boolean | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* User friendly name for resources.
|
|
38
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aiops-investigationgroup.html#cfn-aiops-investigationgroup-name}
|
|
39
|
+
*/
|
|
40
|
+
Name: string;
|
|
41
|
+
/**
|
|
42
|
+
* The number of days to retain the investigation group
|
|
43
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aiops-investigationgroup.html#cfn-aiops-investigationgroup-retentionindays}
|
|
44
|
+
*/
|
|
45
|
+
RetentionInDays?: number | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* The Investigation Role's ARN.
|
|
48
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aiops-investigationgroup.html#cfn-aiops-investigationgroup-rolearn}
|
|
49
|
+
*/
|
|
50
|
+
RoleArn?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aiops-investigationgroup.html#cfn-aiops-investigationgroup-tagkeyboundaries}
|
|
53
|
+
*/
|
|
54
|
+
TagKeyBoundaries?: string[] | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* An array of key-value pairs to apply to this resource.
|
|
57
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aiops-investigationgroup.html#cfn-aiops-investigationgroup-tags}
|
|
58
|
+
*/
|
|
59
|
+
Tags?: Tag[] | undefined;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aiops-investigationgroup.html#aws-resource-aiops-investigationgroup-return-values}
|
|
63
|
+
*/
|
|
64
|
+
export type AIOpsInvestigationGroupAttribs = {
|
|
65
|
+
/**
|
|
66
|
+
* The Investigation Group's ARN.
|
|
67
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aiops-investigationgroup.html#cfn-aiops-investigationgroup-arn}
|
|
68
|
+
*/
|
|
69
|
+
Arn: string;
|
|
70
|
+
/**
|
|
71
|
+
* The timestamp value.
|
|
72
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aiops-investigationgroup.html#cfn-aiops-investigationgroup-createdat}
|
|
73
|
+
*/
|
|
74
|
+
CreatedAt: string;
|
|
75
|
+
/**
|
|
76
|
+
* User friendly name for resources.
|
|
77
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aiops-investigationgroup.html#cfn-aiops-investigationgroup-createdby}
|
|
78
|
+
*/
|
|
79
|
+
CreatedBy: string;
|
|
80
|
+
/**
|
|
81
|
+
* User friendly name for resources.
|
|
82
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aiops-investigationgroup.html#cfn-aiops-investigationgroup-lastmodifiedat}
|
|
83
|
+
*/
|
|
84
|
+
LastModifiedAt: string;
|
|
85
|
+
/**
|
|
86
|
+
* User friendly name for resources.
|
|
87
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aiops-investigationgroup.html#cfn-aiops-investigationgroup-lastmodifiedby}
|
|
88
|
+
*/
|
|
89
|
+
LastModifiedBy: string;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aiops-investigationgroup-chatbotnotificationchannel.html}
|
|
93
|
+
*/
|
|
94
|
+
export type ChatbotNotificationChannel = {
|
|
95
|
+
/**
|
|
96
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aiops-investigationgroup-chatbotnotificationchannel.html#cfn-aiops-investigationgroup-chatbotnotificationchannel-chatconfigurationarns}
|
|
97
|
+
*/
|
|
98
|
+
ChatConfigurationArns?: string[] | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* @minLength 20
|
|
101
|
+
* @maxLength 2048
|
|
102
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aiops-investigationgroup-chatbotnotificationchannel.html#cfn-aiops-investigationgroup-chatbotnotificationchannel-snstopicarn}
|
|
103
|
+
*/
|
|
104
|
+
SNSTopicArn?: string | undefined;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aiops-investigationgroup-crossaccountconfiguration.html}
|
|
108
|
+
*/
|
|
109
|
+
export type CrossAccountConfiguration = {
|
|
110
|
+
/**
|
|
111
|
+
* The Investigation Role's ARN.
|
|
112
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aiops-investigationgroup-crossaccountconfiguration.html#cfn-aiops-investigationgroup-crossaccountconfiguration-sourcerolearn}
|
|
113
|
+
*/
|
|
114
|
+
SourceRoleArn?: string | undefined;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aiops-investigationgroup-encryptionconfigmap.html}
|
|
118
|
+
*/
|
|
119
|
+
export type EncryptionConfigMap = {
|
|
120
|
+
/**
|
|
121
|
+
* @minLength 1
|
|
122
|
+
* @maxLength 128
|
|
123
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aiops-investigationgroup-encryptionconfigmap.html#cfn-aiops-investigationgroup-encryptionconfigmap-encryptionconfigurationtype}
|
|
124
|
+
*/
|
|
125
|
+
EncryptionConfigurationType?: string | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* @minLength 1
|
|
128
|
+
* @maxLength 256
|
|
129
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aiops-investigationgroup-encryptionconfigmap.html#cfn-aiops-investigationgroup-encryptionconfigmap-kmskeyid}
|
|
130
|
+
*/
|
|
131
|
+
KmsKeyId?: string | undefined;
|
|
132
|
+
};
|
|
133
|
+
//# sourceMappingURL=aws-aiops-investigationgroup.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { ResourceDefinition } from "../main.ts";
|
|
2
2
|
/**
|
|
3
|
-
* The zonal autoshift configuration for a resource includes the practice run configuration and the status for running autoshifts, zonal autoshift status. When a resource has a practice run configuation,
|
|
3
|
+
* The zonal autoshift configuration for a resource includes the practice run configuration and the status for running autoshifts, zonal autoshift status. When a resource has a practice run configuation, ARC starts weekly zonal shifts for the resource, to shift traffic away from an Availability Zone. Weekly practice runs help you to make sure that your application can continue to operate normally with the loss of one Availability Zone.
|
|
4
4
|
*
|
|
5
5
|
* You can update the zonal autoshift autoshift status to enable or disable zonal autoshift. When zonal autoshift is `ENABLED` , you authorize AWS to shift away resource traffic for an application from an Availability Zone during events, on your behalf, to help reduce time to recovery. Traffic is also shifted away for the required weekly practice runs.
|
|
6
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arczonalshift-zonalautoshiftconfiguration.html}
|
|
7
7
|
*/
|
|
8
8
|
export type ARCZonalShiftZonalAutoshiftConfiguration = ResourceDefinition<"AWS::ARCZonalShift::ZonalAutoshiftConfiguration", ARCZonalShiftZonalAutoshiftConfigurationProps>;
|
|
9
9
|
/**
|
|
10
|
-
* The zonal autoshift configuration for a resource includes the practice run configuration and the status for running autoshifts, zonal autoshift status. When a resource has a practice run configuation,
|
|
10
|
+
* The zonal autoshift configuration for a resource includes the practice run configuration and the status for running autoshifts, zonal autoshift status. When a resource has a practice run configuation, ARC starts weekly zonal shifts for the resource, to shift traffic away from an Availability Zone. Weekly practice runs help you to make sure that your application can continue to operate normally with the loss of one Availability Zone.
|
|
11
11
|
*
|
|
12
12
|
* You can update the zonal autoshift autoshift status to enable or disable zonal autoshift. When zonal autoshift is `ENABLED` , you authorize AWS to shift away resource traffic for an application from an Availability Zone during events, on your behalf, to help reduce time to recovery. Traffic is also shifted away for the required weekly practice runs.
|
|
13
13
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arczonalshift-zonalautoshiftconfiguration.html}
|
|
@@ -25,7 +25,7 @@ export type ARCZonalShiftZonalAutoshiftConfigurationProps = {
|
|
|
25
25
|
/**
|
|
26
26
|
* The identifier for the resource that AWS shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.
|
|
27
27
|
*
|
|
28
|
-
* At this time, supported resources are Network Load Balancers and Application Load Balancers
|
|
28
|
+
* At this time, supported resources are Network Load Balancers and Application Load Balancers.
|
|
29
29
|
* @minLength 8
|
|
30
30
|
* @maxLength 1024
|
|
31
31
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arczonalshift-zonalautoshiftconfiguration.html#cfn-arczonalshift-zonalautoshiftconfiguration-resourceidentifier}
|
|
@@ -49,7 +49,7 @@ export type ARCZonalShiftZonalAutoshiftConfigurationProps = {
|
|
|
49
49
|
/**
|
|
50
50
|
* The identifier for the resource that AWS shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.
|
|
51
51
|
*
|
|
52
|
-
* At this time, supported resources are Network Load Balancers and Application Load Balancers
|
|
52
|
+
* At this time, supported resources are Network Load Balancers and Application Load Balancers.
|
|
53
53
|
* @minLength 8
|
|
54
54
|
* @maxLength 1024
|
|
55
55
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arczonalshift-zonalautoshiftconfiguration.html#cfn-arczonalshift-zonalautoshiftconfiguration-resourceidentifier}
|
|
@@ -66,7 +66,7 @@ export type ARCZonalShiftZonalAutoshiftConfigurationProps = {
|
|
|
66
66
|
*
|
|
67
67
|
* Control condition alarms do not apply for autoshifts.
|
|
68
68
|
*
|
|
69
|
-
* For more information, see [Considerations when you configure zonal autoshift](https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.considerations.html) in the
|
|
69
|
+
* For more information, see [Considerations when you configure zonal autoshift](https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.considerations.html) in the ARC Developer Guide.
|
|
70
70
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arczonalshift-zonalautoshiftconfiguration-controlcondition.html}
|
|
71
71
|
*/
|
|
72
72
|
export type ControlCondition = {
|
|
@@ -87,7 +87,7 @@ export type ControlCondition = {
|
|
|
87
87
|
/**
|
|
88
88
|
* A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice run, as well as any blocked dates or blocked windows for the practice run.
|
|
89
89
|
*
|
|
90
|
-
* When a resource has a practice run configuation,
|
|
90
|
+
* When a resource has a practice run configuation, ARC starts weekly zonal shifts for the resource, to shift traffic away from an Availability Zone. Weekly practice runs help you to make sure that your application can continue to operate normally with the loss of one Availability Zone.
|
|
91
91
|
*
|
|
92
92
|
* You can update or delete a practice run configuration. When you delete a practice run configuration, zonal autoshift is disabled for the resource. A practice run configuration is required when zonal autoshift is enabled.
|
|
93
93
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arczonalshift-zonalautoshiftconfiguration-practicerunconfiguration.html}
|
|
@@ -101,7 +101,7 @@ export type PracticeRunConfiguration = {
|
|
|
101
101
|
*/
|
|
102
102
|
BlockedDates?: string[] | undefined;
|
|
103
103
|
/**
|
|
104
|
-
* An array of one or more days and times that you can specify when
|
|
104
|
+
* An array of one or more days and times that you can specify when ARC does not start practice runs for a resource. Days and times are in UTC.
|
|
105
105
|
*
|
|
106
106
|
* Specify blocked windows in the format `DAY:HH:MM-DAY:HH:MM` , separated by spaces. For example, `MON:18:30-MON:19:30 TUE:18:30-TUE:19:30` .
|
|
107
107
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arczonalshift-zonalautoshiftconfiguration-practicerunconfiguration.html#cfn-arczonalshift-zonalautoshiftconfiguration-practicerunconfiguration-blockedwindows}
|
|
@@ -99,12 +99,29 @@ export type B2BIPartnershipAttribs = {
|
|
|
99
99
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-capabilityoptions.html}
|
|
100
100
|
*/
|
|
101
101
|
export type CapabilityOptions = {
|
|
102
|
+
/**
|
|
103
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-capabilityoptions.html#cfn-b2bi-partnership-capabilityoptions-inboundedi}
|
|
104
|
+
*/
|
|
105
|
+
InboundEdi?: InboundEdiOptions | undefined;
|
|
102
106
|
/**
|
|
103
107
|
* A structure that contains the outbound EDI options.
|
|
104
108
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-capabilityoptions.html#cfn-b2bi-partnership-capabilityoptions-outboundedi}
|
|
105
109
|
*/
|
|
106
110
|
OutboundEdi?: OutboundEdiOptions | undefined;
|
|
107
111
|
};
|
|
112
|
+
/**
|
|
113
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-inboundedioptions.html}
|
|
114
|
+
*/
|
|
115
|
+
export type InboundEdiOptions = {
|
|
116
|
+
/**
|
|
117
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-inboundedioptions.html#cfn-b2bi-partnership-inboundedioptions-x12}
|
|
118
|
+
*/
|
|
119
|
+
X12?: X12InboundEdiOptions | undefined;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-lineterminator.html}
|
|
123
|
+
*/
|
|
124
|
+
export type LineTerminator = "CRLF" | "LF" | "CR";
|
|
108
125
|
/**
|
|
109
126
|
* A container for outbound EDI options.
|
|
110
127
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-outboundedioptions.html}
|
|
@@ -112,6 +129,64 @@ export type CapabilityOptions = {
|
|
|
112
129
|
export type OutboundEdiOptions = {
|
|
113
130
|
X12: X12Envelope;
|
|
114
131
|
};
|
|
132
|
+
/**
|
|
133
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-wrapformat.html}
|
|
134
|
+
*/
|
|
135
|
+
export type WrapFormat = "SEGMENT" | "ONE_LINE" | "LINE_LENGTH";
|
|
136
|
+
/**
|
|
137
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-wrapoptions.html}
|
|
138
|
+
*/
|
|
139
|
+
export type WrapOptions = {
|
|
140
|
+
/**
|
|
141
|
+
* @min 1
|
|
142
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-wrapoptions.html#cfn-b2bi-partnership-wrapoptions-linelength}
|
|
143
|
+
*/
|
|
144
|
+
LineLength?: number | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-wrapoptions.html#cfn-b2bi-partnership-wrapoptions-lineterminator}
|
|
147
|
+
*/
|
|
148
|
+
LineTerminator?: LineTerminator | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-wrapoptions.html#cfn-b2bi-partnership-wrapoptions-wrapby}
|
|
151
|
+
*/
|
|
152
|
+
WrapBy?: WrapFormat | undefined;
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12acknowledgmentoptions.html}
|
|
156
|
+
*/
|
|
157
|
+
export type X12AcknowledgmentOptions = {
|
|
158
|
+
/**
|
|
159
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12acknowledgmentoptions.html#cfn-b2bi-partnership-x12acknowledgmentoptions-functionalacknowledgment}
|
|
160
|
+
*/
|
|
161
|
+
FunctionalAcknowledgment: X12FunctionalAcknowledgment;
|
|
162
|
+
/**
|
|
163
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12acknowledgmentoptions.html#cfn-b2bi-partnership-x12acknowledgmentoptions-technicalacknowledgment}
|
|
164
|
+
*/
|
|
165
|
+
TechnicalAcknowledgment: X12TechnicalAcknowledgment;
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12controlnumbers.html}
|
|
169
|
+
*/
|
|
170
|
+
export type X12ControlNumbers = {
|
|
171
|
+
/**
|
|
172
|
+
* @min 1
|
|
173
|
+
* @max 999999999
|
|
174
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12controlnumbers.html#cfn-b2bi-partnership-x12controlnumbers-startingfunctionalgroupcontrolnumber}
|
|
175
|
+
*/
|
|
176
|
+
StartingFunctionalGroupControlNumber?: number | undefined;
|
|
177
|
+
/**
|
|
178
|
+
* @min 1
|
|
179
|
+
* @max 999999999
|
|
180
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12controlnumbers.html#cfn-b2bi-partnership-x12controlnumbers-startinginterchangecontrolnumber}
|
|
181
|
+
*/
|
|
182
|
+
StartingInterchangeControlNumber?: number | undefined;
|
|
183
|
+
/**
|
|
184
|
+
* @min 1
|
|
185
|
+
* @max 999999999
|
|
186
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12controlnumbers.html#cfn-b2bi-partnership-x12controlnumbers-startingtransactionsetcontrolnumber}
|
|
187
|
+
*/
|
|
188
|
+
StartingTransactionSetControlNumber?: number | undefined;
|
|
189
|
+
};
|
|
115
190
|
/**
|
|
116
191
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12delimiters.html}
|
|
117
192
|
*/
|
|
@@ -154,7 +229,15 @@ export type X12Envelope = {
|
|
|
154
229
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12envelope.html#cfn-b2bi-partnership-x12envelope-common}
|
|
155
230
|
*/
|
|
156
231
|
Common?: X12OutboundEdiHeaders | undefined;
|
|
232
|
+
/**
|
|
233
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12envelope.html#cfn-b2bi-partnership-x12envelope-wrapoptions}
|
|
234
|
+
*/
|
|
235
|
+
WrapOptions?: WrapOptions | undefined;
|
|
157
236
|
};
|
|
237
|
+
/**
|
|
238
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12functionalacknowledgment.html}
|
|
239
|
+
*/
|
|
240
|
+
export type X12FunctionalAcknowledgment = "DO_NOT_GENERATE" | "GENERATE_ALL_SEGMENTS" | "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP";
|
|
158
241
|
/**
|
|
159
242
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12functionalgroupheaders.html}
|
|
160
243
|
*/
|
|
@@ -181,6 +264,19 @@ export type X12FunctionalGroupHeaders = {
|
|
|
181
264
|
*/
|
|
182
265
|
ResponsibleAgencyCode?: string | undefined;
|
|
183
266
|
};
|
|
267
|
+
/**
|
|
268
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12gs05timeformat.html}
|
|
269
|
+
*/
|
|
270
|
+
export type X12GS05TimeFormat = "HHMM" | "HHMMSS" | "HHMMSSDD";
|
|
271
|
+
/**
|
|
272
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12inboundedioptions.html}
|
|
273
|
+
*/
|
|
274
|
+
export type X12InboundEdiOptions = {
|
|
275
|
+
/**
|
|
276
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12inboundedioptions.html#cfn-b2bi-partnership-x12inboundedioptions-acknowledgmentoptions}
|
|
277
|
+
*/
|
|
278
|
+
AcknowledgmentOptions?: X12AcknowledgmentOptions | undefined;
|
|
279
|
+
};
|
|
184
280
|
/**
|
|
185
281
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html}
|
|
186
282
|
*/
|
|
@@ -239,6 +335,10 @@ export type X12InterchangeControlHeaders = {
|
|
|
239
335
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html}
|
|
240
336
|
*/
|
|
241
337
|
export type X12OutboundEdiHeaders = {
|
|
338
|
+
/**
|
|
339
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html#cfn-b2bi-partnership-x12outboundediheaders-controlnumbers}
|
|
340
|
+
*/
|
|
341
|
+
ControlNumbers?: X12ControlNumbers | undefined;
|
|
242
342
|
/**
|
|
243
343
|
* The delimiters, for example semicolon ( `;` ), that separates sections of the headers for the X12 object.
|
|
244
344
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html#cfn-b2bi-partnership-x12outboundediheaders-delimiters}
|
|
@@ -249,6 +349,10 @@ export type X12OutboundEdiHeaders = {
|
|
|
249
349
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html#cfn-b2bi-partnership-x12outboundediheaders-functionalgroupheaders}
|
|
250
350
|
*/
|
|
251
351
|
FunctionalGroupHeaders?: X12FunctionalGroupHeaders | undefined;
|
|
352
|
+
/**
|
|
353
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html#cfn-b2bi-partnership-x12outboundediheaders-gs05timeformat}
|
|
354
|
+
*/
|
|
355
|
+
Gs05TimeFormat?: X12GS05TimeFormat | undefined;
|
|
252
356
|
/**
|
|
253
357
|
* In X12 EDI messages, delimiters are used to mark the end of segments or elements, and are defined in the interchange control header.
|
|
254
358
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html#cfn-b2bi-partnership-x12outboundediheaders-interchangecontrolheaders}
|
|
@@ -260,4 +364,8 @@ export type X12OutboundEdiHeaders = {
|
|
|
260
364
|
*/
|
|
261
365
|
ValidateEdi?: boolean | undefined;
|
|
262
366
|
};
|
|
367
|
+
/**
|
|
368
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12technicalacknowledgment.html}
|
|
369
|
+
*/
|
|
370
|
+
export type X12TechnicalAcknowledgment = "DO_NOT_GENERATE" | "GENERATE_ALL_SEGMENTS";
|
|
263
371
|
//# sourceMappingURL=aws-b2bi-partnership.d.ts.map
|
|
@@ -120,6 +120,15 @@ export type B2BITransformerAttribs = {
|
|
|
120
120
|
*/
|
|
121
121
|
TransformerId: string;
|
|
122
122
|
};
|
|
123
|
+
/**
|
|
124
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-advancedoptions.html}
|
|
125
|
+
*/
|
|
126
|
+
export type AdvancedOptions = {
|
|
127
|
+
/**
|
|
128
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-advancedoptions.html#cfn-b2bi-transformer-advancedoptions-x12}
|
|
129
|
+
*/
|
|
130
|
+
X12?: X12AdvancedOptions | undefined;
|
|
131
|
+
};
|
|
123
132
|
/**
|
|
124
133
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-editype.html}
|
|
125
134
|
*/
|
|
@@ -144,6 +153,10 @@ export type FromFormat = "X12";
|
|
|
144
153
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-inputconversion.html}
|
|
145
154
|
*/
|
|
146
155
|
export type InputConversion = {
|
|
156
|
+
/**
|
|
157
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-inputconversion.html#cfn-b2bi-transformer-inputconversion-advancedoptions}
|
|
158
|
+
*/
|
|
159
|
+
AdvancedOptions?: AdvancedOptions | undefined;
|
|
147
160
|
/**
|
|
148
161
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-inputconversion.html#cfn-b2bi-transformer-inputconversion-formatoptions}
|
|
149
162
|
*/
|
|
@@ -225,6 +238,15 @@ export type ToFormat = "X12";
|
|
|
225
238
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-transformerstatus.html}
|
|
226
239
|
*/
|
|
227
240
|
export type TransformerStatus = "active" | "inactive";
|
|
241
|
+
/**
|
|
242
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12advancedoptions.html}
|
|
243
|
+
*/
|
|
244
|
+
export type X12AdvancedOptions = {
|
|
245
|
+
/**
|
|
246
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12advancedoptions.html#cfn-b2bi-transformer-x12advancedoptions-splitoptions}
|
|
247
|
+
*/
|
|
248
|
+
SplitOptions?: X12SplitOptions | undefined;
|
|
249
|
+
};
|
|
228
250
|
/**
|
|
229
251
|
* A structure that contains the X12 transaction set and version. The X12 structure is used when the system transforms an EDI (electronic data interchange) file.
|
|
230
252
|
*
|
|
@@ -243,6 +265,19 @@ export type X12Details = {
|
|
|
243
265
|
*/
|
|
244
266
|
Version?: X12Version | undefined;
|
|
245
267
|
};
|
|
268
|
+
/**
|
|
269
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12splitby.html}
|
|
270
|
+
*/
|
|
271
|
+
export type X12SplitBy = "NONE" | "TRANSACTION";
|
|
272
|
+
/**
|
|
273
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12splitoptions.html}
|
|
274
|
+
*/
|
|
275
|
+
export type X12SplitOptions = {
|
|
276
|
+
/**
|
|
277
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12splitoptions.html#cfn-b2bi-transformer-x12splitoptions-splitby}
|
|
278
|
+
*/
|
|
279
|
+
SplitBy?: X12SplitBy | undefined;
|
|
280
|
+
};
|
|
246
281
|
/**
|
|
247
282
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12transactionset.html}
|
|
248
283
|
*/
|
|
@@ -360,6 +360,10 @@ export type Ec2ConfigurationObject = {
|
|
|
360
360
|
*
|
|
361
361
|
* - **EKS_AL2** - [Amazon Linux 2](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html) : Default for all non-GPU instance families.
|
|
362
362
|
* - **EKS_AL2_NVIDIA** - [Amazon Linux 2 (accelerated)](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html) : Default for all GPU instance families (for example, `P4` and `G4` ) and can be used for all non AWS Graviton-based instance types.
|
|
363
|
+
* - **EKS_AL2023** - [Amazon Linux 2023](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html) : AWS Batch supports Amazon Linux 2023.
|
|
364
|
+
*
|
|
365
|
+
* > Amazon Linux 2023 does not support `A1` instances.
|
|
366
|
+
* - **EKS_AL2023_NVIDIA** - [Amazon Linux 2023 (accelerated)](https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html) : GPU instance families and can be used for all non AWS Graviton-based instance types.
|
|
363
367
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-ec2configurationobject.html#cfn-batch-computeenvironment-ec2configurationobject-imagetype}
|
|
364
368
|
*/
|
|
365
369
|
ImageType: string;
|
|
@@ -410,6 +414,11 @@ export type LaunchTemplateSpecification = {
|
|
|
410
414
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-launchtemplatespecification.html#cfn-batch-computeenvironment-launchtemplatespecification-overrides}
|
|
411
415
|
*/
|
|
412
416
|
Overrides?: LaunchTemplateSpecificationOverride[] | undefined;
|
|
417
|
+
/**
|
|
418
|
+
* The EKS node initialization process to use. You only need to specify this value if you are using a custom AMI. The default value is `EKS_BOOTSTRAP_SH` . If *imageType* is a custom AMI based on EKS_AL2023 or EKS_AL2023_NVIDIA then you must choose `EKS_NODEADM` .
|
|
419
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-launchtemplatespecification.html#cfn-batch-computeenvironment-launchtemplatespecification-userdatatype}
|
|
420
|
+
*/
|
|
421
|
+
UserdataType?: "EKS_BOOTSTRAP_SH" | "EKS_NODEADM" | undefined;
|
|
413
422
|
/**
|
|
414
423
|
* The version number of the launch template, `$Default` , or `$Latest` .
|
|
415
424
|
*
|
|
@@ -463,6 +472,11 @@ export type LaunchTemplateSpecificationOverride = {
|
|
|
463
472
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-launchtemplatespecificationoverride.html#cfn-batch-computeenvironment-launchtemplatespecificationoverride-targetinstancetypes}
|
|
464
473
|
*/
|
|
465
474
|
TargetInstanceTypes?: string[] | undefined;
|
|
475
|
+
/**
|
|
476
|
+
* The EKS node initialization process to use. You only need to specify this value if you are using a custom AMI. The default value is `EKS_BOOTSTRAP_SH` . If *imageType* is a custom AMI based on EKS_AL2023 or EKS_AL2023_NVIDIA then you must choose `EKS_NODEADM` .
|
|
477
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-launchtemplatespecificationoverride.html#cfn-batch-computeenvironment-launchtemplatespecificationoverride-userdatatype}
|
|
478
|
+
*/
|
|
479
|
+
UserdataType?: "EKS_BOOTSTRAP_SH" | "EKS_NODEADM" | undefined;
|
|
466
480
|
/**
|
|
467
481
|
* The version number of the launch template, `$Default` , or `$Latest` .
|
|
468
482
|
*
|
|
@@ -1,33 +1,31 @@
|
|
|
1
1
|
import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
|
-
* Creates a guardrail to
|
|
3
|
+
* Creates a guardrail to detect and filter harmful content in your generative AI application.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
5
|
+
* Amazon Bedrock Guardrails provides the following safeguards (also known as policies) to detect and filter harmful content:
|
|
6
6
|
*
|
|
7
|
-
* - *Content filters* -
|
|
8
|
-
* - *Denied topics* - Define a set of topics that are undesirable in the context of your application.
|
|
9
|
-
* - *Word filters* - Configure filters to block undesirable words, phrases, and profanity. Such words can include offensive terms, competitor names etc.
|
|
10
|
-
* - *Sensitive information filters* -
|
|
7
|
+
* - *Content filters* - Detect and filter harmful text or image content in input prompts or model responses. Filtering is done based on detection of certain predefined harmful content categories: Hate, Insults, Sexual, Violence, Misconduct and Prompt Attack. You also can adjust the filter strength for each of these categories.
|
|
8
|
+
* - *Denied topics* - Define a set of topics that are undesirable in the context of your application. The filter will help block them if detected in user queries or model responses.
|
|
9
|
+
* - *Word filters* - Configure filters to help block undesirable words, phrases, and profanity (exact match). Such words can include offensive terms, competitor names, etc.
|
|
10
|
+
* - *Sensitive information filters* - Configure filters to help block or mask sensitive information, such as personally identifiable information (PII), or custom regex in user inputs and model responses. Blocking or masking is done based on probabilistic detection of sensitive information in standard formats in entities such as SSN number, Date of Birth, address, etc. This also allows configuring regular expression based detection of patterns for identifiers.
|
|
11
|
+
* - *Contextual grounding check* - Help detect and filter hallucinations in model responses based on grounding in a source and relevance to the user query.
|
|
11
12
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* For more information, see [Amazon Bedrock Guardrails](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html) in the *Amazon Bedrock User Guide* .
|
|
13
|
+
* For more information, see [How Amazon Bedrock Guardrails works](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-how.html) .
|
|
15
14
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html}
|
|
16
15
|
*/
|
|
17
16
|
export type BedrockGuardrail = ResourceDefinitionWithAttributes<"AWS::Bedrock::Guardrail", BedrockGuardrailProps, BedrockGuardrailAttribs>;
|
|
18
17
|
/**
|
|
19
|
-
* Creates a guardrail to
|
|
20
|
-
*
|
|
21
|
-
* You can configure the following policies in a guardrail to avoid undesirable and harmful content, filter out denied topics and words, and remove sensitive information for privacy protection.
|
|
18
|
+
* Creates a guardrail to detect and filter harmful content in your generative AI application.
|
|
22
19
|
*
|
|
23
|
-
*
|
|
24
|
-
* - *Denied topics* - Define a set of topics that are undesirable in the context of your application. These topics will be blocked if detected in user queries or model responses.
|
|
25
|
-
* - *Word filters* - Configure filters to block undesirable words, phrases, and profanity. Such words can include offensive terms, competitor names etc.
|
|
26
|
-
* - *Sensitive information filters* - Block or mask sensitive information such as personally identifiable information (PII) or custom regex in user inputs and model responses.
|
|
20
|
+
* Amazon Bedrock Guardrails provides the following safeguards (also known as policies) to detect and filter harmful content:
|
|
27
21
|
*
|
|
28
|
-
*
|
|
22
|
+
* - *Content filters* - Detect and filter harmful text or image content in input prompts or model responses. Filtering is done based on detection of certain predefined harmful content categories: Hate, Insults, Sexual, Violence, Misconduct and Prompt Attack. You also can adjust the filter strength for each of these categories.
|
|
23
|
+
* - *Denied topics* - Define a set of topics that are undesirable in the context of your application. The filter will help block them if detected in user queries or model responses.
|
|
24
|
+
* - *Word filters* - Configure filters to help block undesirable words, phrases, and profanity (exact match). Such words can include offensive terms, competitor names, etc.
|
|
25
|
+
* - *Sensitive information filters* - Configure filters to help block or mask sensitive information, such as personally identifiable information (PII), or custom regex in user inputs and model responses. Blocking or masking is done based on probabilistic detection of sensitive information in standard formats in entities such as SSN number, Date of Birth, address, etc. This also allows configuring regular expression based detection of patterns for identifiers.
|
|
26
|
+
* - *Contextual grounding check* - Help detect and filter hallucinations in model responses based on grounding in a source and relevance to the user query.
|
|
29
27
|
*
|
|
30
|
-
* For more information, see [Amazon Bedrock Guardrails](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html)
|
|
28
|
+
* For more information, see [How Amazon Bedrock Guardrails works](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-how.html) .
|
|
31
29
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html}
|
|
32
30
|
*/
|
|
33
31
|
export type BedrockGuardrailProps = {
|
|
@@ -55,6 +53,11 @@ export type BedrockGuardrailProps = {
|
|
|
55
53
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-contextualgroundingpolicyconfig}
|
|
56
54
|
*/
|
|
57
55
|
ContextualGroundingPolicyConfig?: ContextualGroundingPolicyConfig | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* The system-defined guardrail profile that you’re using with your guardrail
|
|
58
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-guardrail.html#cfn-bedrock-guardrail-crossregionconfig}
|
|
59
|
+
*/
|
|
60
|
+
CrossRegionConfig?: GuardrailCrossRegionConfig | undefined;
|
|
58
61
|
/**
|
|
59
62
|
* A description of the guardrail.
|
|
60
63
|
* @minLength 1
|
|
@@ -277,6 +280,22 @@ export type ContextualGroundingPolicyConfig = {
|
|
|
277
280
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-filterstrength.html}
|
|
278
281
|
*/
|
|
279
282
|
export type FilterStrength = "NONE" | "LOW" | "MEDIUM" | "HIGH";
|
|
283
|
+
/**
|
|
284
|
+
* The system-defined guardrail profile that you're using with your guardrail. Guardrail profiles define the destination AWS Regions where guardrail inference requests can be automatically routed. Using guardrail profiles helps maintain guardrail performance and reliability when demand increases.
|
|
285
|
+
*
|
|
286
|
+
* For more information, see the [Amazon Bedrock User Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html) .
|
|
287
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-guardrailcrossregionconfig.html}
|
|
288
|
+
*/
|
|
289
|
+
export type GuardrailCrossRegionConfig = {
|
|
290
|
+
/**
|
|
291
|
+
* The Amazon Resource Name (ARN) of the guardrail profile
|
|
292
|
+
* @minLength 15
|
|
293
|
+
* @maxLength 2048
|
|
294
|
+
* @pattern ^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:guardrail-profile/[a-z0-9-]+[.]{1}guardrail[.]{1}v[0-9:]+$
|
|
295
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-guardrailcrossregionconfig.html#cfn-bedrock-guardrail-guardrailcrossregionconfig-guardrailprofilearn}
|
|
296
|
+
*/
|
|
297
|
+
GuardrailProfileArn: string;
|
|
298
|
+
};
|
|
280
299
|
/**
|
|
281
300
|
* Status of the guardrail
|
|
282
301
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-guardrailstatus.html}
|