Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Updates from spec version 180.0.0 #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions troposphere/amazonmq.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ class Broker(AWSObject):

props: PropsDictType = {
"AuthenticationStrategy": (str, False),
"AutoMinorVersionUpgrade": (boolean, True),
"AutoMinorVersionUpgrade": (boolean, False),
"BrokerName": (str, True),
"Configuration": (ConfigurationId, False),
"DataReplicationMode": (str, False),
"DataReplicationPrimaryBrokerArn": (str, False),
"DeploymentMode": (str, True),
"EncryptionOptions": (EncryptionOptions, False),
"EngineType": (str, True),
"EngineVersion": (str, True),
"EngineVersion": (str, False),
"HostInstanceType": (str, True),
"LdapServerMetadata": (LdapServerMetadata, False),
"Logs": (LogsConfiguration, False),
Expand All @@ -133,7 +133,7 @@ class Configuration(AWSObject):
"Data": (str, True),
"Description": (str, False),
"EngineType": (str, True),
"EngineVersion": (str, True),
"EngineVersion": (str, False),
"Name": (str, True),
"Tags": (Tags, False),
}
Expand Down
33 changes: 30 additions & 3 deletions troposphere/autoscaling.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,16 +582,43 @@ class StepAdjustments(AWSProperty):
}


class TargetTrackingMetricStat(AWSProperty):
"""
`TargetTrackingMetricStat <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-targettrackingmetricstat.html>`__
"""

props: PropsDictType = {
"Metric": (Metric, True),
"Stat": (str, True),
"Unit": (str, False),
}


class TargetTrackingMetricDataQuery(AWSProperty):
"""
`TargetTrackingMetricDataQuery <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-targettrackingmetricdataquery.html>`__
"""

props: PropsDictType = {
"Expression": (str, False),
"Id": (str, True),
"Label": (str, False),
"MetricStat": (TargetTrackingMetricStat, False),
"ReturnData": (boolean, False),
}


class CustomizedMetricSpecification(AWSProperty):
"""
`CustomizedMetricSpecification <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-customizedmetricspecification.html>`__
"""

props: PropsDictType = {
"Dimensions": ([MetricDimension], False),
"MetricName": (str, True),
"Namespace": (str, True),
"Statistic": (str, True),
"MetricName": (str, False),
"Metrics": ([TargetTrackingMetricDataQuery], False),
"Namespace": (str, False),
"Statistic": (str, False),
"Unit": (str, False),
}

Expand Down
12 changes: 12 additions & 0 deletions troposphere/bedrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,17 @@ class AgentKnowledgeBase(AWSProperty):
}


class GuardrailConfiguration(AWSProperty):
"""
`GuardrailConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-guardrailconfiguration.html>`__
"""

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


class InferenceConfiguration(AWSProperty):
"""
`InferenceConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-agent-inferenceconfiguration.html>`__
Expand Down Expand Up @@ -161,6 +172,7 @@ class Agent(AWSObject):
"CustomerEncryptionKeyArn": (str, False),
"Description": (str, False),
"FoundationModel": (str, False),
"GuardrailConfiguration": (GuardrailConfiguration, False),
"IdleSessionTTLInSeconds": (double, False),
"Instruction": (str, False),
"KnowledgeBases": ([AgentKnowledgeBase], False),
Expand Down
11 changes: 11 additions & 0 deletions troposphere/codebuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,16 @@ class ProjectSourceVersion(AWSProperty):
}


class ScopeConfiguration(AWSProperty):
"""
`ScopeConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-scopeconfiguration.html>`__
"""

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


class ProjectTriggers(AWSProperty):
"""
`ProjectTriggers <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projecttriggers.html>`__
Expand All @@ -242,6 +252,7 @@ class ProjectTriggers(AWSProperty):
props: PropsDictType = {
"BuildType": (str, False),
"FilterGroups": (list, False),
"ScopeConfiguration": (ScopeConfiguration, False),
"Webhook": (boolean, False),
}

Expand Down
11 changes: 11 additions & 0 deletions troposphere/connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,16 @@ class SendNotificationAction(AWSProperty):
}


class SubmitAutoEvaluationAction(AWSProperty):
"""
`SubmitAutoEvaluationAction <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-submitautoevaluationaction.html>`__
"""

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


