Skip to content
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

Updates from spec version 136.0.0 #2175

Merged
merged 1 commit into from
Aug 17, 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
Diff view
1 change: 1 addition & 0 deletions troposphere/backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ class BackupRuleResourceType(AWSProperty):
"RecoveryPointTags": (dict, False),
"RuleName": (str, True),
"ScheduleExpression": (str, False),
"ScheduleExpressionTimezone": (str, False),
"StartWindowMinutes": (double, False),
"TargetBackupVault": (str, True),
}
Expand Down
1 change: 1 addition & 0 deletions troposphere/cloudformation.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ class DeploymentTargets(AWSProperty):
props: PropsDictType = {
"AccountFilterType": (str, False),
"Accounts": ([str], False),
"AccountsUrl": (str, False),
"OrganizationalUnitIds": ([str], False),
}

Expand Down
16 changes: 16 additions & 0 deletions troposphere/ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1093,6 +1093,22 @@ class Instance(AWSObject):
}


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

resource_type = "AWS::EC2::InstanceConnectEndpoint"

props: PropsDictType = {
"ClientToken": (str, False),
"PreserveClientIp": (boolean, False),
"SecurityGroupIds": ([str], False),
"SubnetId": (str, True),
"Tags": (Tags, False),
}


class InternetGateway(AWSObject):
"""
`InternetGateway <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-internetgateway.html>`__
Expand Down
1 change: 1 addition & 0 deletions troposphere/ecr.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ class Repository(AWSObject):
resource_type = "AWS::ECR::Repository"

props: PropsDictType = {
"EmptyOnDelete": (boolean, False),
"EncryptionConfiguration": (EncryptionConfiguration, False),
"ImageScanningConfiguration": (ImageScanningConfiguration, False),
"ImageTagMutability": (str, False),
Expand Down
4 changes: 2 additions & 2 deletions troposphere/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ class Connection(AWSObject):
resource_type = "AWS::Events::Connection"

props: PropsDictType = {
"AuthParameters": (AuthParameters, True),
"AuthorizationType": (str, True),
"AuthParameters": (AuthParameters, False),
"AuthorizationType": (str, False),
"Description": (str, False),
"Name": (str, False),
}
Expand Down
4 changes: 4 additions & 0 deletions troposphere/fsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,11 @@ class OpenZFSConfiguration(AWSProperty):
"DailyAutomaticBackupStartTime": (str, False),
"DeploymentType": (str, True),
"DiskIopsConfiguration": (DiskIopsConfiguration, False),
"EndpointIpAddressRange": (str, False),
"Options": ([str], False),
"PreferredSubnetId": (str, False),
"RootVolumeConfiguration": (RootVolumeConfiguration, False),
"RouteTableIds": ([str], False),
"ThroughputCapacity": (integer, False),
"WeeklyMaintenanceStartTime": (str, False),
}
Expand Down Expand Up @@ -229,6 +232,7 @@ class WindowsConfiguration(AWSProperty):
"CopyTagsToBackups": (boolean, False),
"DailyAutomaticBackupStartTime": (str, False),
"DeploymentType": (str, False),
"DiskIopsConfiguration": (DiskIopsConfiguration, False),
"PreferredSubnetId": (str, False),
"SelfManagedActiveDirectoryConfiguration": (
SelfManagedActiveDirectoryConfiguration,
Expand Down
77 changes: 77 additions & 0 deletions troposphere/mediatailor.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,83 @@ class PlaybackConfiguration(AWSObject):
}


class SecretsManagerAccessTokenConfiguration(AWSProperty):
"""
`SecretsManagerAccessTokenConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-sourcelocation-secretsmanageraccesstokenconfiguration.html>`__
"""

props: PropsDictType = {
"HeaderName": (str, False),
"SecretArn": (str, False),
"SecretStringKey": (str, False),
}


class AccessConfiguration(AWSProperty):
"""
`AccessConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-sourcelocation-accessconfiguration.html>`__
"""

props: PropsDictType = {
"AccessType": (str, False),
"SecretsManagerAccessTokenConfiguration": (
SecretsManagerAccessTokenConfiguration,
False,
),
}


class DefaultSegmentDeliveryConfiguration(AWSProperty):
"""
`DefaultSegmentDeliveryConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-sourcelocation-defaultsegmentdeliveryconfiguration.html>`__
"""

props: PropsDictType = {
"BaseUrl": (str, False),
}


class HttpConfiguration(AWSProperty):
"""
`HttpConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-sourcelocation-httpconfiguration.html>`__
"""

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


class SegmentDeliveryConfiguration(AWSProperty):
"""
`SegmentDeliveryConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-sourcelocation-segmentdeliveryconfiguration.html>`__
"""

props: PropsDictType = {
"BaseUrl": (str, False),
"Name": (str, False),
}


class SourceLocation(AWSObject):
"""
`SourceLocation <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-sourcelocation.html>`__
"""

resource_type = "AWS::MediaTailor::SourceLocation"

props: PropsDictType = {
"AccessConfiguration": (AccessConfiguration, False),
"DefaultSegmentDeliveryConfiguration": (
DefaultSegmentDeliveryConfiguration,
False,
),
"HttpConfiguration": (HttpConfiguration, True),
"SegmentDeliveryConfigurations": ([SegmentDeliveryConfiguration], False),
"SourceLocationName": (str, True),
"Tags": (Tags, False),
}


class VodSource(AWSObject):
"""
`VodSource <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-vodsource.html>`__
Expand Down
16 changes: 16 additions & 0 deletions troposphere/route53resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,22 @@ class FirewallRuleGroupAssociation(AWSObject):
}


class OutpostResolver(AWSObject):
"""
`OutpostResolver <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-outpostresolver.html>`__
"""

resource_type = "AWS::Route53Resolver::OutpostResolver"

props: PropsDictType = {
"InstanceCount": (integer, False),
"Name": (str, True),
"OutpostArn": (str, True),
"PreferredInstanceType": (str, True),
"Tags": (Tags, False),
}


class ResolverConfig(AWSObject):
"""
`ResolverConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverconfig.html>`__
Expand Down