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

Automated SDK generation @ aws-cloudformation-user-guide 19dc52cd3f2007d6d268b65b739ffb5ebf8c1e76 #1958

Merged
merged 3 commits into from
Jan 2, 2025
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
2 changes: 1 addition & 1 deletion .docs.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7f50f4a842f41ac282ea01697add833b174d4838
209eb2812860ebcaae26946768d8bb066d64a1a8
119 changes: 118 additions & 1 deletion aws-cloudformation-schema/aws-dms-dataprovider.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@
"DmsSslModeValue" : {
"type" : "string",
"enum" : [ "none", "require", "verify-ca", "verify-full" ]
},
"MongoDbSslModeValue" : {
"type" : "string",
"enum" : [ "none", "require", "verify-full" ]
},
"MongoDbAuthType" : {
"type" : "string",
"enum" : [ "no", "password" ]
},
"MongoDbAuthMechanism" : {
"type" : "string",
"enum" : [ "default", "mongodb_cr", "scram_sha_1" ]
}
},
"properties" : {
Expand Down Expand Up @@ -70,7 +82,7 @@
"Engine" : {
"description" : "The property describes a data engine for the data provider.",
"type" : "string",
"enum" : [ "postgres", "mysql", "oracle", "sqlserver", "aurora", "aurora_postgresql" ]
"enum" : [ "aurora", "aurora_postgresql", "mysql", "oracle", "postgres", "sqlserver", "redshift", "mariadb", "mongodb", "docdb" ]
},
"ExactSettings" : {
"description" : "The property describes the exact settings which can be modified",
Expand Down Expand Up @@ -188,6 +200,103 @@
},
"required" : [ "ServerName", "Port", "SslMode", "DatabaseName" ],
"additionalProperties" : false
},
"RedshiftSettings" : {
"description" : "RedshiftSettings property identifier.",
"type" : "object",
"properties" : {
"ServerName" : {
"type" : "string"
},
"Port" : {
"type" : "integer"
},
"DatabaseName" : {
"type" : "string"
}
},
"required" : [ "ServerName", "Port", "DatabaseName" ],
"additionalProperties" : false
},
"MariaDbSettings" : {
"description" : "MariaDbSettings property identifier.",
"type" : "object",
"properties" : {
"ServerName" : {
"type" : "string"
},
"Port" : {
"type" : "integer"
},
"SslMode" : {
"type" : "object",
"$ref" : "#/definitions/DmsSslModeValue"
},
"CertificateArn" : {
"type" : "string"
}
},
"required" : [ "ServerName", "Port", "SslMode" ],
"additionalProperties" : false
},
"DocDbSettings" : {
"description" : "DocDbSettings property identifier.",
"type" : "object",
"properties" : {
"ServerName" : {
"type" : "string"
},
"Port" : {
"type" : "integer"
},
"DatabaseName" : {
"type" : "string"
},
"SslMode" : {
"type" : "object",
"$ref" : "#/definitions/MongoDbSslModeValue"
},
"CertificateArn" : {
"type" : "string"
}
},
"required" : [ "ServerName", "Port", "DatabaseName" ],
"additionalProperties" : false
},
"MongoDbSettings" : {
"description" : "MongoDbSettings property identifier.",
"type" : "object",
"properties" : {
"ServerName" : {
"type" : "string"
},
"Port" : {
"type" : "integer"
},
"DatabaseName" : {
"type" : "string"
},
"SslMode" : {
"type" : "object",
"$ref" : "#/definitions/MongoDbSslModeValue"
},
"CertificateArn" : {
"type" : "string"
},
"AuthType" : {
"type" : "object",
"$ref" : "#/definitions/MongoDbAuthType"
},
"AuthSource" : {
"type" : "string"
},
"AuthMechanism" : {
"type" : "object",
"$ref" : "#/definitions/MongoDbAuthMechanism"
}
},
"required" : [ "ServerName", "Port" ],
"additionalProperties" : false
}
},
"anyOf" : [ {
Expand All @@ -198,6 +307,14 @@
"required" : [ "OracleSettings" ]
}, {
"required" : [ "MicrosoftSqlServerSettings" ]
}, {
"required" : [ "RedshiftSettings" ]
}, {
"required" : [ "DocDbSettings" ]
}, {
"required" : [ "MariaDbSettings" ]
}, {
"required" : [ "MongoDbSettings" ]
} ],
"additionalProperties" : false
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@
"TagsMap" : {
"type" : "object",
"patternProperties" : {
"^[A-Za-z0-9+=@_\\/:.-]+$" : {
"^[A-Za-z0-9 +=@_\\/:.-]+$" : {
"type" : "string",
"maxLength" : 256,
"minLength" : 1,
"pattern" : "^[A-Za-z0-9+=@_\\/:.-]+$"
"pattern" : "^[A-Za-z0-9 +=@_\\/:.-]+$"
}
},
"additionalProperties" : false
Expand Down
6 changes: 5 additions & 1 deletion aws-cloudformation-schema/aws-synthetics-canary.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@
"items" : {
"type" : "string"
}
},
"Ipv6AllowedForDualStack" : {
"description" : "Allow outbound IPv6 traffic on VPC canaries that are connected to dual-stack subnets if set to true",
"type" : "boolean"
}
},
"required" : [ "SubnetIds", "SecurityGroupIds" ]
Expand Down Expand Up @@ -279,7 +283,7 @@
"permissions" : [ "synthetics:CreateCanary", "synthetics:StartCanary", "synthetics:GetCanary", "synthetics:TagResource", "s3:CreateBucket", "s3:GetObject", "s3:GetObjectVersion", "s3:PutBucketEncryption", "s3:PutEncryptionConfiguration", "s3:GetBucketLocation", "lambda:CreateFunction", "lambda:AddPermission", "lambda:PublishVersion", "lambda:UpdateFunctionCode", "lambda:UpdateFunctionConfiguration", "lambda:GetFunctionConfiguration", "lambda:GetLayerVersionByArn", "lambda:GetLayerVersion", "lambda:PublishLayerVersion", "lambda:TagResource", "ec2:DescribeVpcs", "ec2:DescribeSubnets", "ec2:DescribeSecurityGroups", "iam:PassRole" ]
},
"update" : {
"permissions" : [ "synthetics:UpdateCanary", "synthetics:StartCanary", "synthetics:StopCanary", "synthetics:GetCanary", "synthetics:TagResource", "synthetics:UntagResource", "s3:GetObject", "s3:GetObjectVersion", "s3:PutBucketEncryption", "s3:PutEncryptionConfiguration", "s3:GetBucketLocation", "lambda:AddPermission", "lambda:PublishVersion", "lambda:UpdateFunctionCode", "lambda:UpdateFunctionConfiguration", "lambda:GetFunctionConfiguration", "lambda:GetLayerVersionByArn", "lambda:GetLayerVersion", "lambda:PublishLayerVersion", "lambda:ListTags", "lambda:TagResource", "lambda:UntagResource", "iam:PassRole" ]
"permissions" : [ "synthetics:UpdateCanary", "synthetics:StartCanary", "synthetics:StopCanary", "synthetics:GetCanary", "synthetics:TagResource", "synthetics:UntagResource", "s3:GetObject", "s3:GetObjectVersion", "s3:PutBucketEncryption", "s3:PutEncryptionConfiguration", "s3:GetBucketLocation", "lambda:AddPermission", "lambda:PublishVersion", "lambda:UpdateFunctionCode", "lambda:UpdateFunctionConfiguration", "lambda:GetFunctionConfiguration", "lambda:GetLayerVersionByArn", "lambda:GetLayerVersion", "lambda:PublishLayerVersion", "lambda:ListTags", "lambda:TagResource", "lambda:UntagResource", "iam:PassRole", "ec2:DescribeVpcs", "ec2:DescribeSubnets", "ec2:DescribeSecurityGroups" ]
},
"read" : {
"permissions" : [ "synthetics:GetCanary", "synthetics:DescribeCanaries", "synthetics:ListTagsForResource", "iam:ListRoles", "s3:ListAllMyBuckets", "s3:GetBucketLocation" ]
Expand Down
10 changes: 10 additions & 0 deletions provider/cmd/pulumi-gen-aws-native/supported-types.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1243,6 +1243,16 @@ MongoDB::Atlas::ThirdPartyIntegration
MongoDB::Atlas::Trigger
MongoDB::Atlas::X509AuthenticationDatabaseUser
MongoDb::Atlas::AwsIamDatabaseUser
NetApp::FSxN::CifsShare
NetApp::FSxN::ClusterPeer
NetApp::FSxN::ExportPolicy
NetApp::FSxN::IGroup
NetApp::FSxN::Lun
NetApp::FSxN::SnapMirror
NetApp::FSxN::Snapshot
NetApp::FSxN::SnapshotPolicy
NetApp::FSxN::SvmPeer
NetApp::FSxN::Volume
NewRelic::Agent::Configuration
NewRelic::Alert::AlertsPolicy
NewRelic::Alert::NrqlConditionStatic
Expand Down
121 changes: 117 additions & 4 deletions provider/cmd/pulumi-resource-aws-native/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -32769,7 +32769,8 @@
"description": "Local secondary indexes to be created on the table. You can create up to five local secondary indexes. Each index is scoped to a given hash key value. The size of each hash key can be up to 10 gigabytes. Each replica in your global table will have the same local secondary index settings."
},
"pointInTimeRecoverySpecification": {
"$ref": "#/types/aws-native:dynamodb:GlobalTablePointInTimeRecoverySpecification"
"$ref": "#/types/aws-native:dynamodb:GlobalTablePointInTimeRecoverySpecification",
"description": "Represents the settings used to enable point in time recovery."
},
"replicas": {
"type": "array",
Expand Down Expand Up @@ -32847,7 +32848,8 @@
"replaceOnChanges": true
},
"pointInTimeRecoverySpecification": {
"$ref": "#/types/aws-native:dynamodb:GlobalTablePointInTimeRecoverySpecification"
"$ref": "#/types/aws-native:dynamodb:GlobalTablePointInTimeRecoverySpecification",
"description": "Represents the settings used to enable point in time recovery."
},
"replicas": {
"type": "array",
Expand Down Expand Up @@ -140411,6 +140413,15 @@
"aws-native:dms:DataProviderEngine": {
"type": "string"
},
"aws-native:dms:DataProviderMongoDbAuthMechanism": {
"type": "string"
},
"aws-native:dms:DataProviderMongoDbAuthType": {
"type": "string"
},
"aws-native:dms:DataProviderMongoDbSslModeValue": {
"type": "string"
},
"aws-native:dms:DataProviderTag": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -140558,10 +140569,22 @@
"aws-native:dms:SettingsProperties": {
"type": "object",
"properties": {
"docDbSettings": {
"$ref": "#/types/aws-native:dms:SettingsPropertiesDocDbSettingsProperties",
"description": "DocDbSettings property identifier."
},
"mariaDbSettings": {
"$ref": "#/types/aws-native:dms:SettingsPropertiesMariaDbSettingsProperties",
"description": "MariaDbSettings property identifier."
},
"microsoftSqlServerSettings": {
"$ref": "#/types/aws-native:dms:SettingsPropertiesMicrosoftSqlServerSettingsProperties",
"description": "MicrosoftSqlServerSettings property identifier."
},
"mongoDbSettings": {
"$ref": "#/types/aws-native:dms:SettingsPropertiesMongoDbSettingsProperties",
"description": "MongoDbSettings property identifier."
},
"mySqlSettings": {
"$ref": "#/types/aws-native:dms:SettingsPropertiesMySqlSettingsProperties",
"description": "MySqlSettings property identifier."
Expand All @@ -140573,6 +140596,47 @@
"postgreSqlSettings": {
"$ref": "#/types/aws-native:dms:SettingsPropertiesPostgreSqlSettingsProperties",
"description": "PostgreSqlSettings property identifier."
},
"redshiftSettings": {
"$ref": "#/types/aws-native:dms:SettingsPropertiesRedshiftSettingsProperties",
"description": "RedshiftSettings property identifier."
}
}
},
"aws-native:dms:SettingsPropertiesDocDbSettingsProperties": {
"type": "object",
"properties": {
"certificateArn": {
"type": "string"
},
"databaseName": {
"type": "string"
},
"port": {
"type": "integer"
},
"serverName": {
"type": "string"
},
"sslMode": {
"$ref": "#/types/aws-native:dms:DataProviderMongoDbSslModeValue"
}
}
},
"aws-native:dms:SettingsPropertiesMariaDbSettingsProperties": {
"type": "object",
"properties": {
"certificateArn": {
"type": "string"
},
"port": {
"type": "integer"
},
"serverName": {
"type": "string"
},
"sslMode": {
"$ref": "#/types/aws-native:dms:DataProviderDmsSslModeValue"
}
}
},
Expand All @@ -140596,6 +140660,35 @@
}
}
},
"aws-native:dms:SettingsPropertiesMongoDbSettingsProperties": {
"type": "object",
"properties": {
"authMechanism": {
"$ref": "#/types/aws-native:dms:DataProviderMongoDbAuthMechanism"
},
"authSource": {
"type": "string"
},
"authType": {
"$ref": "#/types/aws-native:dms:DataProviderMongoDbAuthType"
},
"certificateArn": {
"type": "string"
},
"databaseName": {
"type": "string"
},
"port": {
"type": "integer"
},
"serverName": {
"type": "string"
},
"sslMode": {
"$ref": "#/types/aws-native:dms:DataProviderMongoDbSslModeValue"
}
}
},
"aws-native:dms:SettingsPropertiesMySqlSettingsProperties": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -140668,6 +140761,20 @@
}
}
},
"aws-native:dms:SettingsPropertiesRedshiftSettingsProperties": {
"type": "object",
"properties": {
"databaseName": {
"type": "string"
},
"port": {
"type": "integer"
},
"serverName": {
"type": "string"
}
}
},
"aws-native:docdbelastic:ClusterTag": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -158399,10 +158506,12 @@
"description": "A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not. For more information, see [Configurable endpoints](https://docs.aws.amazon.com//iot/latest/developerguide/iot-custom-endpoints-configurable.html) from the AWS IoT Core Developer Guide."
},
"ocspAuthorizedResponderArn": {
"type": "string"
"type": "string",
"description": "The Amazon Resource Name (ARN) for an X.509 certificate stored in ACM. If provided, AWS IoT Core will use this certificate to validate the signature of the received OCSP response. The OCSP responder must sign responses using either this authorized responder certificate or the issuing certificate, depending on whether the ARN is provided or not. The certificate must be in the same account and region as the domain configuration."
},
"ocspLambdaArn": {
"type": "string"
"type": "string",
"description": "The Amazon Resource Name (ARN) for a Lambda function that acts as a Request for Comments (RFC) 6960-compliant Online Certificate Status Protocol (OCSP) responder, supporting basic OCSP responses. The Lambda function accepts a base64-encoding of the OCSP request in the Distinguished Encoding Rules (DER) format. The Lambda function's response is also a base64-encoded OCSP response in the DER format. The response size must not exceed 4 kilobytes (KiB). The Lambda function must be in the same account and region as the domain configuration."
}
},
"irreversibleNames": {
Expand Down Expand Up @@ -233200,6 +233309,10 @@
"aws-native:synthetics:CanaryVpcConfig": {
"type": "object",
"properties": {
"ipv6AllowedForDualStack": {
"type": "boolean",
"description": "Allow outbound IPv6 traffic on VPC canaries that are connected to dual-stack subnets if set to true"
},
"securityGroupIds": {
"type": "array",
"items": {
Expand Down
Loading
Loading