Skip to content

Commit 7ff77dc

Browse files
Updates from spec version 242.0.0 (#2357)
1 parent ce0b49c commit 7ff77dc

15 files changed

Lines changed: 448 additions & 18 deletions

troposphere/appstream.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,16 @@ class Fleet(AWSObject):
267267
}
268268

269269

270+
class VolumeConfig(AWSProperty):
271+
"""
272+
`VolumeConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-imagebuilder-volumeconfig.html>`__
273+
"""
274+
275+
props: PropsDictType = {
276+
"VolumeSizeInGb": (integer, False),
277+
}
278+
279+
270280
class ImageBuilder(AWSObject):
271281
"""
272282
`ImageBuilder <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-imagebuilder.html>`__
@@ -286,6 +296,9 @@ class ImageBuilder(AWSObject):
286296
"ImageName": (str, False),
287297
"InstanceType": (str, True),
288298
"Name": (str, True),
299+
"RootVolumeConfig": (VolumeConfig, False),
300+
"SoftwaresToInstall": ([str], False),
301+
"SoftwaresToUninstall": ([str], False),
289302
"Tags": (validate_tags_or_list, False),
290303
"VpcConfig": (VpcConfig, False),
291304
}

troposphere/autoscaling.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,7 @@ class AutoScalingGroup(AWSObject):
393393
props: PropsDictType = {
394394
"AutoScalingGroupName": (str, False),
395395
"AvailabilityZoneDistribution": (AvailabilityZoneDistribution, False),
396+
"AvailabilityZoneIds": ([str], False),
396397
"AvailabilityZoneImpairmentPolicy": (AvailabilityZoneImpairmentPolicy, False),
397398
"AvailabilityZones": ([str], False),
398399
"CapacityRebalance": (boolean, False),

troposphere/bedrockagentcore.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,17 @@ class GatewayInterceptorConfiguration(AWSProperty):
330330
}
331331

332332

333+
class GatewayPolicyEngineConfiguration(AWSProperty):
334+
"""
335+
`GatewayPolicyEngineConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-gatewaypolicyengineconfiguration.html>`__
336+
"""
337+
338+
props: PropsDictType = {
339+
"Arn": (str, True),
340+
"Mode": (str, True),
341+
}
342+
343+
333344
class MCPGatewayConfiguration(AWSProperty):
334345
"""
335346
`MCPGatewayConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-mcpgatewayconfiguration.html>`__
@@ -367,6 +378,7 @@ class Gateway(AWSObject):
367378
"InterceptorConfigurations": ([GatewayInterceptorConfiguration], False),
368379
"KmsKeyArn": (str, False),
369380
"Name": (str, True),
381+
"PolicyEngineConfiguration": (GatewayPolicyEngineConfiguration, False),
370382
"ProtocolConfiguration": (GatewayProtocolConfiguration, False),
371383
"ProtocolType": (str, True),
372384
"RoleArn": (str, True),
@@ -1087,6 +1099,7 @@ class OnlineEvaluationConfig(AWSObject):
10871099
"Description": (str, False),
10881100
"EvaluationExecutionRoleArn": (str, True),
10891101
"Evaluators": ([EvaluatorReference], True),
1102+
"ExecutionStatus": (str, False),
10901103
"OnlineEvaluationConfigName": (str, True),
10911104
"Rule": (Rule, True),
10921105
"Tags": (Tags, False),

troposphere/customerprofiles.py

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,54 @@ class ObjectType(AWSObject):
631631
}
632632

633633

634+
class EventParameters(AWSProperty):
635+
"""
636+
`EventParameters <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-recommender-eventparameters.html>`__
637+
"""
638+
639+
props: PropsDictType = {
640+
"EventType": (str, True),
641+
"EventValueThreshold": (double, False),
642+
}
643+
644+
645+
class EventsConfig(AWSProperty):
646+
"""
647+
`EventsConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-recommender-eventsconfig.html>`__
648+
"""
649+
650+
props: PropsDictType = {
651+
"EventParametersList": ([EventParameters], True),
652+
}
653+
654+
655+
class RecommenderConfig(AWSProperty):
656+
"""
657+
`RecommenderConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-recommender-recommenderconfig.html>`__
658+
"""
659+
660+
props: PropsDictType = {
661+
"EventsConfig": (EventsConfig, False),
662+
}
663+
664+
665+
class Recommender(AWSObject):
666+
"""
667+
`Recommender <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-recommender.html>`__
668+
"""
669+
670+
resource_type = "AWS::CustomerProfiles::Recommender"
671+
672+
props: PropsDictType = {
673+
"Description": (str, False),
674+
"DomainName": (str, True),
675+
"RecommenderConfig": (RecommenderConfig, False),
676+
"RecommenderName": (str, True),
677+
"RecommenderRecipeName": (str, True),
678+
"Tags": (Tags, False),
679+
}
680+
681+
634682
class RangeOverride(AWSProperty):
635683
"""
636684
`RangeOverride <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-segmentdefinition-rangeoverride.html>`__
@@ -851,3 +899,43 @@ class DomainStats(AWSProperty):
851899
"ProfileCount": (double, False),
852900
"TotalSize": (double, False),
853901
}
902+
903+
904+
class Metrics(AWSProperty):
905+
"""
906+
`Metrics <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-recommender-metrics.html>`__
907+
"""
908+
909+
props: PropsDictType = {
910+
"coverage": (double, False),
911+
"freshness": (double, False),
912+
"hit": (double, False),
913+
"popularity": (double, False),
914+
"recall": (double, False),
915+
"similarity": (double, False),
916+
}
917+
918+
919+
class RecommenderUpdate(AWSProperty):
920+
"""
921+
`RecommenderUpdate <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-recommender-recommenderupdate.html>`__
922+
"""
923+
924+
props: PropsDictType = {
925+
"CreationDateTime": (str, False),
926+
"FailureReason": (str, False),
927+
"LastUpdatedDateTime": (str, False),
928+
"RecommenderConfig": (RecommenderConfig, False),
929+
"Status": (str, False),
930+
}
931+
932+
933+
class TrainingMetrics(AWSProperty):
934+
"""
935+
`TrainingMetrics <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-recommender-trainingmetrics.html>`__
936+
"""
937+
938+
props: PropsDictType = {
939+
"Metrics": (Metrics, False),
940+
"Time": (str, False),
941+
}

troposphere/devopsagent.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# *** Do not modify - this file is autogenerated ***
77

88

9-
from . import AWSObject, AWSProperty, PropsDictType
9+
from . import AWSObject, AWSProperty, PropsDictType, Tags
1010
from .validators import boolean
1111

1212

@@ -56,8 +56,10 @@ class AgentSpace(AWSObject):
5656

5757
props: PropsDictType = {
5858
"Description": (str, False),
59+
"KmsKeyArn": (str, False),
5960
"Name": (str, True),
6061
"OperatorApp": (OperatorApp, False),
62+
"Tags": (Tags, False),
6163
}
6264

6365

@@ -503,8 +505,10 @@ class Service(AWSObject):
503505
resource_type = "AWS::DevOpsAgent::Service"
504506

505507
props: PropsDictType = {
508+
"KmsKeyArn": (str, False),
506509
"ServiceDetails": (ServiceDetails, False),
507510
"ServiceType": (str, True),
511+
"Tags": (Tags, False),
508512
}
509513

510514

troposphere/dlm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ class FastRestoreRule(AWSProperty):
215215
"""
216216

