Skip to content

Commit e6933ce

Browse files
Updates from spec version 203.0.0 (#2316)
1 parent 3f66ecb commit e6933ce

17 files changed

Lines changed: 412 additions & 25 deletions

troposphere/b2bi.py

Lines changed: 91 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
from . import AWSObject, AWSProperty, PropsDictType, Tags
10-
from .validators import boolean
10+
from .validators import boolean, double
1111

1212

1313
class X12Details(AWSProperty):
@@ -82,6 +82,61 @@ class Capability(AWSObject):
8282
}
8383

8484

85+
class X12AcknowledgmentOptions(AWSProperty):
86+
"""
87+
`X12AcknowledgmentOptions <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12acknowledgmentoptions.html>`__
88+
"""
89+
90+
props: PropsDictType = {
91+
"FunctionalAcknowledgment": (str, True),
92+
"TechnicalAcknowledgment": (str, True),
93+
}
94+
95+
96+
class X12InboundEdiOptions(AWSProperty):
97+
"""
98+
`X12InboundEdiOptions <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12inboundedioptions.html>`__
99+
"""
100+
101+
props: PropsDictType = {
102+
"AcknowledgmentOptions": (X12AcknowledgmentOptions, False),
103+
}
104+
105+
106+
class InboundEdiOptions(AWSProperty):
107+
"""
108+
`InboundEdiOptions <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-inboundedioptions.html>`__
109+
"""
110+
111+
props: PropsDictType = {
112+
"X12": (X12InboundEdiOptions, False),
113+
}
114+
115+
116+
class WrapOptions(AWSProperty):
117+
"""
118+
`WrapOptions <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-wrapoptions.html>`__
119+
"""
120+
121+
props: PropsDictType = {
122+
"LineLength": (double, False),
123+
"LineTerminator": (str, False),
124+
"WrapBy": (str, False),
125+
}
126+
127+
128+
class X12ControlNumbers(AWSProperty):
129+
"""
130+
`X12ControlNumbers <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12controlnumbers.html>`__
131+
"""
132+
133+
props: PropsDictType = {
134+
"StartingFunctionalGroupControlNumber": (double, False),
135+
"StartingInterchangeControlNumber": (double, False),
136+
"StartingTransactionSetControlNumber": (double, False),
137+
}
138+
139+
85140
class X12Delimiters(AWSProperty):
86141
"""
87142
`X12Delimiters <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12delimiters.html>`__
@@ -128,8 +183,10 @@ class X12OutboundEdiHeaders(AWSProperty):
128183
"""
129184

130185
props: PropsDictType = {
186+
"ControlNumbers": (X12ControlNumbers, False),
131187
"Delimiters": (X12Delimiters, False),
132188
"FunctionalGroupHeaders": (X12FunctionalGroupHeaders, False),
189+
"Gs05TimeFormat": (str, False),
133190
"InterchangeControlHeaders": (X12InterchangeControlHeaders, False),
134191
"ValidateEdi": (boolean, False),
135192
}
@@ -142,6 +199,7 @@ class X12Envelope(AWSProperty):
142199

143200
props: PropsDictType = {
144201
"Common": (X12OutboundEdiHeaders, False),
202+
"WrapOptions": (WrapOptions, False),
145203
}
146204

147205

