8000 Updates from spec version 151.0.0 by github-actions[bot] · Pull Request #2212 · cloudtools/troposphere · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Updates from spec version 151.0.0 #2212

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
4 changes: 2 additions & 2 deletions troposphere/autoscaling.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,14 +219,14 @@ class InstanceRequirements(AWSProperty):
"LocalStorage": (str, False),
"LocalStorageTypes": ([str], False),
"MemoryGiBPerVCpu": (MemoryGiBPerVCpuRequest, False),
"MemoryMiB": (MemoryMiBRequest, False),
"MemoryMiB": (MemoryMiBRequest, True),
"NetworkBandwidthGbps": (NetworkBandwidthGbpsRequest, False),
"NetworkInterfaceCount": (NetworkInterfaceCountRequest, False),
"OnDemandMaxPricePercentageOverLowestPrice": (integer, False),
"RequireHibernateSupport": (boolean, False),
"SpotMaxPricePercentageOverLowestPrice": (integer, False),
"TotalLocalStorageGB": (TotalLocalStorageGBRequest, False),
"VCpuCount": (VCpuCountRequest, False),
"VCpuCount": (VCpuCountRequest, True),
}


Expand Down
1 change: 1 addition & 0 deletions troposphere/codedeploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ class DeploymentGroup(AWSObject):
"OutdatedInstancesStrategy": (str, False),
"ServiceRoleArn": (str, True),
"Tags": (Tags, False),
"TerminationHookEnabled": (boolean, False),
"TriggerConfigurations": ([TriggerConfig], False),
}

Expand Down
35 changes: 20 additions & 15 deletions troposphere/ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ class EBSBlockDevice(AWSProperty):

class BlockDeviceMapping(AWSProperty):
"""
`BlockDeviceMapping <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-blockdev-mapping.html>`__
`BlockDeviceMapping <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-blockdevicemapping.html>`__
"""

