From b2c60cb5cd3ee9b4f429b094c1ee6b6176708b7f Mon Sep 17 00:00:00 2001 From: AWS CDK Automation <43080478+aws-cdk-automation@users.noreply.github.com> Date: Thu, 11 Jan 2024 16:48:17 -0800 Subject: [PATCH] feat: update L1 CloudFormation resource definitions (#28677) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates the L1 CloudFormation resource definitions with the latest changes from `@aws-cdk/aws-service-spec` **L1 CloudFormation resource definition changes:** ``` ├[~] service aws-acmpca │ └ resources │ └[~] resource AWS::ACMPCA::CertificateAuthority │ └ types │ ├[~] type CrlConfiguration │ │ └ properties │ │ └[+] CrlDistributionPointExtensionConfiguration: CrlDistributionPointExtensionConfiguration │ └[+] type CrlDistributionPointExtensionConfiguration │ ├ documentation: Configures the default behavior of the CRL Distribution Point extension for certificates issued by your certificate authority │ │ name: CrlDistributionPointExtensionConfiguration │ └ properties │ └OmitExtension: boolean (required) ├[~] service aws-aps │ └ resources │ └[~] resource AWS::APS::Workspace │ └ properties │ └[+] KmsKeyArn: string (immutable) ├[~] service aws-cloudtrail │ └ resources │ ├[~] resource AWS::CloudTrail::EventDataStore │ │ └ types │ │ └[~] type AdvancedFieldSelector │ │ └ properties │ │ └ Field: (documentation changed) │ └[~] resource AWS::CloudTrail::Trail │ └ types │ └[~] type AdvancedFieldSelector │ └ properties │ └ Field: (documentation changed) ├[~] service aws-codebuild │ └ resources │ └[~] resource AWS::CodeBuild::Project │ └ types │ └[~] type Environment │ └ properties │ └ Type: (documentation changed) ├[~] service aws-dlm │ └ resources │ └[~] resource AWS::DLM::LifecyclePolicy │ └ properties │ └ DefaultPolicy: (documentation changed) ├[~] service aws-docdb │ └ resources │ └[~] resource AWS::DocDB::DBCluster │ └ properties │ └[+] StorageType: string ├[~] service aws-ec2 │ └ resources │ └[~] resource AWS::EC2::NetworkInterface │ ├ properties │ │ ├[+] ConnectionTrackingSpecification: ConnectionTrackingSpecification │ │ └ EnablePrimaryIpv6: (documentation changed) │ ├ attributes │ │ └ PrimaryIpv6Address: (documentation changed) │ └ types │ └[+] type ConnectionTrackingSpecification │ ├ documentation: A security group connection tracking specification that enables you to set the idle timeout for connection tracking on an Elastic network interface. For more information, see [Connection tracking timeouts](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) in the *Amazon Elastic Compute Cloud User Guide* . │ │ name: ConnectionTrackingSpecification │ └ properties │ ├TcpEstablishedTimeout: integer │ ├UdpStreamTimeout: integer │ └UdpTimeout: integer ├[~] service aws-ecs │ └ resources │ ├[~] resource AWS::ECS::CapacityProvider │ │ └ types │ │ └[~] type AutoScalingGroupProvider │ │ └ properties │ │ └ ManagedDraining: (documentation changed) │ └[~] resource AWS::ECS::TaskSet │ └ - documentation: Create a task set in the specified cluster and service. This is used when a service uses the `EXTERNAL` deployment controller type. For more information, see [Amazon ECS deployment types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) in the *Amazon Elastic Container Service Developer Guide* . │ + documentation: Create a task set in the specified cluster and service. This is used when a service uses the `EXTERNAL` deployment controller type. For more information, see [Amazon ECS deployment types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) in the *Amazon Elastic Container Service Developer Guide* . │ You can create a maximum of 5 tasks sets for a deployment. ├[~] service aws-elasticache │ └ resources │ └[~] resource AWS::ElastiCache::ServerlessCache │ └ properties │ └ SubnetIds: (documentation changed) ├[~] service aws-fis │ └ resources │ └[~] resource AWS::FIS::ExperimentTemplate │ ├ - documentation: Describes an experiment template. │ │ + documentation: Specifies an experiment template. │ │ An experiment template includes the following components: │ │ - *Targets* : A target can be a specific resource in your AWS environment, or one or more resources that match criteria that you specify, for example, resources that have specific tags. │ │ - *Actions* : The actions to carry out on the target. You can specify multiple actions, the duration of each action, and when to start each action during an experiment. │ │ - *Stop conditions* : If a stop condition is triggered while an experiment is running, the experiment is automatically stopped. You can define a stop condition as a CloudWatch alarm. │ │ For more information, see [Experiment templates](https://docs.aws.amazon.com/fis/latest/userguide/experiment-templates.html) in the *AWS Fault Injection Service User Guide* . │ └ types │ ├[~] type ExperimentTemplateAction │ │ └ - documentation: Describes an action for an experiment template. │ │ + documentation: Specifies an action for an experiment template. │ │ For more information, see [Actions](https://docs.aws.amazon.com/fis/latest/userguide/actions.html) in the *AWS Fault Injection Service User Guide* . │ ├[~] type ExperimentTemplateLogConfiguration │ │ ├ - documentation: Describes the configuration for experiment logging. │ │ │ + documentation: Specifies the configuration for experiment logging. │ │ │ For more information, see [Experiment logging](https://docs.aws.amazon.com/fis/latest/userguide/monitoring-logging.html) in the *AWS Fault Injection Service User Guide* . │ │ └ properties │ │ ├ CloudWatchLogsConfiguration: (documentation changed) │ │ └ S3Configuration: (documentation changed) │ ├[~] type ExperimentTemplateStopCondition │ │ └ - documentation: Describes a stop condition for an experiment template. │ │ + documentation: Specifies a stop condition for an experiment template. │ │ For more information, see [Stop conditions](https://docs.aws.amazon.com/fis/latest/userguide/stop-conditions.html) in the *AWS Fault Injection Service User Guide* . │ ├[~] type ExperimentTemplateTarget │ │ ├ - documentation: Describes a target for an experiment template. │ │ │ + documentation: Specifies a target for an experiment. You must specify at least one Amazon Resource Name (ARN) or at least one resource tag. You cannot specify both ARNs and tags. │ │ │ For more information, see [Targets](https://docs.aws.amazon.com/fis/latest/userguide/targets.html) in the *AWS Fault Injection Service User Guide* . │ │ └ properties │ │ └ Parameters: (documentation changed) │ └[~] type ExperimentTemplateTargetFilter │ └ - documentation: Describes a filter used for the target resources in an experiment template. │ + documentation: Specifies a filter used for the target resource input in an experiment template. │ For more information, see [Resource filters](https://docs.aws.amazon.com/fis/latest/userguide/targets.html#target-filters) in the *AWS Fault Injection Service User Guide* . ├[~] service aws-fsx │ └ resources │ ├[~] resource AWS::FSx::FileSystem │ │ ├ - documentation: The `AWS::FSx::FileSystem` resource is an Amazon FSx resource type that specifies an Amazon FSx file system. You can create any of the following supported file system types: │ │ │ - Amazon FSx for Lustre │ │ │ - Amazon FSx for NetApp ONTAP │ │ │ - Amazon FSx for OpenZFS │ │ │ - Amazon FSx for Windows File Server │ │ │ + documentation: The `AWS::FSx::FileSystem` resource is an Amazon FSx resource type that specifies an Amazon FSx file system. You can create any of the following supported file system types: │ │ │ - Amazon FSx for Lustre │ │ │ - Amazon FSx for NetApp ONTAP │ │ │ - FSx for OpenZFS │ │ │ - Amazon FSx for Windows File Server │ │ └ properties │ │ ├ LustreConfiguration: (documentation changed) │ │ ├ StorageCapacity: (documentation changed) │ │ └ WindowsConfiguration: (documentation changed) │ └[~] resource AWS::FSx::Volume │ └ types │ ├[~] type AggregateConfiguration │ │ ├ - documentation: Used to specify configuration options for a volume’s storage aggregate or aggregates. │ │ │ + documentation: Use to specify configuration options for a volume’s storage aggregate or aggregates. │ │ └ properties │ │ └ ConstituentsPerAggregate: (documentation changed) │ └[~] type OntapConfiguration │ └ properties │ ├ AggregateConfiguration: (documentation changed) │ ├ SizeInBytes: (documentation changed) │ ├ StorageEfficiencyEnabled: (documentation changed) │ └ VolumeStyle: (documentation changed) ├[~] service aws-guardduty │ └ resources │ └[~] resource AWS::GuardDuty::IPSet │ └ properties │ └ Name: - string (required) │ + string ├[~] service aws-iot │ └ resources │ └[~] resource AWS::IoT::DomainConfiguration │ ├ properties │ │ └[-] ServerCertificateConfig: ServerCertificateConfig │ └ types │ └[-] type ServerCertificateConfig │ ├ name: ServerCertificateConfig │ └ properties │ └EnableOCSPCheck: boolean ├[~] service aws-lambda │ └ resources │ └[~] resource AWS::Lambda::Function │ └ types │ └[~] type LoggingConfig │ └ properties │ ├ ApplicationLogLevel: (documentation changed) │ └ SystemLogLevel: (documentation changed) ├[~] service aws-location │ └ resources │ └[~] resource AWS::Location::Map │ └ types │ └[~] type MapConfiguration │ └ properties │ └ Style: (documentation changed) ├[~] service aws-quicksight │ └ resources │ ├[~] resource AWS::QuickSight::Analysis │ │ └ properties │ │ ├[+] Errors: Array │ │ └[+] Sheets: Array │ └[~] resource AWS::QuickSight::Topic │ └ properties │ └[+] UserExperienceVersion: string ├[~] service aws-rds │ └ resources │ └[~] resource AWS::RDS::EventSubscription │ └ properties │ └ SnsTopicArn: (documentation changed) ├[~] service aws-redshift │ └ resources │ └[~] resource AWS::Redshift::Cluster │ ├ properties │ │ ├ ManageMasterPassword: (documentation changed) │ │ ├ MasterPasswordSecretKmsKeyId: (documentation changed) │ │ └ NamespaceResourcePolicy: (documentation changed) │ └ attributes │ ├ ClusterNamespaceArn: (documentation changed) │ └ Id: (documentation changed) ├[~] service aws-redshiftserverless │ └ resources │ └[~] resource AWS::RedshiftServerless::Workgroup │ └ types │ └[~] type Workgroup │ └ properties │ └ ConfigParameters: (documentation changed) ├[~] service aws-route53 │ └ resources │ ├[~] resource AWS::Route53::RecordSet │ │ └ properties │ │ └ GeoLocation: (documentation changed) │ └[~] resource AWS::Route53::RecordSetGroup │ ├ attributes │ │ └ Id: (documentation changed) │ └ types │ └[~] type RecordSet │ └ properties │ └ GeoLocation: (documentation changed) ├[~] service aws-sagemaker │ └ resources │ ├[~] resource AWS::SageMaker::FeatureGroup │ │ ├ properties │ │ │ └[+] ThroughputConfig: ThroughputConfig │ │ └ types │ │ └[+] type ThroughputConfig │ │ ├ name: ThroughputConfig │ │ └ properties │ │ ├ThroughputMode: string (required) │ │ ├ProvisionedReadCapacityUnits: integer │ │ └ProvisionedWriteCapacityUnits: integer │ ├[~] resource AWS::SageMaker::Model │ │ └ types │ │ ├[+] type ModelAccessConfig │ │ │ ├ documentation: The access configuration file for the ML model. You can explicitly accept the model end-user license agreement (EULA) within the `ModelAccessConfig` . For more information, see [End-user license agreements](https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-foundation-models-choose.html#jumpstart-foundation-models-choose-eula) . │ │ │ │ name: ModelAccessConfig │ │ │ └ properties │ │ │ └AcceptEula: boolean (required) │ │ └[~] type S3DataSource │ │ └ properties │ │ ├[+] ModelAccessConfig: ModelAccessConfig │ │ └ S3Uri: (documentation changed) │ └[~] resource AWS::SageMaker::ModelPackage │ └ types │ └[~] type S3DataSource │ └ properties │ └ S3Uri: (documentation changed) ├[~] service aws-ssm │ └ resources │ └[~] resource AWS::SSM::Parameter │ └ properties │ └ Type: (documentation changed) └[~] service aws-transfer └ resources └[~] resource AWS::Transfer::Connector └ - documentation: Creates the connector, which captures the parameters for a connection for the AS2 or SFTP protocol. For AS2, the connector is required for sending files to an externally hosted AS2 server. For SFTP, the connector is required when sending files to an SFTP server or receiving files from an SFTP server. For more details about connectors, see [Create AS2 connectors](https://docs.aws.amazon.com/transfer/latest/userguide/create-b2b-server.html#configure-as2-connector) and [Create SFTP connectors](https://docs.aws.amazon.com/transfer/latest/userguide/configure-sftp-connector.html) . > You must specify exactly one configuration object: either for AS2 ( `As2Config` ) or SFTP ( `SftpConfig` ). + documentation: Creates the connector, which captures the parameters for a connection for the AS2 or SFTP protocol. For AS2, the connector is required for sending files to an externally hosted AS2 server. For SFTP, the connector is required when sending files to an SFTP server or receiving files from an SFTP server. For more details about connectors, see [Configure AS2 connectors](https://docs.aws.amazon.com/transfer/latest/userguide/configure-as2-connector.html) and [Create SFTP connectors](https://docs.aws.amazon.com/transfer/latest/userguide/configure-sftp-connector.html) . > You must specify exactly one configuration object: either for AS2 ( `As2Config` ) or SFTP ( `SftpConfig` ). ``` --- .../@aws-cdk/cloudformation-diff/package.json | 4 +-- packages/@aws-cdk/integ-runner/package.json | 2 +- packages/aws-cdk-lib/package.json | 2 +- tools/@aws-cdk/spec2cdk/package.json | 6 ++-- yarn.lock | 35 ++++++++----------- 5 files changed, 21 insertions(+), 28 deletions(-) diff --git a/packages/@aws-cdk/cloudformation-diff/package.json b/packages/@aws-cdk/cloudformation-diff/package.json index b1e05a8a53d97..30695252db551 100644 --- a/packages/@aws-cdk/cloudformation-diff/package.json +++ b/packages/@aws-cdk/cloudformation-diff/package.json @@ -23,8 +23,8 @@ }, "license": "Apache-2.0", "dependencies": { - "@aws-cdk/aws-service-spec": "^0.0.40", - "@aws-cdk/service-spec-types": "^0.0.40", + "@aws-cdk/aws-service-spec": "^0.0.41", + "@aws-cdk/service-spec-types": "^0.0.41", "chalk": "^4", "diff": "^5.1.0", "fast-deep-equal": "^3.1.3", diff --git a/packages/@aws-cdk/integ-runner/package.json b/packages/@aws-cdk/integ-runner/package.json index cf88a2c0340c8..fadc39373cc60 100644 --- a/packages/@aws-cdk/integ-runner/package.json +++ b/packages/@aws-cdk/integ-runner/package.json @@ -74,7 +74,7 @@ "@aws-cdk/cloud-assembly-schema": "0.0.0", "@aws-cdk/cloudformation-diff": "0.0.0", "@aws-cdk/cx-api": "0.0.0", - "@aws-cdk/aws-service-spec": "^0.0.40", + "@aws-cdk/aws-service-spec": "^0.0.41", "cdk-assets": "0.0.0", "@aws-cdk/cdk-cli-wrapper": "0.0.0", "aws-cdk": "0.0.0", diff --git a/packages/aws-cdk-lib/package.json b/packages/aws-cdk-lib/package.json index 96cf8069e1483..e72e43b073070 100644 --- a/packages/aws-cdk-lib/package.json +++ b/packages/aws-cdk-lib/package.json @@ -133,7 +133,7 @@ "yaml": "1.10.2" }, "devDependencies": { - "@aws-cdk/aws-service-spec": "^0.0.40", + "@aws-cdk/aws-service-spec": "^0.0.41", "@aws-cdk/cdk-build-tools": "0.0.0", "@aws-cdk/custom-resource-handlers": "0.0.0", "@aws-cdk/pkglint": "0.0.0", diff --git a/tools/@aws-cdk/spec2cdk/package.json b/tools/@aws-cdk/spec2cdk/package.json index bea9f963fdca3..f02cd8692fa58 100644 --- a/tools/@aws-cdk/spec2cdk/package.json +++ b/tools/@aws-cdk/spec2cdk/package.json @@ -32,9 +32,9 @@ }, "license": "Apache-2.0", "dependencies": { - "@aws-cdk/aws-service-spec": "^0.0.40", - "@aws-cdk/service-spec-importers": "^0.0.14", - "@aws-cdk/service-spec-types": "^0.0.40", + "@aws-cdk/aws-service-spec": "^0.0.41", + "@aws-cdk/service-spec-importers": "^0.0.15", + "@aws-cdk/service-spec-types": "^0.0.41", "@cdklabs/tskb": "^0.0.3", "@cdklabs/typewriter": "^0.0.3", "camelcase": "^6", diff --git a/yarn.lock b/yarn.lock index 6f8ea53c3aaff..70cf0a9bf6329 100644 --- a/yarn.lock +++ b/yarn.lock @@ -56,12 +56,12 @@ resolved "https://registry.npmjs.org/@aws-cdk/asset-node-proxy-agent-v6/-/asset-node-proxy-agent-v6-2.0.1.tgz#6dc9b7cdb22ff622a7176141197962360c33e9ac" integrity sha512-DDt4SLdLOwWCjGtltH4VCST7hpOI5DzieuhGZsBpZ+AgJdSI2GCjklCXm0GCTwJG/SolkL5dtQXyUKgg9luBDg== -"@aws-cdk/aws-service-spec@^0.0.40": - version "0.0.40" - resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.0.40.tgz#f1b7cb34323b060d6ab72df456f5a92ec8346bdf" - integrity sha512-ujRd7lEnmwsoaHAAY04QjjzKoOHnyEcv6APSEH7airjv+rodJG6713wZOWo5su8ESaC/1SE/+cFix2mKtpcz1Q== +"@aws-cdk/aws-service-spec@^0.0.41": + version "0.0.41" + resolved "https://registry.npmjs.org/@aws-cdk/aws-service-spec/-/aws-service-spec-0.0.41.tgz#43099cdc6fe282643a0761ef75ad33e5ffadddc4" + integrity sha512-QkLSpJfe0bNY4yGI1rt0g5lG1x6MbDSknLLNzh41qB5Es2/bHKIjOD6pG0Yb9YctSgrQ6xfgT8vSeztmMiLZDw== dependencies: - "@aws-cdk/service-spec-types" "^0.0.40" + "@aws-cdk/service-spec-types" "^0.0.41" "@cdklabs/tskb" "^0.0.3" "@aws-cdk/lambda-layer-kubectl-v24@^2.0.242": @@ -69,12 +69,12 @@ resolved "https://registry.npmjs.org/@aws-cdk/lambda-layer-kubectl-v24/-/lambda-layer-kubectl-v24-2.0.242.tgz#4273a5ad7714f933a7eba155eb9280823086db71" integrity sha512-7/wIOo685tmrEe4hh6zqDELhBZh5OQGf3Hd2FU2Vnwy2ZubW8qTmEw5gqJCsCrGKeYDoa1BcVhDRZ/nzjkaqyA== -"@aws-cdk/service-spec-importers@^0.0.14": - version "0.0.14" - resolved "https://registry.npmjs.org/@aws-cdk/service-spec-importers/-/service-spec-importers-0.0.14.tgz#db8fef9d0a95cce4e90d41d48184233c8eeb18ad" - integrity sha512-KBlSEEc3c6CiKa2YUh562+8PfXlh/0ZkWyi7zFYYAlxaMGVGcQM0coOA/hKf6DRSaQ/6CajH4CSbNQwJAQ1rzg== +"@aws-cdk/service-spec-importers@^0.0.15": + version "0.0.15" + resolved "https://registry.npmjs.org/@aws-cdk/service-spec-importers/-/service-spec-importers-0.0.15.tgz#1b96852b51aa11b1ce167253fdaedcf4e88b6d9e" + integrity sha512-J5P+2LJDQc5Giieqz9p5erMygjlud3UMBAwezwFym0X8GYbIrMPRE5yqB6IE8EOmCTBL2l2Gx9+zXizHq7sC/Q== dependencies: - "@aws-cdk/service-spec-types" "^0.0.38" + "@aws-cdk/service-spec-types" "^0.0.41" "@cdklabs/tskb" "^0.0.3" ajv "^6" canonicalize "^2.0.0" @@ -85,17 +85,10 @@ glob "^8" sort-json "^2.0.1" -"@aws-cdk/service-spec-types@^0.0.38": - version "0.0.38" - resolved "https://registry.npmjs.org/@aws-cdk/service-spec-types/-/service-spec-types-0.0.38.tgz#ca56478cdb0cdb2502ae5e332227553ff61a4c9b" - integrity sha512-uFZpElN0flikUQvqtnKEDP1Q4bO+Dxsc1+GhL2bEm1Wb/oreBNhlRQJIQBzby4ABMC2iiZgqmKJ+peon1UTM4A== - dependencies: - "@cdklabs/tskb" "^0.0.3" - -"@aws-cdk/service-spec-types@^0.0.40": - version "0.0.40" - resolved "https://registry.npmjs.org/@aws-cdk/service-spec-types/-/service-spec-types-0.0.40.tgz#348f67da375fbed4538f3dcbefae6f5458662b37" - integrity sha512-+UWCCRQ5CtkLVaiJMCdG+r/0ifHo/YIE2u0hhD731Ud1iO99cMEzulzMztfBXxNdX4ySNq9WthyJTFSFWWAxYw== +"@aws-cdk/service-spec-types@^0.0.41": + version "0.0.41" + resolved "https://registry.npmjs.org/@aws-cdk/service-spec-types/-/service-spec-types-0.0.41.tgz#1bcd722c8bdcb6606dbdf8bdc1fa38253e65ffa5" + integrity sha512-zvXIIe4aFcZYqOKsWTxa9OPp93yyHg3OOU5jt6RTyjjIQZeEpaWkpUsEqdaBzyHmQPcn3iXO+Xji/z7Yha2dZw== dependencies: "@cdklabs/tskb" "^0.0.3"