class Reference(AWSProperty):
"""
`Reference <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-reference.html>`__
Expand Down Expand Up @@ -546,6 +556,7 @@ class Actions(AWSProperty):
"EndAssociatedTasksActions": (Tags, False),
"EventBridgeActions": ([EventBridgeAction], False),
"SendNotificationActions": ([SendNotificationAction], False),
"SubmitAutoEvaluationActions": ([SubmitAutoEvaluationAction], False),
"TaskActions": ([TaskAction], False),
"UpdateCaseActions": ([UpdateCaseAction], False),
}
Expand Down
21 changes: 20 additions & 1 deletion troposphere/deadline.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# *** Do not modify - this file is autogenerated ***


from . import AWSObject, AWSProperty, PropsDictType
from . import AWSObject, AWSProperty, PropsDictType, Tags
from .validators import double, integer


Expand All @@ -21,6 +21,7 @@ class Farm(AWSObject):
"Description": (str, False),
"DisplayName": (str, True),
"KmsKeyArn": (str, False),
"Tags": (Tags, False),
}


Expand Down Expand Up @@ -198,6 +199,7 @@ class Fleet(AWSObject):
"MaxWorkerCount": (integer, True),
"MinWorkerCount": (integer, False),
"RoleArn": (str, True),
"Tags": (Tags, False),
}


Expand All @@ -211,6 +213,7 @@ class LicenseEndpoint(AWSObject):
props: PropsDictType = {
"SecurityGroupIds": ([str], True),
"SubnetIds": ([str], True),
"Tags": (Tags, False),
"VpcId": (str, True),
}

Expand All @@ -231,6 +234,21 @@ class MeteredProduct(AWSObject):
}


class Monitor(AWSObject):
"""
`Monitor <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-monitor.html>`__
"""

resource_type = "AWS::Deadline::Monitor"

props: PropsDictType = {
"DisplayName": (str, True),
"IdentityCenterInstanceArn": (str, True),
"RoleArn": (str, True),
"Subdomain": (str, True),
}


class JobAttachmentSettings(AWSProperty):
"""
`JobAttachmentSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-queue-jobattachmentsettings.html>`__
Expand Down Expand Up @@ -293,6 +311,7 @@ class Queue(AWSObject):
"JobRunAsUser": (JobRunAsUser, False),
"RequiredFileSystemLocationNames": ([str], False),
"RoleArn": (str, False),
"Tags": (Tags, False),
}


Expand Down
1 change: 0 additions & 1 deletion troposphere/dms.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,6 @@ class ReplicationConfig(AWSObject):

props: PropsDictType = {
"ComputeConfig": (ComputeConfig, False),
"ReplicationConfigArn": (str, False),
"ReplicationConfigIdentifier": (str, False),
"ReplicationSettings": (dict, False),
"ReplicationType": (str, False),
Expand Down
3 changes: 2 additions & 1 deletion troposphere/ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ class CustomerGateway(AWSObject):

props: PropsDictType = {
"BgpAsn": (integer, False),
"BgpAsnExtended": (double, False),
"CertificateArn": (str, False),
"DeviceName": (str, False),
"IpAddress": (str, True),
Expand Down Expand Up @@ -2660,7 +2661,7 @@ class TransitGatewayRoute(AWSObject):

props: PropsDictType = {
"Blackhole": (boolean, False),
"DestinationCidrBlock": (str, False),
"DestinationCidrBlock": (str, True),
"TransitGatewayAttachmentId": (str, False),
"TransitGatewayRouteTableId": (str, True),
}
Expand Down
12 changes: 12 additions & 0 deletions troposphere/ecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,25 @@ class ExecuteCommandConfiguration(AWSProperty):
}


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

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


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

props: PropsDictType = {
"ExecuteCommandConfiguration": (ExecuteCommandConfiguration, False),
"ManagedStorageConfiguration": (ManagedStorageConfiguration, False),
}


Expand Down
13 changes: 13 additions & 0 deletions troposphere/eks.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,17 @@ class AccessEntry(AWSObject):
}


class PodIdentityAssociationProperty(AWSProperty):
"""
`PodIdentityAssociationProperty <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-addon-podidentityassociation.html>`__
"""

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


