Skip to content

Commit b95e52c

Browse files
Updates from spec version 211.0.0 (#2326)
1 parent c815150 commit b95e52c

16 files changed

Lines changed: 540 additions & 84 deletions

troposphere/aps.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@
1010
from .validators import integer
1111

1212

13+
class ResourcePolicy(AWSObject):
14+
"""
15+
`ResourcePolicy <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-resourcepolicy.html>`__
16+
"""
17+
18+
resource_type = "AWS::APS::ResourcePolicy"
19+
20+
props: PropsDictType = {
21+
"PolicyDocument": (str, True),
22+
"WorkspaceArn": (str, True),
23+
}
24+
25+
1326
class RuleGroupsNamespace(AWSObject):
1427
"""
1528
`RuleGroupsNamespace <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-rulegroupsnamespace.html>`__

troposphere/b2bi.py

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,13 +269,74 @@ class X12SplitOptions(AWSProperty):
269269
}
270270

271271

272+
class X12CodeListValidationRule(AWSProperty):
273+
"""
274+
`X12CodeListValidationRule <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12codelistvalidationrule.html>`__
275+
"""
276+
277+
props: PropsDictType = {
278+
"CodesToAdd": ([str], False),
279+
"CodesToRemove": ([str], False),
280+
"ElementId": (str, True),
281+
}
282+
283+
284+
class X12ElementLengthValidationRule(AWSProperty):
285+
"""
286+
`X12ElementLengthValidationRule <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12elementlengthvalidationrule.html>`__
287+
"""
288+
289+
props: PropsDictType = {
290+
"ElementId": (str, True),
291+
"MaxLength": (double, True),
292+
"MinLength": (double, True),
293+
}
294+
295+
296+
class X12ElementRequirementValidationRule(AWSProperty):
297+
"""
298+
`X12ElementRequirementValidationRule <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12elementrequirementvalidationrule.html>`__
299+
"""
300+
301+
props: PropsDictType = {
302+
"ElementPosition": (str, True),
303+
"Requirement": (str, True),
304+
}
305+
306+
307+
class X12ValidationRule(AWSProperty):
308+
"""
309+
`X12ValidationRule <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12validationrule.html>`__
310+
"""
311+
312+
props: PropsDictType = {
313+
"CodeListValidationRule": (X12CodeListValidationRule, False),
314+
"ElementLengthValidationRule": (X12ElementLengthValidationRule, False),
315+
"ElementRequirementValidationRule": (
316+
X12ElementRequirementValidationRule,
317+
False,
318+
),
319+
}
320+
321+
322+
class X12ValidationOptions(AWSProperty):
323+
"""
324+
`X12ValidationOptions <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12validationoptions.html>`__
325+
"""
326+
327+
props: PropsDictType = {
328+
"ValidationRules": ([X12ValidationRule], False),
329+
}
330+
331+
272332
class X12AdvancedOptions(AWSProperty):
273333
"""
274334
`X12AdvancedOptions <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-x12advancedoptions.html>`__
275335
"""
276336

277337
props: PropsDictType = {
278338
"SplitOptions": (X12SplitOptions, False),
339+
"ValidationOptions": (X12ValidationOptions, False),
279340
}
280341

281342

@@ -328,6 +389,7 @@ class OutputConversion(AWSProperty):
328389
"""
329390

330391
props: PropsDictType = {
392+
"AdvancedOptions": (AdvancedOptions, False),
331393
"FormatOptions": (FormatOptions, False),
332394
"ToFormat": (str, True),
333395
}

troposphere/budgets.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ class BudgetData(AWSProperty):
131131

132132
props: PropsDictType = {
133133
"AutoAdjustData": (AutoAdjustData, False),
134+
"BillingViewArn": (str, False),
134135
"BudgetLimit": (Spend, False),
135136
"BudgetName": (str, False),
136137
"BudgetType": (str, True),

troposphere/cloudfront.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ class CustomOriginConfig(AWSProperty):
429429
props: PropsDictType = {
430430
"HTTPPort": (validate_network_port, False),
431431
"HTTPSPort": (validate_network_port, False),
432+
"IpAddressType": (str, False),
432433
"OriginKeepaliveTimeout": (integer, False),
433434
"OriginProtocolPolicy": (str, True),
434435
"OriginReadTimeout": (integer, False),

troposphere/codepipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,5 +442,5 @@ class Webhook(AWSObject):
442442
"RegisterWithThirdParty": (boolean, False),
443443
"TargetAction": (str, True),
444444
"TargetPipeline": (str, True),
445-
"TargetPipelineVersion": (integer, True),
445+
"TargetPipelineVersion": (integer, False),
446446
}

troposphere/connect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ class PredefinedAttribute(AWSObject):
347347
props: PropsDictType = {
348348
"InstanceArn": (str, True),
349349
"Name": (str, True),
350-
"Values": (Values, True),
350+
"Values": (Values, False),
351351
}
352352

353353

troposphere/datazone.py

Lines changed: 232 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,238 @@ class Owner(AWSObject):
723723
}
724724

725725

726+
class AddToProjectMemberPoolPolicyGrantDetail(AWSProperty):
727+
"""
728+
`AddToProjectMemberPoolPolicyGrantDetail <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-addtoprojectmemberpoolpolicygrantdetail.html>`__
729+
"""
730+
731+
props: PropsDictType = {
732+
"IncludeChildDomainUnits": (boolean, False),
733+
}
734+
735+
736+
class CreateAssetTypePolicyGrantDetail(AWSProperty):
737+
"""
738+
`CreateAssetTypePolicyGrantDetail <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createassettypepolicygrantdetail.html>`__
739+
"""
740+
741+
props: PropsDictType = {
742+
"IncludeChildDomainUnits": (boolean, False),
743+
}
744+
745+
746+
class CreateDomainUnitPolicyGrantDetail(AWSProperty):
747+
"""
748+
`CreateDomainUnitPolicyGrantDetail <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createdomainunitpolicygrantdetail.html>`__
749+
"""
750+
751+
props: PropsDictType = {
752+
"IncludeChildDomainUnits": (boolean, False),
753+
}
754+
755+
756+
class CreateEnvironmentProfilePolicyGrantDetail(AWSProperty):
757+
"""
758+
`CreateEnvironmentProfilePolicyGrantDetail <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createenvironmentprofilepolicygrantdetail.html>`__
759+
"""
760+
761+
props: PropsDictType = {
762+
"DomainUnitId": (str, False),
763+
}
764+
765+
766+
class CreateFormTypePolicyGrantDetail(AWSProperty):
767+
"""
768+
`CreateFormTypePolicyGrantDetail <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createformtypepolicygrantdetail.html>`__
769+
"""
770+
771+
props: PropsDictType = {
772+
"IncludeChildDomainUnits": (boolean, False),
773+
}
774+
775+
776+
class CreateGlossaryPolicyGrantDetail(AWSProperty):
777+
"""
778+
`CreateGlossaryPolicyGrantDetail <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createglossarypolicygrantdetail.html>`__
779+
"""
780+
781+
props: PropsDictType = {
782+
"IncludeChildDomainUnits": (boolean, False),
783+
}
784+
785+
786+
class CreateProjectFromProjectProfilePolicyGrantDetail(AWSProperty):
787+
"""
788+
`CreateProjectFromProjectProfilePolicyGrantDetail <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createprojectfromprojectprofilepolicygrantdetail.html>`__
789+
"""
790+
791+
props: PropsDictType = {
792+
"IncludeChildDomainUnits": (boolean, False),
793+
"ProjectProfiles": ([str], False),
794+
}
795+
796+
797+
class CreateProjectPolicyGrantDetail(AWSProperty):
798+
"""
799+
`CreateProjectPolicyGrantDetail <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-createprojectpolicygrantdetail.html>`__
800+
"""
801+
802+
props: PropsDictType = {
803+
"IncludeChildDomainUnits": (boolean, False),
804+
}
805+
806+
807+
class OverrideDomainUnitOwnersPolicyGrantDetail(AWSProperty):
808+
"""
809+
`OverrideDomainUnitOwnersPolicyGrantDetail <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-overridedomainunitownerspolicygrantdetail.html>`__
810+
"""
811+
812+
props: PropsDictType = {
813+
"IncludeChildDomainUnits": (boolean, False),
814+
}
815+
816+
817+
class OverrideProjectOwnersPolicyGrantDetail(AWSProperty):
818+
"""
819+
`OverrideProjectOwnersPolicyGrantDetail <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-overrideprojectownerspolicygrantdetail.html>`__
820+
"""
821+
822+
props: PropsDictType = {
823+
"IncludeChildDomainUnits": (boolean, False),
824+
}
825+
826+
827+
class PolicyGrantDetail(AWSProperty):
828+
"""
829+
`PolicyGrantDetail <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantdetail.html>`__
830+
"""
831+
832+
props: PropsDictType = {
833+
"AddToProjectMemberPool": (AddToProjectMemberPoolPolicyGrantDetail, False),
834+
"CreateAssetType": (CreateAssetTypePolicyGrantDetail, False),
835+
"CreateDomainUnit": (CreateDomainUnitPolicyGrantDetail, False),
836+
"CreateEnvironment": (dict, False),
837+
"CreateEnvironmentFromBlueprint": (dict, False),
838+
"CreateEnvironmentProfile": (CreateEnvironmentProfilePolicyGrantDetail, False),
839+
"CreateFormType": (CreateFormTypePolicyGrantDetail, False),
840+
"CreateGlossary": (CreateGlossaryPolicyGrantDetail, False),
841+
"CreateProject": (CreateProjectPolicyGrantDetail, False),
842+
"CreateProjectFromProjectProfile": (
843+
CreateProjectFromProjectProfilePolicyGrantDetail,
844+
False,
845+
),
846+
"DelegateCreateEnvironmentProfile": (dict, False),
847+
"OverrideDomainUnitOwners": (OverrideDomainUnitOwnersPolicyGrantDetail, False),
848+
"OverrideProjectOwners": (OverrideProjectOwnersPolicyGrantDetail, False),
849+
}
850+
851+
852+
class DomainUnitGrantFilter(AWSProperty):
853+
"""
854+
`DomainUnitGrantFilter <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-domainunitgrantfilter.html>`__
855+
"""
856+
857+
props: PropsDictType = {
858+
"AllDomainUnitsGrantFilter": (dict, True),
859+
}
860+
861+
862+
class DomainUnitPolicyGrantPrincipal(AWSProperty):
863+
"""
864+
`DomainUnitPolicyGrantPrincipal <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-domainunitpolicygrantprincipal.html>`__
865+
"""
866+
867+
props: PropsDictType = {
868+
"DomainUnitDesignation": (str, False),
869+
"DomainUnitGrantFilter": (DomainUnitGrantFilter, False),
870+
"DomainUnitIdentifier": (str, False),
871+
}
872+
873+
874+
class GroupPolicyGrantPrincipal(AWSProperty):
875+
"""
876+
`GroupPolicyGrantPrincipal <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-grouppolicygrantprincipal.html>`__
877+
"""
878+
879+
props: PropsDictType = {
880+
"GroupIdentifier": (str, True),
881+
}
882+
883+
884+
class DomainUnitFilterForProject(AWSProperty):
885+
"""
886+
`DomainUnitFilterForProject <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-domainunitfilterforproject.html>`__
887+
"""
888+
889+
props: PropsDictType = {
890+
"DomainUnit": (str, True),
891+
"IncludeChildDomainUnits": (boolean, False),
892+
}
893+
894+
895+
class ProjectGrantFilter(AWSProperty):
896+
"""
897+
`ProjectGrantFilter <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-projectgrantfilter.html>`__
898+
"""
899+
900+
props: PropsDictType = {
901+
"DomainUnitFilter": (DomainUnitFilterForProject, True),
902+
}
903+
904+
905+
class ProjectPolicyGrantPrincipal(AWSProperty):
906+
"""
907+
`ProjectPolicyGrantPrincipal <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-projectpolicygrantprincipal.html>`__
908+
"""
909+
910+
props: PropsDictType = {
911+
"ProjectDesignation": (str, False),
912+
"ProjectGrantFilter": (ProjectGrantFilter, False),
913+
"ProjectIdentifier": (str, False),
914+
}
915+
916+
917+
class UserPolicyGrantPrincipal(AWSProperty):
918+
"""
919+
`UserPolicyGrantPrincipal <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-userpolicygrantprincipal.html>`__
920+
"""
921+
922+
props: PropsDictType = {
923+
"AllUsersGrantFilter": (dict, False),
924+
"UserIdentifier": (str, False),
925+
}
926+
927+
928+
class PolicyGrantPrincipal(AWSProperty):
929+
"""
930+
`PolicyGrantPrincipal <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-policygrant-policygrantprincipal.html>`__
931+
"""
932+
933+
props: PropsDictType = {
934+
"DomainUnit": (DomainUnitPolicyGrantPrincipal, False),
935+
"Group": (GroupPolicyGrantPrincipal, False),
936+
"Project": (ProjectPolicyGrantPrincipal, False),
937+
"User": (UserPolicyGrantPrincipal, False),
938+
}
939+
940+
941+
class PolicyGrant(AWSObject):
942+
"""
943+
`PolicyGrant <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-policygrant.html>`__
944+
"""
945+
946+
resource_type = "AWS::DataZone::PolicyGrant"
947+
948+
props: PropsDictType = {
949+
"Detail": (PolicyGrantDetail, False),
950+
"DomainIdentifier": (str, True),
951+
"EntityIdentifier": (str, True),
952+
"EntityType": (str, True),
953+
"PolicyType": (str, True),
954+
"Principal": (PolicyGrantPrincipal, False),
955+
}
956+
957+
726958
class EnvironmentConfigurationUserParameter(AWSProperty):
727959
"""
728960
`EnvironmentConfigurationUserParameter <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-project-environmentconfigurationuserparameter.html>`__

troposphere/ec2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3327,6 +3327,7 @@ class VPNConnection(AWSObject):
33273327
"LocalIpv4NetworkCidr": (str, False),
33283328
"LocalIpv6NetworkCidr": (str, False),
33293329
"OutsideIpAddressType": (str, False),
3330+
"PreSharedKeyStorage": (str, False),
33303331
"RemoteIpv4NetworkCidr": (str, False),
33313332
"RemoteIpv6NetworkCidr": (str, False),
33323333
"StaticRoutesOnly": (boolean, False),

0 commit comments

Comments
 (0)