props: PropsDictType = {
Expand Down Expand Up @@ -987,7 +987,7 @@ class PrivateIpAddressSpecification(AWSProperty):

class NetworkInterfaceProperty(AWSProperty):
"""
`NetworkInterfaceProperty <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html>`__
`NetworkInterfaceProperty <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-networkinterface.html>`__
"""

props: PropsDictType = {
Expand Down Expand Up @@ -1021,7 +1021,7 @@ class PrivateDnsNameOptions(AWSProperty):

class AssociationParameters(AWSProperty):
"""
`AssociationParameters <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociations-associationparameters.html>`__
`AssociationParameters <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-associationparameter.html>`__
"""

props: PropsDictType = {
Expand All @@ -1032,7 +1032,7 @@ class AssociationParameters(AWSProperty):

class SsmAssociations(AWSProperty):
"""
`SsmAssociations <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociations.html>`__
`SsmAssociations <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociation.html>`__
"""

props: PropsDictType = {
Expand All @@ -1043,7 +1043,7 @@ class SsmAssociations(AWSProperty):

class Instance(AWSObject):
"""
`Instance <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html>`__
`Instance <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html>`__
"""

resource_type = "AWS::EC2::Instance"
Expand Down Expand Up @@ -1947,6 +1947,7 @@ class Route(AWSObject):

props: PropsDictType = {
"CarrierGatewayId": (str, False),
"CoreNetworkArn": (str, False),
"DestinationCidrBlock": (str, False),
"DestinationIpv6CidrBlock": (str, False),
"DestinationPrefixListId": (str, False),
Expand Down Expand Up @@ -2045,6 +2046,18 @@ def validate(self):
validate_security_group_ingress(self)


class SnapshotBlockPublicAccess(AWSObject):
"""
`SnapshotBlockPublicAccess <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-snapshotblockpublicaccess.html>`__
"""

resource_type = "AWS::EC2::SnapshotBlockPublicAccess"

props: PropsDictType = {
"State": (str, True),
}


class IamInstanceProfileSpecification(AWSProperty):
"""
`IamInstanceProfileSpecification <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-iaminstanceprofilespecification.html>`__
Expand Down Expand Up @@ -3196,7 +3209,7 @@ class Ingress(AWSProperty):

class MountPoint(AWSProperty):
"""
`MountPoint <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-mount-point.html>`__
`MountPoint <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-volume.html>`__
"""

props: PropsDictType = {
Expand All @@ -3205,14 +3218,6 @@ class MountPoint(AWSProperty):
}


class NoDevice(AWSProperty):
"""
`NoDevice <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-nodevice.html>`__
"""

props: PropsDictType = {}


class PeeringAttachmentStatus(AWSProperty):
"""
`PeeringAttachmentStatus <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewaypeeringattachment-peeringattachmentstatus.html>`__
Expand Down Expand Up @@ -3263,7 +3268,7 @@ class TransitGatewayRouteTableRoute(AWSProperty):

class VolumeProperty(AWSProperty):
"""
`VolumeProperty <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-mount-point.html>`__
`VolumeProperty <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-volume.html>`__
"""

props: PropsDictType = {
Expand Down
14 changes: 14 additions & 0 deletions troposphere/emr.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,17 @@ class ManagedScalingPolicy(AWSProperty):
}


class PlacementGroupConfig(AWSProperty):
"""
`PlacementGroupConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-placementgroupconfig.html>`__
"""

props: PropsDictType = {
"InstanceRole": (str, True),
"PlacementStrategy": (str, False),
}


class HadoopJarStepConfig(AWSProperty):
"""
`HadoopJarStepConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-step-hadoopjarstepconfig.html>`__
Expand Down Expand Up @@ -412,7 +423,9 @@ class Cluster(AWSObject):
"BootstrapActions": ([BootstrapActionConfig], False),
"Configurations": ([Configuration], False),
"CustomAmiId": (str, False),
"EbsRootVolumeIops": (integer, False),
"EbsRootVolumeSize": (integer, False),
"EbsRootVolumeThroughput": (integer, False),
"Instances": (JobFlowInstancesConfig, True),
"JobFlowRole": (str, True),
"KerberosAttributes": (KerberosAttributes, False),
Expand All @@ -421,6 +434,7 @@ class Cluster(AWSObject):
"ManagedScalingPolicy": (ManagedScalingPolicy, False),
"Name": (str, True),
"OSReleaseLabel": (str, False),
"PlacementGroupConfigs": ([PlacementGroupConfig], False),
"ReleaseLabel": (str, False),
"ScaleDownBehavior": (str, False),
"SecurityConfiguration": (str, False),
Expand Down
1 change: 1 addition & 0 deletions troposphere/gamelift.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ class Fleet(AWSObject):

props: PropsDictType = {
"AnywhereConfiguration": (AnywhereConfiguration, False),
"ApplyCapacity": (str, False),
"BuildId": (str, False),
"CertificateConfiguration": (CertificateConfiguration, False),
"ComputeType": (str, False),
Expand Down
15 changes: 15 additions & 0 deletions troposphere/glue.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,21 @@ class Crawler(AWSObject):
}


class CustomEntityType(AWSObject):
"""
`CustomEntityType <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-customentitytype.html>`__
"""

resource_type = "AWS::Glue::CustomEntityType"

props: PropsDictType = {
"ContextWords": ([str], False),
"Name": (str, False),
"RegexString": (str, False),
"Tags": (dict, False),
}


class ConnectionPasswordEncryption(AWSProperty):
"""
`ConnectionPasswordEncryption <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-datacatalogencryptionsettings-connectionpasswordencryption.html>`__
Expand Down
94 changes: 94 additions & 0 deletions troposphere/sagemaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,93 @@ class DomainSettings(AWSProperty):
}


class CodeEditorAppSettings(AWSProperty):
"""
`CodeEditorAppSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-codeeditorappsettings.html>`__
"""

props: PropsDictType = {
"DefaultResourceSpec": (ResourceSpec, False),
"LifecycleConfigArns": ([str], False),
}


class EFSFileSystemConfig(AWSProperty):
"""
`EFSFileSystemConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-efsfilesystemconfig.html>`__
"""

props: PropsDictType = {
"FileSystemId": (str, True),
"FileSystemPath": (str, False),
}


class CustomFileSystemConfig(AWSProperty):
"""
`CustomFileSystemConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customfilesystemconfig.html>`__
"""

props: PropsDictType = {
"EFSFileSystemConfig": (EFSFileSystemConfig, False),
}


class CustomPosixUserConfig(AWSProperty):
"""
`CustomPosixUserConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customposixuserconfig.html>`__
"""

props: PropsDictType = {
"Gid": (integer, True),
"Uid": (integer, True),
}


class DefaultEbsStorageSettings(AWSProperty):
"""
`DefaultEbsStorageSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-defaultebsstoragesettings.html>`__
"""

props: PropsDictType = {
"DefaultEbsVolumeSizeInGb": (integer, True),
"MaximumEbsVolumeSizeInGb": (integer, True),
}


class DefaultSpaceStorageSettings(AWSProperty):
"""
`DefaultSpaceStorageSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-defaultspacestoragesettings.html>`__
"""

props: PropsDictType = {
"DefaultEbsStorageSettings": (DefaultEbsStorageSettings, False),
}


class CodeRepositoryProperty(AWSProperty):
"""
`CodeRepositoryProperty <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-coderepository.html>`__
"""

props: PropsDictType = {
"RepositoryUrl": (str, True),
}


class JupyterLabAppSettings(AWSProperty):
"""
`JupyterLabAppSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterlabappsettings.html>`__
"""

props: PropsDictType = {
"CodeRepositories": ([CodeRepositoryProperty], False),
"CustomImages": ([CustomImage], False),
"DefaultResourceSpec": (ResourceSpec, False),
"LifecycleConfigArns": ([str], False),
}


class RStudioServerProAppSettings(AWSProperty):
"""
`RStudioServerProAppSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-rstudioserverproappsettings.html>`__
Expand Down Expand Up @@ -495,12 +582,19 @@ class UserSettings(AWSProperty):
"""

props: PropsDictType = {
"CodeEditorAppSettings": (CodeEditorAppSettings, False),
"CustomFileSystemConfigs": ([CustomFileSystemConfig], False),
"CustomPosixUserConfig": (CustomPosixUserConfig, False),
"DefaultLandingUri": (str, False),
"ExecutionRole": (str, False),
"JupyterLabAppSettings": (JupyterLabAppSettings, False),
"JupyterServerAppSettings": (JupyterServerAppSettings, False),
"KernelGatewayAppSettings": (KernelGatewayAppSettings, False),
"RStudioServerProAppSettings": (RStudioServerProAppSettings, False),
"SecurityGroups": ([str], False),
"SharingSettings": (SharingSettings, False),
"SpaceStorageSettings": (DefaultSpaceStorageSettings, False),
"StudioWebPortal": (str, False),
}


Expand Down
0