@@ -161,6 +219,7 @@ class CapabilityOptions(AWSProperty):
161219
"""
162220

163221
props: PropsDictType = {
222+
"InboundEdi": (InboundEdiOptions, False),
164223
"OutboundEdi": (OutboundEdiOptions, False),
165224
}
166225

@@ -200,6 +259,36 @@ class Profile(AWSObject):
200259
}
201260

202261

262+
class X12SplitOptions(AWSProperty):
263+
"""
264+
`X12SplitOptions <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12splitoptions.html>`__
265+
"""
266+
267+
props: PropsDictType = {
268+
"SplitBy": (str, False),
269+
}
270+
271+
272+
class X12AdvancedOptions(AWSProperty):
273+
"""
274+
`X12AdvancedOptions <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12advancedoptions.html>`__
275+
"""
276+
277+
props: PropsDictType = {
278+
"SplitOptions": (X12SplitOptions, False),
279+
}
280+
281+
282+
class AdvancedOptions(AWSProperty):
283+
"""
284+
`AdvancedOptions <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-advancedoptions.html>`__
285+
"""
286+
287+
props: PropsDictType = {
288+
"X12": (X12AdvancedOptions, False),
289+
}
290+
291+
203292
class FormatOptions(AWSProperty):
204293
"""
205294
`FormatOptions <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-formatoptions.html>`__
@@ -216,6 +305,7 @@ class InputConversion(AWSProperty):
216305
"""
217306

218307
props: PropsDictType = {
308+
"AdvancedOptions": (AdvancedOptions, False),
219309
"FormatOptions": (FormatOptions, False),
220310
"FromFormat": (str, True),
221311
}

troposphere/batch.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class LaunchTemplateSpecificationOverride(AWSProperty):
3737
"LaunchTemplateId": (str, False),
3838
"LaunchTemplateName": (str, False),
3939
"TargetInstanceTypes": ([str], False),
40+
"UserdataType": (str, False),
4041
"Version": (str, False),
4142
}
4243

@@ -50,6 +51,7 @@ class LaunchTemplateSpecification(AWSProperty):
5051
"LaunchTemplateId": (str, False),
5152
"LaunchTemplateName": (str, False),
5253
"Overrides": ([LaunchTemplateSpecificationOverride], False),
54+
"UserdataType": (str, False),
5355
"Version": (str, False),
5456
}
5557

troposphere/bedrock.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1933,6 +1933,16 @@ class ContextualGroundingPolicyConfig(AWSProperty):
19331933
}
19341934

19351935

1936+
class GuardrailCrossRegionConfig(AWSProperty):
1937+
"""
1938+
`GuardrailCrossRegionConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-guardrailcrossregionconfig.html>`__
1939+
"""
1940+
1941+
props: PropsDictType = {
1942+
"GuardrailProfileArn": (str, True),
1943+
}
1944+
1945+
19361946
class PiiEntityConfig(AWSProperty):
19371947
"""
19381948
`PiiEntityConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-piientityconfig.html>`__
@@ -2054,6 +2064,7 @@ class Guardrail(AWSObject):
20542064
"BlockedOutputsMessaging": (str, True),
20552065
"ContentPolicyConfig": (ContentPolicyConfig, False),
20562066
"ContextualGroundingPolicyConfig": (ContextualGroundingPolicyConfig, False),
2067+
"CrossRegionConfig": (GuardrailCrossRegionConfig, False),
20572068
"Description": (str, False),
20582069
"KmsKeyArn": (str, False),
20592070
"Name": (str, True),

troposphere/cloudfront.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ class S3OriginConfig(AWSProperty):
465465

466466
props: PropsDictType = {
467467
"OriginAccessIdentity": (str, False),
468+
"OriginReadTimeout": (integer, False),
468469
}
469470

470471

@@ -495,6 +496,7 @@ class Origin(AWSProperty):
495496
"OriginCustomHeaders": ([OriginCustomHeader], False),
496497
"OriginPath": (str, False),
497498
"OriginShield": (OriginShield, False),
499+
"ResponseCompletionTimeout": (integer, False),
498500
"S3OriginConfig": (S3OriginConfig, False),
499501
"VpcOriginConfig": (VpcOriginConfig, False),
500502
}

troposphere/connect.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,6 +1018,16 @@ class ViewVersion(AWSObject):
10181018
}
10191019

10201020

