Skip to content

Commit

Permalink
Automated SDK generation @ aws-cloudformation-user-guide 19dc52cd3f20…
Browse files Browse the repository at this point in the history
…07d6d268b65b739ffb5ebf8c1e76 (#1790)

*Automated PR*
  • Loading branch information
pulumi-bot authored Oct 31, 2024
1 parent 7d38dfe commit aa47ae6
Show file tree
Hide file tree
Showing 72 changed files with 3,630 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .docs.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c3970f25846f18fb21813d06908f1cc2845c62d6
f45dbad97046bef81fe1031e544675b3cc226f52
146 changes: 146 additions & 0 deletions aws-cloudformation-schema/aws-appsync-channelnamespace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
{
"typeName" : "AWS::AppSync::ChannelNamespace",
"description" : "Resource schema for AppSync ChannelNamespace",
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
"definitions" : {
"Namespace" : {
"description" : "Namespace indentifier.",
"type" : "string",
"minLength" : 1,
"maxLength" : 50,
"pattern" : "([A-Za-z0-9](?:[A-Za-z0-9\\-]{0,48}[A-Za-z0-9])?)"
},
"AuthMode" : {
"description" : "An auth mode.",
"type" : "object",
"additionalProperties" : false,
"properties" : {
"AuthType" : {
"$ref" : "#/definitions/AuthenticationType"
}
}
},
"AuthModes" : {
"type" : "array",
"insertionOrder" : false,
"items" : {
"$ref" : "#/definitions/AuthMode"
}
},
"AuthenticationType" : {
"description" : "Security configuration for your AppSync API.",
"type" : "string",
"enum" : [ "AMAZON_COGNITO_USER_POOLS", "AWS_IAM", "API_KEY", "OPENID_CONNECT", "AWS_LAMBDA" ]
},
"Code" : {
"description" : "String of APPSYNC_JS code to be used by the handlers.",
"type" : "string",
"minLength" : 1,
"maxLength" : 32768
},
"ChannelNamespaceArn" : {
"type" : "string",
"description" : "The Amazon Resource Name (ARN) for the Channel Namespace."
},
"Tag" : {
"description" : "An arbitrary set of tags (key-value pairs) for this AppSync API.",
"type" : "object",
"properties" : {
"Key" : {
"description" : "A string used to identify this tag. You can specify a maximum of 128 characters for a tag key.",
"type" : "string",
"minLength" : 1,
"maxLength" : 128,
"pattern" : "^(?!aws:)[ a-zA-Z+-=._:/]+$"
},
"Value" : {
"description" : "A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.",
"type" : "string",
"minLength" : 0,
"maxLength" : 256,
"pattern" : "^[\\s\\w+-=\\.:/@]*$"
}
},
"required" : [ "Key", "Value" ],
"additionalProperties" : false
},
"Tags" : {
"description" : "An arbitrary set of tags (key-value pairs) for this AppSync API.",
"type" : "array",
"uniqueItems" : true,
"insertionOrder" : false,
"items" : {
"$ref" : "#/definitions/Tag"
}
}
},
"properties" : {
"ApiId" : {
"description" : "AppSync Api Id that this Channel Namespace belongs to.",
"type" : "string"
},
"Name" : {
"$ref" : "#/definitions/Namespace"
},
"SubscribeAuthModes" : {
"description" : "List of AuthModes supported for Subscribe operations.",
"$ref" : "#/definitions/AuthModes"
},
"PublishAuthModes" : {
"description" : "List of AuthModes supported for Publish operations.",
"$ref" : "#/definitions/AuthModes"
},
"CodeHandlers" : {
"$ref" : "#/definitions/Code"
},
"CodeS3Location" : {
"description" : "The Amazon S3 endpoint where the code is located.",
"type" : "string"
},
"ChannelNamespaceArn" : {
"$ref" : "#/definitions/ChannelNamespaceArn"
},
"Tags" : {
"$ref" : "#/definitions/Tags"
}
},
"tagging" : {
"taggable" : true,
"tagOnCreate" : true,
"tagUpdatable" : true,
"cloudFormationSystemTags" : true,
"tagProperty" : "/properties/Tags",
"permissions" : [ "appsync:TagResource", "appsync:UntagResource" ]
},
"additionalProperties" : false,
"required" : [ "ApiId", "Name" ],
"readOnlyProperties" : [ "/properties/ChannelNamespaceArn" ],
"createOnlyProperties" : [ "/properties/ApiId", "/properties/Name" ],
"primaryIdentifier" : [ "/properties/ChannelNamespaceArn" ],
"writeOnlyProperties" : [ "/properties/CodeS3Location" ],
"handlers" : {
"create" : {
"permissions" : [ "appsync:CreateChannelNamespace", "appsync:TagResource", "appsync:GetChannelNamespace", "s3:GetObject" ]
},
"read" : {
"permissions" : [ "appsync:GetChannelNamespace", "appsync:ListTagsForResource" ]
},
"update" : {
"permissions" : [ "appsync:UpdateChannelNamespace", "appsync:TagResource", "appsync:UntagResource", "appsync:GetChannelNamespace", "s3:GetObject" ]
},
"delete" : {
"permissions" : [ "appsync:DeleteChannelNamespace", "appsync:UntagResource" ]
},
"list" : {
"permissions" : [ "appsync:ListChannelNamespaces" ],
"handlerSchema" : {
"properties" : {
"ApiId" : {
"$ref" : "resource-schema.json#/properties/ApiId"
}
},
"required" : [ "ApiId" ]
}
}
}
}
3 changes: 2 additions & 1 deletion aws-cloudformation-schema/aws-ec2-verifiedaccessgroup.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@
"tagOnCreate" : true,
"tagUpdatable" : true,
"cloudFormationSystemTags" : false,
"tagProperty" : "/properties/Tags"
"tagProperty" : "/properties/Tags",
"permissions" : [ "ec2:CreateTags", "ec2:DescribeTags", "ec2:DeleteTags" ]
},
"handlers" : {
"create" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@
"tagOnCreate" : true,
"tagUpdatable" : true,
"cloudFormationSystemTags" : false,
"tagProperty" : "/properties/Tags"
"tagProperty" : "/properties/Tags",
"permissions" : [ "ec2:CreateTags", "ec2:DescribeTags", "ec2:DeleteTags" ]
},
"handlers" : {
"create" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@
"tagOnCreate" : true,
"tagUpdatable" : true,
"cloudFormationSystemTags" : false,
"tagProperty" : "/properties/Tags"
"tagProperty" : "/properties/Tags",
"permissions" : [ "ec2:CreateTags", "ec2:DescribeTags", "ec2:DeleteTags" ]
},
"handlers" : {
"create" : {
Expand Down
2 changes: 1 addition & 1 deletion aws-cloudformation-schema/aws-ec2-vpnconnection.json
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@
"Value" : {
"description" : "The Diffie-Hellmann group number.",
"type" : "integer",
"enum" : [ 2, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24 ]
"enum" : [ 2, 5, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24 ]
}
}
}
Expand Down
46 changes: 45 additions & 1 deletion aws-cloudformation-schema/aws-opensearchservice-domain.json
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,47 @@
"type" : "boolean"
}
}
},
"SubjectKeyIdcType" : {
"type" : "string",
"enum" : [ "UserName", "UserId", "Email" ],
"description" : "Subject Key Idc type values."
},
"RolesKeyIdcType" : {
"type" : "string",
"enum" : [ "GroupName", "GroupId" ],
"description" : "Roles Key Idc type values."
},
"IdentityCenterOptions" : {
"type" : "object",
"description" : "Options for configuring Identity Center",
"properties" : {
"EnabledAPIAccess" : {
"type" : "boolean",
"description" : "Whether Identity Center is enabled."
},
"IdentityCenterInstanceARN" : {
"type" : "string",
"description" : "The ARN of the Identity Center instance."
},
"SubjectKey" : {
"$ref" : "#/definitions/SubjectKeyIdcType",
"description" : "The subject key for Identity Center options."
},
"RolesKey" : {
"$ref" : "#/definitions/RolesKeyIdcType",
"description" : "The roles key for Identity Center options."
},
"IdentityCenterApplicationARN" : {
"type" : "string",
"description" : "The ARN of the Identity Center application."
},
"IdentityStoreId" : {
"type" : "string",
"description" : "The IdentityStoreId for Identity Center options."
}
},
"additionalProperties" : false
}
},
"properties" : {
Expand Down Expand Up @@ -485,12 +526,15 @@
},
"SkipShardMigrationWait" : {
"type" : "boolean"
},
"IdentityCenterOptions" : {
"$ref" : "#/definitions/IdentityCenterOptions"
}
},
"additionalProperties" : false,
"createOnlyProperties" : [ "/properties/DomainName" ],
"conditionalCreateOnlyProperties" : [ "/properties/EncryptionAtRestOptions/properties", "/properties/AdvancedSecurityOptions/properties/Enabled" ],
"readOnlyProperties" : [ "/properties/Id", "/properties/Arn", "/properties/DomainArn", "/properties/DomainEndpoint", "/properties/DomainEndpointV2", "/properties/DomainEndpoints", "/properties/ServiceSoftwareOptions", "/properties/AdvancedSecurityOptions/AnonymousAuthDisableDate" ],
"readOnlyProperties" : [ "/properties/Id", "/properties/Arn", "/properties/DomainArn", "/properties/DomainEndpoint", "/properties/DomainEndpointV2", "/properties/DomainEndpoints", "/properties/ServiceSoftwareOptions", "/properties/AdvancedSecurityOptions/AnonymousAuthDisableDate", "/properties/IdentityCenterOptions/IdentityCenterApplicationARN", "/properties/IdentityCenterOptions/IdentityStoreId" ],
"writeOnlyProperties" : [ "/properties/AdvancedSecurityOptions/MasterUserOptions", "/properties/AdvancedSecurityOptions/SAMLOptions/MasterUserName", "/properties/AdvancedSecurityOptions/SAMLOptions/MasterBackendRole", "/properties/AdvancedSecurityOptions/JWTOptions/PublicKey" ],
"primaryIdentifier" : [ "/properties/DomainName" ],
"handlers" : {
Expand Down
6 changes: 3 additions & 3 deletions aws-cloudformation-schema/aws-rds-dbcluster.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"conditionalCreateOnlyProperties" : [ "/properties/Engine", "/properties/GlobalClusterIdentifier", "/properties/MasterUsername" ],
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds",
"propertyTransform" : {
"/properties/KmsKeyId" : "$join([\"arn:(aws)[-]{0,1}[a-z]{0,2}[-]{0,1}[a-z]{0,3}:kms:[a-z]{2}[-]{1}[a-z]{3,10}[-]{0,1}[a-z]{0,10}[-]{1}[1-3]{1}:[0-9]{12}[:]{1}key\\/\", KmsKeyId])",
"/properties/KmsKeyId" : "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", KmsKeyId])",
"/properties/SourceDBClusterIdentifier" : "$lowercase(SourceDBClusterIdentifier)",
"/properties/StorageType" : "$lowercase(StorageType)",
"/properties/MasterUserSecret/KmsKeyId" : "$join([\"arn:(aws)[-]{0,1}[a-z]{0,2}[-]{0,1}[a-z]{0,3}:kms:[a-z]{2}[-]{1}[a-z]{3,10}[-]{0,1}[a-z]{0,10}[-]{1}[1-3]{1}:[0-9]{12}[:]{1}key\\/\", MasterUserSecret.KmsKeyId])",
"/properties/MasterUserSecret/KmsKeyId" : "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", MasterUserSecret.KmsKeyId])",
"/properties/DBClusterIdentifier" : "$lowercase(DBClusterIdentifier)",
"/properties/EnableHttpEndpoint" : "$lowercase($string(EngineMode)) = 'serverless' ? EnableHttpEndpoint : ($lowercase($string(Engine)) in ['aurora-postgresql', 'aurora-mysql'] ? EnableHttpEndpoint : false )",
"/properties/NetworkType" : "$lowercase(NetworkType)",
"/properties/PerformanceInsightsKmsKeyId" : "$join([\"arn:(aws)[-]{0,1}[a-z]{0,2}[-]{0,1}[a-z]{0,3}:kms:[a-z]{2}[-]{1}[a-z]{3,10}[-]{0,1}[a-z]{0,10}[-]{1}[1-3]{1}:[0-9]{12}[:]{1}key\\/\", PerformanceInsightsKmsKeyId])",
"/properties/PerformanceInsightsKmsKeyId" : "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKmsKeyId])",
"/properties/DBSubnetGroupName" : "$lowercase(DBSubnetGroupName)",
"/properties/SnapshotIdentifier" : "$lowercase(SnapshotIdentifier)",
"/properties/PreferredMaintenanceWindow" : "$lowercase(PreferredMaintenanceWindow)",
Expand Down
10 changes: 5 additions & 5 deletions aws-cloudformation-schema/aws-rds-dbinstance.json
Original file line number Diff line number Diff line change
Expand Up @@ -479,20 +479,20 @@
"/properties/DBSubnetGroupName" : "$lowercase(DBSubnetGroupName)",
"/properties/Engine" : "$lowercase(Engine)",
"/properties/EngineVersion" : "$join([$string(EngineVersion), \".*\"])",
"/properties/KmsKeyId" : "$join([\"arn:(aws)[-]{0,1}[a-z]{0,2}[-]{0,1}[a-z]{0,3}:kms:[a-z]{2}[-]{1}[a-z]{3,10}[-]{0,1}[a-z]{0,10}[-]{1}[1-3]{1}:[0-9]{12}[:]{1}key\\/\", KmsKeyId])",
"/properties/MasterUserSecret/KmsKeyId" : "$join([\"arn:(aws)[-]{0,1}[a-z]{0,2}[-]{0,1}[a-z]{0,3}:kms:[a-z]{2}[-]{1}[a-z]{3,10}[-]{0,1}[a-z]{0,10}[-]{1}[1-3]{1}:[0-9]{12}[:]{1}key\\/\", MasterUserSecret.KmsKeyId])",
"/properties/KmsKeyId" : "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", KmsKeyId])",
"/properties/MasterUserSecret/KmsKeyId" : "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", MasterUserSecret.KmsKeyId])",
"/properties/NetworkType" : "$lowercase(NetworkType)",
"/properties/OptionGroupName" : "$lowercase(OptionGroupName)",
"/properties/PerformanceInsightsKMSKeyId" : "$join([\"arn:(aws)[-]{0,1}[a-z]{0,2}[-]{0,1}[a-z]{0,3}:kms:[a-z]{2}[-]{1}[a-z]{3,10}[-]{0,1}[a-z]{0,10}[-]{1}[1-3]{1}:[0-9]{12}[:]{1}key\\/\", PerformanceInsightsKMSKeyId])",
"/properties/PerformanceInsightsKMSKeyId" : "$join([\"arn:.+?:kms:.+?:.+?:key\\/\", PerformanceInsightsKMSKeyId])",
"/properties/PreferredMaintenanceWindow" : "$lowercase(PreferredMaintenanceWindow)",
"/properties/SourceDBInstanceAutomatedBackupsArn" : "$lowercase(SourceDBInstanceAutomatedBackupsArn)",
"/properties/SourceDBInstanceIdentifier" : "$lowercase(SourceDBInstanceIdentifier)",
"/properties/StorageType" : "$lowercase(StorageType)"
},
"createOnlyProperties" : [ "/properties/CharacterSetName", "/properties/CustomIAMInstanceProfile", "/properties/DBClusterIdentifier", "/properties/DBInstanceIdentifier", "/properties/DBName", "/properties/DBSubnetGroupName", "/properties/KmsKeyId", "/properties/MasterUsername", "/properties/NcharCharacterSetName", "/properties/Port", "/properties/SourceRegion", "/properties/StorageEncrypted", "/properties/Timezone" ],
"createOnlyProperties" : [ "/properties/CharacterSetName", "/properties/CustomIAMInstanceProfile", "/properties/DBClusterIdentifier", "/properties/DBInstanceIdentifier", "/properties/DBName", "/properties/DBSubnetGroupName", "/properties/KmsKeyId", "/properties/MasterUsername", "/properties/NcharCharacterSetName", "/properties/SourceRegion", "/properties/StorageEncrypted", "/properties/Timezone" ],
"conditionalCreateOnlyProperties" : [ "/properties/AutoMinorVersionUpgrade", "/properties/AvailabilityZone", "/properties/BackupRetentionPeriod", "/properties/DBClusterSnapshotIdentifier", "/properties/DBParameterGroupName", "/properties/DBSnapshotIdentifier", "/properties/Engine", "/properties/MultiAZ", "/properties/PerformanceInsightsKMSKeyId", "/properties/PreferredMaintenanceWindow", "/properties/RestoreTime", "/properties/SourceDBClusterIdentifier", "/properties/SourceDBInstanceAutomatedBackupsArn", "/properties/SourceDBInstanceIdentifier", "/properties/SourceDbiResourceId", "/properties/StorageType", "/properties/UseLatestRestorableTime" ],
"deprecatedProperties" : [ "/properties/TdeCredentialArn", "/properties/TdeCredentialPassword" ],
"writeOnlyProperties" : [ "/properties/AllowMajorVersionUpgrade", "/properties/AutomaticBackupReplicationKmsKeyId", "/properties/CertificateRotationRestart", "/properties/DBSnapshotIdentifier", "/properties/DeleteAutomatedBackups", "/properties/MasterUserPassword", "/properties/Port", "/properties/RestoreTime", "/properties/SourceDBInstanceAutomatedBackupsArn", "/properties/SourceDBInstanceIdentifier", "/properties/SourceDbiResourceId", "/properties/SourceRegion", "/properties/TdeCredentialPassword", "/properties/UseDefaultProcessorFeatures", "/properties/UseLatestRestorableTime" ],
"writeOnlyProperties" : [ "/properties/AllowMajorVersionUpgrade", "/properties/AutomaticBackupReplicationKmsKeyId", "/properties/CertificateRotationRestart", "/properties/DBSnapshotIdentifier", "/properties/DeleteAutomatedBackups", "/properties/MasterUserPassword", "/properties/RestoreTime", "/properties/SourceDBInstanceAutomatedBackupsArn", "/properties/SourceDBInstanceIdentifier", "/properties/SourceDbiResourceId", "/properties/SourceRegion", "/properties/TdeCredentialPassword", "/properties/UseDefaultProcessorFeatures", "/properties/UseLatestRestorableTime" ],
"readOnlyProperties" : [ "/properties/Endpoint/Address", "/properties/Endpoint/Port", "/properties/Endpoint/HostedZoneId", "/properties/DbiResourceId", "/properties/DBInstanceArn", "/properties/DBSystemId", "/properties/MasterUserSecret/SecretArn", "/properties/CertificateDetails/CAIdentifier", "/properties/CertificateDetails/ValidTill" ],
"primaryIdentifier" : [ "/properties/DBInstanceIdentifier" ],
"handlers" : {
Expand Down
3 changes: 3 additions & 0 deletions aws-cloudformation-schema/aws-rds-globalcluster.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,8 @@
"list" : {
"permissions" : [ "rds:DescribeGlobalClusters" ]
}
},
"tagging" : {
"taggable" : true
}
}
2 changes: 1 addition & 1 deletion meta/.botocore.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.35.51
1.35.52
1 change: 1 addition & 0 deletions provider/cmd/pulumi-gen-aws-native/supported-types.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ AWS::AppStream::DirectoryConfig
AWS::AppStream::Entitlement
AWS::AppStream::ImageBuilder
AWS::AppSync::Api
AWS::AppSync::ChannelNamespace
AWS::AppSync::DataSource
AWS::AppSync::DomainName
AWS::AppSync::DomainNameApiAssociation
Expand Down
Loading

0 comments on commit aa47ae6

Please sign in to comment.