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

feat(cfnspec): cloudformation spec v65.0.0 #19745

Merged
merged 3 commits into from
Apr 5, 2022
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
19 changes: 11 additions & 8 deletions packages/@aws-cdk/aws-sqs/lib/policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,23 @@ export class QueuePolicy extends Resource {
*/
public readonly document = new PolicyDocument();

/**
* Not currently supported by AWS CloudFormation.
* @attribute
*/
public readonly queuePolicyId: string;

constructor(scope: Construct, id: string, props: QueuePolicyProps) {
super(scope, id);

const resource = new CfnQueuePolicy(this, 'Resource', {
new CfnQueuePolicy(this, 'Resource', {
policyDocument: this.document,
queues: props.queues.map(q => q.queueUrl),
});
}

this.queuePolicyId = resource.attrId;
/**
* Not currently supported by AWS CloudFormation.
*
* This attribute temporarily existed in CloudFormation, and then was removed again.
*
* @attribute
*/
public get queuePolicyId(): string {
throw new Error('QueuePolicy.queuePolicyId has been removed from CloudFormation');
}
}
67 changes: 67 additions & 0 deletions packages/@aws-cdk/cfnspec/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,70 @@
# CloudFormation Resource Specification v65.0.0

## New Resource Types


## Removed Resource Types

* AWS::Events::Endpoint

## Attribute Changes

* AWS::SQS::QueuePolicy Documentation (__changed__)
* Old: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queuepolicy.html
* New: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-policy.html
* AWS::SQS::QueuePolicy Id (__deleted__)
* AWS::SageMaker::Domain SecurityGroupIdForDomainBoundary (__added__)

## Property Changes

* AWS::ECS::Service PlacementConstraints.UpdateType (__changed__)
* Old: Immutable
* New: Mutable
* AWS::ECS::Service PlacementStrategies.UpdateType (__changed__)
* Old: Immutable
* New: Mutable
* AWS::SQS::QueuePolicy PolicyDocument.Documentation (__changed__)
* Old: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queuepolicy.html#cfn-sqs-queuepolicy-policydocument
* New: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-policy.html#cfn-sqs-queuepolicy-policydoc
* AWS::SQS::QueuePolicy Queues.Documentation (__changed__)
* Old: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queuepolicy.html#cfn-sqs-queuepolicy-queues
* New: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-policy.html#cfn-sqs-queuepolicy-queues
* AWS::SageMaker::Domain AppSecurityGroupManagement (__added__)
* AWS::SageMaker::Domain DomainSettings (__added__)

## Property Type Changes

* AWS::SageMaker::Domain.DomainSettings (__added__)
* AWS::SageMaker::Domain.RStudioServerProAppSettings (__added__)
* AWS::SageMaker::Domain.RStudioServerProDomainSettings (__added__)
* AWS::SageMaker::UserProfile.RStudioServerProAppSettings (__added__)
* AWS::DMS::Endpoint.KafkaSettings IncludePartitionValue (__added__)
* AWS::DMS::Endpoint.KafkaSettings MessageFormat (__added__)
* AWS::DMS::Endpoint.KafkaSettings MessageMaxBytes (__added__)
* AWS::DMS::Endpoint.KinesisSettings IncludePartitionValue (__added__)
* AWS::DMS::Endpoint.MySqlSettings AfterConnectScript (__added__)
* AWS::DMS::Endpoint.MySqlSettings CleanSourceMetadataOnMismatch (__added__)
* AWS::DMS::Endpoint.MySqlSettings EventsPollInterval (__added__)
* AWS::DMS::Endpoint.MySqlSettings MaxFileSize (__added__)
* AWS::DMS::Endpoint.MySqlSettings ParallelLoadThreads (__added__)
* AWS::DMS::Endpoint.MySqlSettings ServerTimezone (__added__)
* AWS::DMS::Endpoint.MySqlSettings TargetDbType (__added__)
* AWS::ECS::Service.PlacementConstraint Expression.UpdateType (__changed__)
* Old: Immutable
* New: Mutable
* AWS::ECS::Service.PlacementConstraint Type.UpdateType (__changed__)
* Old: Immutable
* New: Mutable
* AWS::ECS::Service.PlacementStrategy Field.UpdateType (__changed__)
* Old: Immutable
* New: Mutable
* AWS::ECS::Service.PlacementStrategy Type.UpdateType (__changed__)
* Old: Immutable
* New: Mutable
* AWS::SageMaker::Domain.UserSettings RStudioServerProAppSettings (__added__)
* AWS::SageMaker::UserProfile.UserSettings RStudioServerProAppSettings (__added__)


# CloudFormation Resource Specification v63.0.0

## New Resource Types
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/cfnspec/cfn.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
63.0.0
65.0.0
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::ACMPCA::Certificate.ApiPassthrough": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-apipassthrough.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {},
"ResourceTypes": {
"AWS::APS::RuleGroupsNamespace": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::AccessAnalyzer::Analyzer.ArchiveRule": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accessanalyzer-analyzer-archiverule.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::AmazonMQ::Broker.ConfigurationId": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-configurationid.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::Amplify::App.AutoBranchCreationConfig": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-autobranchcreationconfig.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::AmplifyUIBuilder::Component.ActionParameters": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-actionparameters.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::ApiGateway::ApiKey.StageKey": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-apikey-stagekey.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::ApiGatewayV2::Api.BodyS3Location": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-api-bodys3location.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::AppConfig::Application.Tags": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-application-tags.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::AppFlow::ConnectorProfile.AmplitudeConnectorProfileCredentials": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-connectorprofile-amplitudeconnectorprofilecredentials.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::AppIntegrations::DataIntegration.ScheduleConfig": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appintegrations-dataintegration-scheduleconfig.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::AppMesh::GatewayRoute.GatewayRouteHostnameMatch": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-gatewayroute-gatewayroutehostnamematch.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::AppRunner::Service.AuthenticationConfiguration": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-authenticationconfiguration.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::AppStream::AppBlock.S3Location": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-appblock-s3location.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::AppSync::DataSource.AuthorizationConfig": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-authorizationconfig.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::ApplicationAutoScaling::ScalableTarget.ScalableTargetAction": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scalabletargetaction.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::ApplicationInsights::Application.Alarm": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationinsights-application-alarm.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::Athena::WorkGroup.EncryptionConfiguration": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-encryptionconfiguration.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::AuditManager::Assessment.AWSAccount": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessment-awsaccount.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::AutoScaling::AutoScalingGroup.AcceleratorCountRequest": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-acceleratorcountrequest.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::AutoScalingPlans::ScalingPlan.ApplicationSource": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscalingplans-scalingplan-applicationsource.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::Backup::BackupPlan.AdvancedBackupSettingResourceType": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupplan-advancedbackupsettingresourcetype.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::Batch::ComputeEnvironment.ComputeResources": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::BillingConductor::BillingGroup.AccountGrouping": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-billingconductor-billinggroup-accountgrouping.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::Budgets::Budget.BudgetData": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-budgetdata.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::CE::AnomalySubscription.Subscriber": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ce-anomalysubscription-subscriber.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {},
"ResourceTypes": {
"AWS::CUR::ReportDefinition": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::Cassandra::Table.BillingMode": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cassandra-table-billingmode.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::CertificateManager::Account.ExpiryEventsConfiguration": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-certificatemanager-account-expiryeventsconfiguration.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {},
"ResourceTypes": {
"AWS::Chatbot::SlackChannelConfiguration": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::Cloud9::EnvironmentEC2.Repository": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloud9-environmentec2-repository.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::CloudFormation::HookVersion.LoggingConfig": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-hookversion-loggingconfig.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::CloudFront::CachePolicy.CachePolicyConfig": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cachepolicyconfig.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::CloudTrail::Trail.DataResource": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-dataresource.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::CloudWatch::Alarm.Dimension": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-dimension.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {},
"ResourceTypes": {
"AWS::CodeArtifact::Domain": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::CodeBuild::Project.Artifacts": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-artifacts.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::CodeCommit::Repository.Code": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-code.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::CodeDeploy::DeploymentConfig.MinimumHealthyHosts": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentconfig-minimumhealthyhosts.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::CodeGuruProfiler::ProfilingGroup.Channel": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codeguruprofiler-profilinggroup-channel.html",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {},
"ResourceTypes": {
"AWS::CodeGuruReviewer::RepositoryAssociation": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$version": "63.0.0",
"$version": "65.0.0",
"PropertyTypes": {
"AWS::CodePipeline::CustomActionType.ArtifactDetails": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-artifactdetails.html",
Expand Down
Loading