1021+
class AutoEvaluationConfiguration(AWSProperty):
1022+
"""
1023+
`AutoEvaluationConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-evaluationform-autoevaluationconfiguration.html>`__
1024+
"""
1025+
1026+
props: PropsDictType = {
1027+
"Enabled": (boolean, False),
1028+
}
1029+
1030+
10211031
class FieldValue(AWSProperty):
10221032
"""
10231033
`FieldValue <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-fieldvalue.html>`__

troposphere/connectcampaignsv2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ class CommunicationLimitsConfig(AWSProperty):
186186

187187
props: PropsDictType = {
188188
"AllChannelsSubtypes": (CommunicationLimits, False),
189+
"InstanceLimitsHandling": (str, False),
189190
}
190191

191192

troposphere/datazone.py

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -780,6 +780,68 @@ class ProjectMembership(AWSObject):
780780
}
781781

782782

783+
class AwsAccount(AWSProperty):
784+
"""
785+
`AwsAccount <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-projectprofile-awsaccount.html>`__
786+
"""
787+
788+
props: PropsDictType = {
789+
"AwsAccountId": (str, True),
790+
}
791+
792+
793+
class EnvironmentConfigurationParameter(AWSProperty):
794+
"""
795+
`EnvironmentConfigurationParameter <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-projectprofile-environmentconfigurationparameter.html>`__
796+
"""
797+
798+
props: PropsDictType = {
799+
"IsEditable": (boolean, False),
800+
"Name": (str, False),
801+
"Value": (str, False),
802+
}
803+
804+
805+
class EnvironmentConfigurationParametersDetails(AWSProperty):
806+
"""
807+
`EnvironmentConfigurationParametersDetails <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-projectprofile-environmentconfigurationparametersdetails.html>`__
808+
"""
809+
810+
props: PropsDictType = {
811+
"ParameterOverrides": ([EnvironmentConfigurationParameter], False),
812+
"ResolvedParameters": ([EnvironmentConfigurationParameter], False),
813+
"SsmPath": (str, False),
814+
}
815+
816+
817+
class Region(AWSProperty):
818+
"""
819+
`Region <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-projectprofile-region.html>`__
820+
"""
821+
822+
props: PropsDictType = {
823+
"RegionName": (str, True),
824+
}
825+
826+
827+
class EnvironmentConfiguration(AWSProperty):
828+
"""
829+
`EnvironmentConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-projectprofile-environmentconfiguration.html>`__
830+
"""
831+
832+
props: PropsDictType = {
833+
"AwsAccount": (AwsAccount, False),
834+
"AwsRegion": (Region, True),
835+
"ConfigurationParameters": (EnvironmentConfigurationParametersDetails, False),
836+
"DeploymentMode": (str, False),
837+
"DeploymentOrder": (double, False),
838+
"Description": (str, False),
839+
"EnvironmentBlueprintId": (str, True),
840+
"Id": (str, False),
841+
"Name": (str, True),
842+
}
843+
844+
783845
class ProjectProfile(AWSObject):
784846
"""
785847
`ProjectProfile <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-projectprofile.html>`__
@@ -791,6 +853,7 @@ class ProjectProfile(AWSObject):
791853
"Description": (str, False),
792854
"DomainIdentifier": (str, False),
793855
"DomainUnitIdentifier": (str, False),
856+
"EnvironmentConfigurations": ([EnvironmentConfiguration], False),
794857
"Name": (str, True),
795858
"Status": (str, False),
796859
}

troposphere/ecs.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -787,17 +787,6 @@ class EphemeralStorage(AWSProperty):
787787
}
788788

789789

790-
class InferenceAccelerator(AWSProperty):
791-
"""
792-
`InferenceAccelerator <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-inferenceaccelerator.html>`__
793-
"""
794-
795-
props: PropsDictType = {
796-
"DeviceName": (str, False),
797-
"DeviceType": (str, False),
798-
}
799-
800-
801790
class ProxyConfiguration(AWSProperty):
802791
"""
803792
`ProxyConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-proxyconfiguration.html>`__
@@ -928,7 +917,6 @@ class TaskDefinition(AWSObject):
928917
"EphemeralStorage": (EphemeralStorage, False),
929918
"ExecutionRoleArn": (str, False),
930919
"Family": (str, False),
931-
"InferenceAccelerators": ([InferenceAccelerator], False),
932920
"IpcMode": (str, False),
933921
"Memory": (str, False),
934922
"NetworkMode": (str, False),

troposphere/emrserverless.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@ class ConfigurationObject(AWSProperty):
4242
}
4343

4444

45+
class IdentityCenterConfiguration(AWSProperty):
46+
"""
47+
`IdentityCenterConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-identitycenterconfiguration.html>`__
48+
"""
49+
50+
props: PropsDictType = {
51+
"IdentityCenterInstanceArn": (str, False),
52+
}
53+
54+
4555
class ImageConfigurationInput(AWSProperty):
4656
"""
4757
`ImageConfigurationInput <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-imageconfigurationinput.html>`__
@@ -226,6 +236,7 @@ class Application(AWSObject):
226236
"Architecture": (str, False),
227237
"AutoStartConfiguration": (AutoStartConfiguration, False),
228238
"AutoStopConfiguration": (AutoStopConfiguration, False),
239+
"IdentityCenterConfiguration": (IdentityCenterConfiguration, False),
229240
"ImageConfiguration": (ImageConfigurationInput, False),
230241
"InitialCapacity": ([InitialCapacityConfigKeyValuePair], False),
231242
"InteractiveConfiguration": (InteractiveConfiguration, False),

0 commit comments

Comments
 (0)