217217
props: PropsDictType = {
218+
"AvailabilityZoneIds": ([str], False),
218219
"AvailabilityZones": ([str], False),
219220
"Count": (integer, False),
220221
"Interval": (integer, False),

troposphere/ec2.py

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,16 @@ class OnDemandOptionsRequest(AWSProperty):
620620
}
621621

622622

623+
class ReservedCapacityOptionsRequest(AWSProperty):
624+
"""
625+
`ReservedCapacityOptionsRequest <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-reservedcapacityoptionsrequest.html>`__
626+
"""
627+
628+
props: PropsDictType = {
629+
"ReservationTypes": ([str], False),
630+
}
631+
632+
623633
class CapacityRebalance(AWSProperty):
624634
"""
625635
`CapacityRebalance <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-capacityrebalance.html>`__
@@ -685,6 +695,7 @@ class EC2Fleet(AWSObject):
685695
"LaunchTemplateConfigs": ([FleetLaunchTemplateConfigRequest], True),
686696
"OnDemandOptions": (OnDemandOptionsRequest, False),
687697
"ReplaceUnhealthyInstances": (boolean, False),
698+
"ReservedCapacityOptions": (ReservedCapacityOptionsRequest, False),
688699
"SpotOptions": (SpotOptionsRequest, False),
689700
"TagSpecifications": ([TagSpecifications], False),
690701
"TargetCapacitySpecification": (TargetCapacitySpecificationRequest, True),
@@ -2699,6 +2710,19 @@ class SpotFleet(AWSObject):
26992710
}
27002711

27012712

2713+
class SqlHaStandbyDetectedInstance(AWSObject):
2714+
"""
2715+
`SqlHaStandbyDetectedInstance <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-sqlhastandbydetectedinstance.html>`__
2716+
"""
2717+
2718+
resource_type = "AWS::EC2::SqlHaStandbyDetectedInstance"
2719+
2720+
props: PropsDictType = {
2721+
"InstanceId": (str, True),
2722+
"SqlServerCredentials": (str, False),
2723+
}
2724+
2725+
27022726
class PrivateDnsNameOptionsOnLaunch(AWSProperty):
27032727
"""
27042728
`PrivateDnsNameOptionsOnLaunch <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-subnet-privatednsnameoptionsonlaunch.html>`__
@@ -4011,6 +4035,28 @@ class Ingress(AWSProperty):
40114035
}
40124036

40134037

4038+
class InstanceConnectEndpointDnsNames(AWSProperty):
4039+
"""
4040+
`InstanceConnectEndpointDnsNames <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instanceconnectendpoint-instanceconnectendpointdnsnames.html>`__
4041+
"""
4042+
4043+
props: PropsDictType = {
4044+
"DnsName": (str, False),
4045+
"FipsDnsName": (str, False),
4046+
}
4047+
4048+
4049+
class InstanceConnectEndpointPublicDnsNames(AWSProperty):
4050+
"""
4051+
`InstanceConnectEndpointPublicDnsNames <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instanceconnectendpoint-instanceconnectendpointpublicdnsnames.html>`__
4052+
"""
4053+
4054+
props: PropsDictType = {
4055+
"Dualstack": (InstanceConnectEndpointDnsNames, False),
4056+
"Ipv4": (InstanceConnectEndpointDnsNames, False),
4057+
}
4058+
4059+
40144060
class MountPoint(AWSProperty):
40154061
"""
40164062
`MountPoint <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-volume.html>`__

troposphere/ecs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ class InstanceLaunchTemplate(AWSProperty):
241241
"CapacityReservations": (CapacityReservationRequest, False),
242242
"Ec2InstanceProfileArn": (str, True),
243243
"FipsEnabled": (boolean, False),
244+
"InstanceMetadataTagsPropagation": (boolean, False),
244245
"InstanceRequirements": (InstanceRequirementsRequest, False),
245246
"Monitoring": (str, False),
246247
"NetworkConfiguration": (ManagedInstancesNetworkConfiguration, True),

0 commit comments

Comments
 (0)