Skip to content

Commit

Permalink
Updates from spec version 179.0.0 (#2254)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Jun 21, 2024
1 parent 8434387 commit e05bdbc
Show file tree
Hide file tree
Showing 9 changed files with 76 additions and 17 deletions.
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
21 changes: 11 additions & 10 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 Expand Up @@ -398,16 +409,6 @@ class SourceCredential(AWSObject):
}


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

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


class WebhookFilter(AWSProperty):
"""
`WebhookFilter <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-webhookfilter.html>`__
Expand Down
1 change: 1 addition & 0 deletions troposphere/eks.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,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
4 changes: 2 additions & 2 deletions troposphere/guardduty.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ class Filter(AWSObject):
props: PropsDictType = {
"Action": (str, False),
"Description": (str, False),
"DetectorId": (str, False),
"DetectorId": (str, True),
"FindingCriteria": (FindingCriteria, True),
"Name": (str, False),
"Name": (str, True),
"Rank": (integer, False),
"Tags": (Tags, False),
}
Expand Down
14 changes: 14 additions & 0 deletions troposphere/kinesisanalyticsv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@ class ApplicationSnapshotConfiguration(AWSProperty):
}


class ApplicationSystemRollbackConfiguration(AWSProperty):
"""
`ApplicationSystemRollbackConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-applicationsystemrollbackconfiguration.html>`__
"""

props: PropsDictType = {
"RollbackEnabled": (boolean, True),
}


class PropertyGroup(AWSProperty):
"""
`PropertyGroup <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisanalyticsv2-application-propertygroup.html>`__
Expand Down Expand Up @@ -376,6 +386,10 @@ class ApplicationConfiguration(AWSProperty):
props: PropsDictType = {
"ApplicationCodeConfiguration": (ApplicationCodeConfiguration, False),
"ApplicationSnapshotConfiguration": (ApplicationSnapshotConfiguration, False),
"ApplicationSystemRollbackConfiguration": (
ApplicationSystemRollbackConfiguration,
False,
),
"EnvironmentProperties": (EnvironmentProperties, False),
"FlinkApplicationConfiguration": (FlinkApplicationConfiguration, False),
"SqlApplicationConfiguration": (SqlApplicationConfiguration, False),
Expand Down
3 changes: 3 additions & 0 deletions troposphere/rds.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ class DBCluster(AWSObject):
"EnableGlobalWriteForwarding": (boolean, False),
"EnableHttpEndpoint": (boolean, False),
"EnableIAMDatabaseAuthentication": (boolean, False),
"EnableLocalWriteForwarding": (boolean, False),
"Engine": (validate_engine, False),
"EngineLifecycleSupport": (str, False),
"EngineMode": (validate_engine_mode, False),
"EngineVersion": (str, False),
"GlobalClusterIdentifier": (str, False),
Expand Down Expand Up @@ -268,6 +270,7 @@ class DBInstance(AWSObject):
"EnablePerformanceInsights": (boolean, False),
"Endpoint": (Endpoint, False),
"Engine": (validate_engine, False),
"EngineLifecycleSupport": (str, False),
"EngineVersion": (str, False),
"Iops": (validate_iops, False),
"KmsKeyId": (str, False),
Expand Down
11 changes: 11 additions & 0 deletions troposphere/ses.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,16 @@ class CloudWatchDestination(AWSProperty):
}


class EventBridgeDestination(AWSProperty):
"""
`EventBridgeDestination <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-eventbridgedestination.html>`__
"""

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


class KinesisFirehoseDestination(AWSProperty):
"""
`KinesisFirehoseDestination <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationseteventdestination-kinesisfirehosedestination.html>`__
Expand Down Expand Up @@ -161,6 +171,7 @@ class EventDestination(AWSProperty):
props: PropsDictType = {
"CloudWatchDestination": (CloudWatchDestination, False),
"Enabled": (boolean, False),
"EventBridgeDestination": (EventBridgeDestination, False),
"KinesisFirehoseDestination": (KinesisFirehoseDestination, False),
"MatchingEventTypes": ([str], True),
"Name": (str, False),
Expand Down

0 comments on commit e05bdbc

Please sign in to comment.