class Addon(AWSObject):
"""
`Addon <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-addon.html>`__
Expand All @@ -69,6 +80,7 @@ class Addon(AWSObject):
"AddonVersion": (str, False),
"ClusterName": (str, True),
"ConfigurationValues": (str, False),
"PodIdentityAssociations": ([PodIdentityAssociationProperty], False),
"PreserveOnDelete": (boolean, False),
"ResolveConflicts": (str, False),
"ServiceAccountRoleArn": (str, False),
Expand Down Expand Up @@ -198,6 +210,7 @@ class Cluster(AWSObject):

props: PropsDictType = {
"AccessConfig": (AccessConfig, False),
"BootstrapSelfManagedAddons": (boolean, False),
"EncryptionConfig": ([EncryptionConfig], False),
"KubernetesNetworkConfig": (KubernetesNetworkConfig, False),
"Logging": (Logging, False),
Expand Down
1 change: 1 addition & 0 deletions troposphere/emrserverless.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ class WorkerConfiguration(AWSProperty):
props: PropsDictType = {
"Cpu": (str, True),
"Disk": (str, False),
"DiskType": (str, False),
"Memory": (str, True),
}

Expand Down
26 changes: 21 additions & 5 deletions troposphere/firehose.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,18 @@ class HttpEndpointRequestConfiguration(AWSProperty):
}


class SecretsManagerConfiguration(AWSProperty):
"""
`SecretsManagerConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-secretsmanagerconfiguration.html>`__
"""

props: PropsDictType = {
"Enabled": (boolean, True),
"RoleARN": (str, False),
"SecretARN": (str, False),
}


class HttpEndpointDestinationConfiguration(AWSProperty):
"""
`HttpEndpointDestinationConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-httpendpointdestinationconfiguration.html>`__
Expand All @@ -488,6 +500,7 @@ class HttpEndpointDestinationConfiguration(AWSProperty):
"RoleARN": (str, False),
"S3BackupMode": (str, False),
"S3Configuration": (S3DestinationConfiguration, True),
"SecretsManagerConfiguration": (SecretsManagerConfiguration, False),
}


Expand Down Expand Up @@ -556,14 +569,15 @@ class RedshiftDestinationConfiguration(AWSProperty):
"CloudWatchLoggingOptions": (CloudWatchLoggingOptions, False),
"ClusterJDBCURL": (str, True),
"CopyCommand": (CopyCommand, True),
"Password": (str, True),
"Password": (str, False),
"ProcessingConfiguration": (ProcessingConfiguration, False),
"RetryOptions": (RedshiftRetryOptions, False),
"RoleARN": (str, True),
"S3BackupConfiguration": (S3DestinationConfiguration, False),
"S3BackupMode": (str, False),
"S3Configuration": (S3Configuration, True),
"Username": (str, True),
"SecretsManagerConfiguration": (SecretsManagerConfiguration, False),
"Username": (str, False),
}


Expand Down Expand Up @@ -611,17 +625,18 @@ class SnowflakeDestinationConfiguration(AWSProperty):
"Database": (str, True),
"KeyPassphrase": (str, False),
"MetaDataColumnName": (str, False),
"PrivateKey": (str, True),
"PrivateKey": (str, False),
"ProcessingConfiguration": (ProcessingConfiguration, False),
"RetryOptions": (SnowflakeRetryOptions, False),
"RoleARN": (str, True),
"S3BackupMode": (str, False),
"S3Configuration": (S3DestinationConfiguration, True),
"Schema": (str, True),
"SecretsManagerConfiguration": (SecretsManagerConfiguration, False),
"SnowflakeRoleConfiguration": (SnowflakeRoleConfiguration, False),
"SnowflakeVpcConfiguration": (SnowflakeVpcConfiguration, False),
"Table": (str, True),
"User": (str, True),
"User": (str, False),
}


Expand Down Expand Up @@ -657,11 +672,12 @@ class SplunkDestinationConfiguration(AWSProperty):
"HECAcknowledgmentTimeoutInSeconds": (integer, False),
"HECEndpoint": (str, True),
"HECEndpointType": (str, True),
"HECToken": (str, True),
"HECToken": (str, False),
"ProcessingConfiguration": (ProcessingConfiguration, False),
"RetryOptions": (SplunkRetryOptions, False),
"S3BackupMode": (str, False),
"S3Configuration": (S3DestinationConfiguration, True),
"SecretsManagerConfiguration": (SecretsManagerConfiguration, False),
}


Expand Down
Loading