@kensio/yulin 1.19.2 → 1.19.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/dist/serve/http/local-server/sim-aws-local-server.d.ts +31 -0
- package/dist/serve/http/local-server/sim-aws-local-server.d.ts.map +1 -1
- package/dist/serve/http/local-server/sim-aws-local-server.js +15 -1
- package/dist/serve/http/local-server/sim-aws-local-server.js.map +1 -1
- package/dist/serve/index.d.ts +1 -0
- package/dist/serve/index.d.ts.map +1 -1
- package/dist/serve/index.js.map +1 -1
- package/dist/serve/message/sim-local-message-logging.d.ts +39 -0
- package/dist/serve/message/sim-local-message-logging.d.ts.map +1 -0
- package/dist/serve/message/sim-local-message-logging.js +45 -0
- package/dist/serve/message/sim-local-message-logging.js.map +1 -0
- package/dist/serve/message/sim-message-log-console.d.ts +43 -0
- package/dist/serve/message/sim-message-log-console.d.ts.map +1 -0
- package/dist/serve/message/sim-message-log-console.js +71 -0
- package/dist/serve/message/sim-message-log-console.js.map +1 -0
- package/dist/serve/message/sim-message-logging.d.ts +42 -0
- package/dist/serve/message/sim-message-logging.d.ts.map +1 -0
- package/dist/serve/message/sim-message-logging.js +31 -0
- package/dist/serve/message/sim-message-logging.js.map +1 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts +3 -0
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js +12 -1
- package/dist/service/aws/factory/sim-aws-account-region-service-builder.js.map +1 -1
- package/dist/service/aws/factory/sim-aws-service-factory.d.ts +9 -0
- package/dist/service/aws/factory/sim-aws-service-factory.d.ts.map +1 -1
- package/dist/service/aws/factory/sim-aws-service-factory.js +10 -0
- package/dist/service/aws/factory/sim-aws-service-factory.js.map +1 -1
- package/dist/service/aws/message/sim-aws-logged-message.d.ts +46 -0
- package/dist/service/aws/message/sim-aws-logged-message.d.ts.map +1 -0
- package/dist/service/aws/message/sim-aws-logged-message.js +2 -0
- package/dist/service/aws/message/sim-aws-logged-message.js.map +1 -0
- package/dist/service/aws/message/sim-aws-message-log.d.ts +40 -0
- package/dist/service/aws/message/sim-aws-message-log.d.ts.map +1 -0
- package/dist/service/aws/message/sim-aws-message-log.js +40 -0
- package/dist/service/aws/message/sim-aws-message-log.js.map +1 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.d.ts +4 -3
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.d.ts.map +1 -1
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.js +4 -3
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/property/sim-cdk-bucket-notification-properties.js.map +1 -1
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.d.ts +5 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.d.ts.map +1 -1
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.js +5 -0
- package/dist/service/cloudformation/cdk/s3/bucket-notifications/sim-cdk-bucket-notifications.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-cfn-value-adapter.d.ts.map +1 -1
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-cfn-value-adapter.js +8 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-cfn-value-adapter.js.map +1 -1
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-configuration-set-cfn.d.ts +30 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-configuration-set-cfn.d.ts.map +1 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-configuration-set-cfn.js +29 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-configuration-set-cfn.js.map +1 -0
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-identity-cfn.js +1 -1
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-identity-cfn.js.map +1 -1
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.d.ts.map +1 -1
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js +2 -0
- package/dist/service/cognito/cfn/client/sim-cfn-cognito-client-properties.js.map +1 -1
- package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.d.ts +7 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.d.ts.map +1 -1
- package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.js +14 -0
- package/dist/service/cognito/cfn/sim-cfn-cognito-property-parser.js.map +1 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.d.ts.map +1 -1
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js +10 -0
- package/dist/service/cognito/cfn/user-pool/sim-cfn-cognito-user-pool-properties.js.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-available-challenges.d.ts.map +1 -1
- package/dist/service/cognito/command/auth/sim-cognito-available-challenges.js +7 -6
- package/dist/service/cognito/command/auth/sim-cognito-available-challenges.js.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.d.ts +20 -0
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.d.ts.map +1 -1
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js +24 -4
- package/dist/service/cognito/command/client/sim-cognito-unsimulated-client-options.js.map +1 -1
- package/dist/service/cognito/command/sim-cognito-commands.d.ts +4 -0
- package/dist/service/cognito/command/sim-cognito-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/sim-cognito-commands.js +8 -2
- package/dist/service/cognito/command/sim-cognito-commands.js.map +1 -1
- package/dist/service/cognito/command/sim-cognito-unsimulated-input.d.ts +9 -0
- package/dist/service/cognito/command/sim-cognito-unsimulated-input.d.ts.map +1 -1
- package/dist/service/cognito/command/sim-cognito-unsimulated-input.js +13 -3
- package/dist/service/cognito/command/sim-cognito-unsimulated-input.js.map +1 -1
- package/dist/service/cognito/command/user/sim-cognito-user-mfa-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/user/sim-cognito-user-mfa-commands.js +2 -1
- package/dist/service/cognito/command/user/sim-cognito-user-mfa-commands.js.map +1 -1
- package/dist/service/cognito/command/user/user-mfa.command.d.ts +4 -3
- package/dist/service/cognito/command/user/user-mfa.command.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.d.ts +22 -8
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.js +24 -11
- package/dist/service/cognito/command/user-pool/sim-cognito-unsimulated-pool-messaging.js.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.d.ts +3 -3
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.js +5 -4
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-mfa-commands.js.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts +6 -0
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js +7 -0
- package/dist/service/cognito/command/user-pool/sim-cognito-user-pool-view.js.map +1 -1
- package/dist/service/cognito/command/user-pool/user-pool-mfa.command.d.ts +7 -6
- package/dist/service/cognito/command/user-pool/user-pool-mfa.command.d.ts.map +1 -1
- package/dist/service/cognito/command/user-pool/user-pool.command.d.ts +4 -2
- package/dist/service/cognito/command/user-pool/user-pool.command.d.ts.map +1 -1
- package/dist/service/cognito/error/sim-cognito.error.d.ts +23 -0
- package/dist/service/cognito/error/sim-cognito.error.d.ts.map +1 -1
- package/dist/service/cognito/error/sim-cognito.error.js +27 -0
- package/dist/service/cognito/error/sim-cognito.error.js.map +1 -1
- package/dist/service/cognito/index.d.ts +4 -0
- package/dist/service/cognito/index.d.ts.map +1 -1
- package/dist/service/cognito/index.js +4 -0
- package/dist/service/cognito/index.js.map +1 -1
- package/dist/service/cognito/sim-cognito-identity-provider.d.ts +14 -0
- package/dist/service/cognito/sim-cognito-identity-provider.d.ts.map +1 -1
- package/dist/service/cognito/sim-cognito-identity-provider.js +5 -1
- package/dist/service/cognito/sim-cognito-identity-provider.js.map +1 -1
- package/dist/service/cognito/user-pool/message/sim-aws-cognito-email-senders.d.ts +42 -0
- package/dist/service/cognito/user-pool/message/sim-aws-cognito-email-senders.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-aws-cognito-email-senders.js +84 -0
- package/dist/service/cognito/user-pool/message/sim-aws-cognito-email-senders.js.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-configuration-reader.d.ts +31 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-configuration-reader.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-configuration-reader.js +72 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-configuration-reader.js.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-configuration.d.ts +85 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-configuration.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-configuration.js +117 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-configuration.js.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-senders.d.ts +73 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-senders.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-senders.js +23 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-senders.js.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-source-arn.d.ts +39 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-source-arn.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-source-arn.js +33 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-email-source-arn.js.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-pool-email-delivery.d.ts +41 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-pool-email-delivery.d.ts.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-pool-email-delivery.js +66 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-pool-email-delivery.js.map +1 -0
- package/dist/service/cognito/user-pool/message/sim-cognito-pool-messenger.d.ts +19 -4
- package/dist/service/cognito/user-pool/message/sim-cognito-pool-messenger.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/message/sim-cognito-pool-messenger.js +30 -8
- package/dist/service/cognito/user-pool/message/sim-cognito-pool-messenger.js.map +1 -1
- package/dist/service/cognito/user-pool/message/sim-cognito-sent-message.d.ts +9 -3
- package/dist/service/cognito/user-pool/message/sim-cognito-sent-message.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/message/sim-cognito-sent-message.js +9 -3
- package/dist/service/cognito/user-pool/message/sim-cognito-sent-message.js.map +1 -1
- package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.d.ts +2 -3
- package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/mfa/sim-cognito-user-pool-mfa.js.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-arn.d.ts +4 -2
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-arn.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-arn.js +2 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-arn.js.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.d.ts +13 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.d.ts.map +1 -1
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.js +7 -0
- package/dist/service/cognito/user-pool/sim-cognito-user-pool-settings.js.map +1 -1
- package/dist/service/iam/index.d.ts +1 -0
- package/dist/service/iam/index.d.ts.map +1 -1
- package/dist/service/iam/index.js.map +1 -1
- package/dist/service/ses/account/sim-ses-account.d.ts +22 -0
- package/dist/service/ses/account/sim-ses-account.d.ts.map +1 -1
- package/dist/service/ses/account/sim-ses-account.js +31 -0
- package/dist/service/ses/account/sim-ses-account.js.map +1 -1
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-creator.d.ts +30 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-creator.d.ts.map +1 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-creator.js +47 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-creator.js.map +1 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-option-groups.d.ts +23 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-option-groups.d.ts.map +1 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-option-groups.js +52 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-option-groups.js.map +1 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-properties.d.ts +39 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-properties.d.ts.map +1 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-properties.js +71 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-properties.js.map +1 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-unsimulated-properties.d.ts +17 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-unsimulated-properties.d.ts.map +1 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-unsimulated-properties.js +34 -0
- package/dist/service/ses/cfn/configuration-set/sim-cfn-ses-configuration-set-unsimulated-properties.js.map +1 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-creator.d.ts +5 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-creator.d.ts.map +1 -1
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-creator.js +7 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-creator.js.map +1 -1
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-properties.d.ts +13 -8
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-properties.d.ts.map +1 -1
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-properties.js +29 -14
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-properties.js.map +1 -1
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-settings.d.ts +18 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-settings.d.ts.map +1 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-settings.js +77 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-settings.js.map +1 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-values.d.ts +25 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-values.d.ts.map +1 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-values.js +49 -0
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-values.js.map +1 -0
- package/dist/service/ses/cfn/sim-cfn-ses-property-scalars.d.ts +25 -0
- package/dist/service/ses/cfn/sim-cfn-ses-property-scalars.d.ts.map +1 -0
- package/dist/service/ses/cfn/sim-cfn-ses-property-scalars.js +69 -0
- package/dist/service/ses/cfn/sim-cfn-ses-property-scalars.js.map +1 -0
- package/dist/service/ses/cfn/sim-cfn-ses-resource-types.d.ts +2 -0
- package/dist/service/ses/cfn/sim-cfn-ses-resource-types.d.ts.map +1 -1
- package/dist/service/ses/cfn/sim-cfn-ses-resource-types.js +2 -0
- package/dist/service/ses/cfn/sim-cfn-ses-resource-types.js.map +1 -1
- package/dist/service/ses/cfn/sim-ses-cfn-resource-factory.d.ts +3 -2
- package/dist/service/ses/cfn/sim-ses-cfn-resource-factory.d.ts.map +1 -1
- package/dist/service/ses/cfn/sim-ses-cfn-resource-factory.js +43 -40
- package/dist/service/ses/cfn/sim-ses-cfn-resource-factory.js.map +1 -1
- package/dist/service/ses/command/account/account.command.d.ts +22 -0
- package/dist/service/ses/command/account/account.command.d.ts.map +1 -1
- package/dist/service/ses/command/account/sim-ses-account-commands.d.ts +12 -4
- package/dist/service/ses/command/account/sim-ses-account-commands.d.ts.map +1 -1
- package/dist/service/ses/command/account/sim-ses-account-commands.js +16 -3
- package/dist/service/ses/command/account/sim-ses-account-commands.js.map +1 -1
- package/dist/service/ses/command/account/sim-ses-account-report.d.ts +3 -0
- package/dist/service/ses/command/account/sim-ses-account-report.d.ts.map +1 -1
- package/dist/service/ses/command/account/sim-ses-account-report.js +4 -0
- package/dist/service/ses/command/account/sim-ses-account-report.js.map +1 -1
- package/dist/service/ses/command/authorize/sim-ses-authorizer.d.ts +8 -0
- package/dist/service/ses/command/authorize/sim-ses-authorizer.d.ts.map +1 -1
- package/dist/service/ses/command/authorize/sim-ses-authorizer.js +11 -1
- package/dist/service/ses/command/authorize/sim-ses-authorizer.js.map +1 -1
- package/dist/service/ses/command/configuration-set/configuration-set.command.d.ts +100 -0
- package/dist/service/ses/command/configuration-set/configuration-set.command.d.ts.map +1 -0
- package/dist/service/ses/command/configuration-set/configuration-set.command.js +2 -0
- package/dist/service/ses/command/configuration-set/configuration-set.command.js.map +1 -0
- package/dist/service/ses/command/configuration-set/sim-ses-configuration-set-commands.d.ts +55 -0
- package/dist/service/ses/command/configuration-set/sim-ses-configuration-set-commands.d.ts.map +1 -0
- package/dist/service/ses/command/configuration-set/sim-ses-configuration-set-commands.js +105 -0
- package/dist/service/ses/command/configuration-set/sim-ses-configuration-set-commands.js.map +1 -0
- package/dist/service/ses/command/configuration-set/sim-ses-configuration-set-options.d.ts +11 -0
- package/dist/service/ses/command/configuration-set/sim-ses-configuration-set-options.d.ts.map +1 -0
- package/dist/service/ses/command/configuration-set/sim-ses-configuration-set-options.js +83 -0
- package/dist/service/ses/command/configuration-set/sim-ses-configuration-set-options.js.map +1 -0
- package/dist/service/ses/command/configuration-set/sim-ses-unsimulated-configuration-set-input.d.ts +12 -0
- package/dist/service/ses/command/configuration-set/sim-ses-unsimulated-configuration-set-input.d.ts.map +1 -0
- package/dist/service/ses/command/configuration-set/sim-ses-unsimulated-configuration-set-input.js +27 -0
- package/dist/service/ses/command/configuration-set/sim-ses-unsimulated-configuration-set-input.js.map +1 -0
- package/dist/service/ses/command/identity/identity.command.d.ts +55 -2
- package/dist/service/ses/command/identity/identity.command.d.ts.map +1 -1
- package/dist/service/ses/command/identity/sim-ses-identity-attributes.d.ts +29 -0
- package/dist/service/ses/command/identity/sim-ses-identity-attributes.d.ts.map +1 -0
- package/dist/service/ses/command/identity/sim-ses-identity-attributes.js +60 -0
- package/dist/service/ses/command/identity/sim-ses-identity-attributes.js.map +1 -0
- package/dist/service/ses/command/identity/sim-ses-identity-commands.d.ts +6 -1
- package/dist/service/ses/command/identity/sim-ses-identity-commands.d.ts.map +1 -1
- package/dist/service/ses/command/identity/sim-ses-identity-commands.js +12 -12
- package/dist/service/ses/command/identity/sim-ses-identity-commands.js.map +1 -1
- package/dist/service/ses/command/identity/sim-ses-identity-input-settings.d.ts +16 -0
- package/dist/service/ses/command/identity/sim-ses-identity-input-settings.d.ts.map +1 -0
- package/dist/service/ses/command/identity/sim-ses-identity-input-settings.js +57 -0
- package/dist/service/ses/command/identity/sim-ses-identity-input-settings.js.map +1 -0
- package/dist/service/ses/command/send/sim-ses-send-email.d.ts +6 -0
- package/dist/service/ses/command/send/sim-ses-send-email.d.ts.map +1 -1
- package/dist/service/ses/command/send/sim-ses-send-email.js +7 -0
- package/dist/service/ses/command/send/sim-ses-send-email.js.map +1 -1
- package/dist/service/ses/command/send/sim-ses-service-send.d.ts +68 -0
- package/dist/service/ses/command/send/sim-ses-service-send.d.ts.map +1 -0
- package/dist/service/ses/command/send/sim-ses-service-send.js +69 -0
- package/dist/service/ses/command/send/sim-ses-service-send.js.map +1 -0
- package/dist/service/ses/command/send/sim-ses-suppression-check.d.ts +31 -0
- package/dist/service/ses/command/send/sim-ses-suppression-check.d.ts.map +1 -0
- package/dist/service/ses/command/send/sim-ses-suppression-check.js +37 -0
- package/dist/service/ses/command/send/sim-ses-suppression-check.js.map +1 -0
- package/dist/service/ses/command/send/sim-ses-verified-identities.d.ts +8 -0
- package/dist/service/ses/command/send/sim-ses-verified-identities.d.ts.map +1 -1
- package/dist/service/ses/command/send/sim-ses-verified-identities.js +15 -2
- package/dist/service/ses/command/send/sim-ses-verified-identities.js.map +1 -1
- package/dist/service/ses/command/sim-ses-command.types.d.ts +4 -2
- package/dist/service/ses/command/sim-ses-command.types.d.ts.map +1 -1
- package/dist/service/ses/command/suppression/sim-ses-suppression-commands.d.ts +44 -0
- package/dist/service/ses/command/suppression/sim-ses-suppression-commands.d.ts.map +1 -0
- package/dist/service/ses/command/suppression/sim-ses-suppression-commands.js +79 -0
- package/dist/service/ses/command/suppression/sim-ses-suppression-commands.js.map +1 -0
- package/dist/service/ses/command/suppression/sim-ses-suppression-listing.d.ts +15 -0
- package/dist/service/ses/command/suppression/sim-ses-suppression-listing.d.ts.map +1 -0
- package/dist/service/ses/command/suppression/sim-ses-suppression-listing.js +29 -0
- package/dist/service/ses/command/suppression/sim-ses-suppression-listing.js.map +1 -0
- package/dist/service/ses/command/suppression/sim-ses-unsimulated-suppression-input.d.ts +9 -0
- package/dist/service/ses/command/suppression/sim-ses-unsimulated-suppression-input.d.ts.map +1 -0
- package/dist/service/ses/command/suppression/sim-ses-unsimulated-suppression-input.js +16 -0
- package/dist/service/ses/command/suppression/sim-ses-unsimulated-suppression-input.js.map +1 -0
- package/dist/service/ses/command/suppression/suppression.command.d.ts +90 -0
- package/dist/service/ses/command/suppression/suppression.command.d.ts.map +1 -0
- package/dist/service/ses/command/suppression/suppression.command.js +2 -0
- package/dist/service/ses/command/suppression/suppression.command.js.map +1 -0
- package/dist/service/ses/configuration-set/sim-ses-configuration-set-store.d.ts +44 -0
- package/dist/service/ses/configuration-set/sim-ses-configuration-set-store.d.ts.map +1 -0
- package/dist/service/ses/configuration-set/sim-ses-configuration-set-store.js +91 -0
- package/dist/service/ses/configuration-set/sim-ses-configuration-set-store.js.map +1 -0
- package/dist/service/ses/configuration-set/sim-ses-configuration-set.d.ts +75 -0
- package/dist/service/ses/configuration-set/sim-ses-configuration-set.d.ts.map +1 -0
- package/dist/service/ses/configuration-set/sim-ses-configuration-set.js +44 -0
- package/dist/service/ses/configuration-set/sim-ses-configuration-set.js.map +1 -0
- package/dist/service/ses/email/sim-ses-sent-email.d.ts +29 -0
- package/dist/service/ses/email/sim-ses-sent-email.d.ts.map +1 -1
- package/dist/service/ses/email/sim-ses-sent-email.js +21 -0
- package/dist/service/ses/email/sim-ses-sent-email.js.map +1 -1
- package/dist/service/ses/identity/sim-ses-dkim-tokens.d.ts.map +1 -0
- package/dist/service/ses/identity/sim-ses-dkim-tokens.js.map +1 -0
- package/dist/service/ses/identity/sim-ses-identity-name.d.ts +5 -0
- package/dist/service/ses/identity/sim-ses-identity-name.d.ts.map +1 -1
- package/dist/service/ses/identity/sim-ses-identity-name.js +5 -1
- package/dist/service/ses/identity/sim-ses-identity-name.js.map +1 -1
- package/dist/service/ses/identity/sim-ses-identity-settings.d.ts +64 -0
- package/dist/service/ses/identity/sim-ses-identity-settings.d.ts.map +1 -0
- package/dist/service/ses/identity/sim-ses-identity-settings.js +21 -0
- package/dist/service/ses/identity/sim-ses-identity-settings.js.map +1 -0
- package/dist/service/ses/identity/sim-ses-identity-store.d.ts +2 -1
- package/dist/service/ses/identity/sim-ses-identity-store.d.ts.map +1 -1
- package/dist/service/ses/identity/sim-ses-identity-store.js +2 -1
- package/dist/service/ses/identity/sim-ses-identity-store.js.map +1 -1
- package/dist/service/ses/identity/sim-ses-identity.d.ts +38 -0
- package/dist/service/ses/identity/sim-ses-identity.d.ts.map +1 -1
- package/dist/service/ses/identity/sim-ses-identity.js +54 -0
- package/dist/service/ses/identity/sim-ses-identity.js.map +1 -1
- package/dist/service/ses/index.d.ts +10 -3
- package/dist/service/ses/index.d.ts.map +1 -1
- package/dist/service/ses/index.js +7 -1
- package/dist/service/ses/index.js.map +1 -1
- package/dist/service/ses/sdk/sim-ses-sdk-command-router.d.ts.map +1 -1
- package/dist/service/ses/sdk/sim-ses-sdk-command-router.js +36 -0
- package/dist/service/ses/sdk/sim-ses-sdk-command-router.js.map +1 -1
- package/dist/service/ses/sim-ses-arn.d.ts +7 -0
- package/dist/service/ses/sim-ses-arn.d.ts.map +1 -1
- package/dist/service/ses/sim-ses-arn.js +9 -0
- package/dist/service/ses/sim-ses-arn.js.map +1 -1
- package/dist/service/ses/sim-ses-commands.d.ts +14 -0
- package/dist/service/ses/sim-ses-commands.d.ts.map +1 -1
- package/dist/service/ses/sim-ses-commands.js +47 -5
- package/dist/service/ses/sim-ses-commands.js.map +1 -1
- package/dist/service/ses/sim-ses-configuration-sets.d.ts +47 -0
- package/dist/service/ses/sim-ses-configuration-sets.d.ts.map +1 -0
- package/dist/service/ses/sim-ses-configuration-sets.js +60 -0
- package/dist/service/ses/sim-ses-configuration-sets.js.map +1 -0
- package/dist/service/ses/sim-ses-suppression.d.ts +52 -0
- package/dist/service/ses/sim-ses-suppression.d.ts.map +1 -0
- package/dist/service/ses/sim-ses-suppression.js +63 -0
- package/dist/service/ses/sim-ses-suppression.js.map +1 -0
- package/dist/service/ses/sim-ses-v2.d.ts +14 -1
- package/dist/service/ses/sim-ses-v2.d.ts.map +1 -1
- package/dist/service/ses/sim-ses-v2.js +48 -35
- package/dist/service/ses/sim-ses-v2.js.map +1 -1
- package/dist/service/ses/suppression/sim-ses-suppressed-destination.d.ts +24 -0
- package/dist/service/ses/suppression/sim-ses-suppressed-destination.d.ts.map +1 -0
- package/dist/service/ses/suppression/sim-ses-suppressed-destination.js +21 -0
- package/dist/service/ses/suppression/sim-ses-suppressed-destination.js.map +1 -0
- package/dist/service/ses/suppression/sim-ses-suppression-address.d.ts +9 -0
- package/dist/service/ses/suppression/sim-ses-suppression-address.d.ts.map +1 -0
- package/dist/service/ses/suppression/sim-ses-suppression-address.js +21 -0
- package/dist/service/ses/suppression/sim-ses-suppression-address.js.map +1 -0
- package/dist/service/ses/suppression/sim-ses-suppression-list.d.ts +57 -0
- package/dist/service/ses/suppression/sim-ses-suppression-list.d.ts.map +1 -0
- package/dist/service/ses/suppression/sim-ses-suppression-list.js +82 -0
- package/dist/service/ses/suppression/sim-ses-suppression-list.js.map +1 -0
- package/dist/service/ses/suppression/sim-ses-suppression-reason.d.ts +20 -0
- package/dist/service/ses/suppression/sim-ses-suppression-reason.d.ts.map +1 -0
- package/dist/service/ses/suppression/sim-ses-suppression-reason.js +24 -0
- package/dist/service/ses/suppression/sim-ses-suppression-reason.js.map +1 -0
- package/dist/service/sns/command/sim-sns-commands.d.ts +2 -0
- package/dist/service/sns/command/sim-sns-commands.d.ts.map +1 -1
- package/dist/service/sns/command/sim-sns-commands.js +4 -1
- package/dist/service/sns/command/sim-sns-commands.js.map +1 -1
- package/dist/service/sns/sim-sns.d.ts +7 -0
- package/dist/service/sns/sim-sns.d.ts.map +1 -1
- package/dist/service/sns/sim-sns.js +3 -1
- package/dist/service/sns/sim-sns.js.map +1 -1
- package/dist/service/sns/sms/sim-sns-sent-sms-store.d.ts +13 -0
- package/dist/service/sns/sms/sim-sns-sent-sms-store.d.ts.map +1 -1
- package/dist/service/sns/sms/sim-sns-sent-sms-store.js +15 -0
- package/dist/service/sns/sms/sim-sns-sent-sms-store.js.map +1 -1
- package/dist/terraform/index.d.ts +6 -0
- package/dist/terraform/index.d.ts.map +1 -0
- package/dist/terraform/index.js +2 -0
- package/dist/terraform/index.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-cloudwatch-dimensions.d.ts +20 -0
- package/dist/terraform/map/sim-tf-map-cloudwatch-dimensions.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-cloudwatch-dimensions.js +36 -0
- package/dist/terraform/map/sim-tf-map-cloudwatch-dimensions.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-cloudwatch.d.ts +12 -0
- package/dist/terraform/map/sim-tf-map-cloudwatch.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-cloudwatch.js +69 -0
- package/dist/terraform/map/sim-tf-map-cloudwatch.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-cognito-client.d.ts +15 -0
- package/dist/terraform/map/sim-tf-map-cognito-client.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-cognito-client.js +37 -0
- package/dist/terraform/map/sim-tf-map-cognito-client.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-cognito-pool.d.ts +26 -0
- package/dist/terraform/map/sim-tf-map-cognito-pool.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-cognito-pool.js +70 -0
- package/dist/terraform/map/sim-tf-map-cognito-pool.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-cognito.d.ts +13 -0
- package/dist/terraform/map/sim-tf-map-cognito.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-cognito.js +39 -0
- package/dist/terraform/map/sim-tf-map-cognito.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-dynamodb-keys.d.ts +31 -0
- package/dist/terraform/map/sim-tf-map-dynamodb-keys.d.ts.map +1 -0
- package/dist/{service/cloudformation/terraform/sim-tf-map-dynamodb.js → terraform/map/sim-tf-map-dynamodb-keys.js} +27 -30
- package/dist/terraform/map/sim-tf-map-dynamodb-keys.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-dynamodb.d.ts +5 -0
- package/dist/terraform/map/sim-tf-map-dynamodb.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-dynamodb.js +31 -0
- package/dist/terraform/map/sim-tf-map-dynamodb.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-ecr.d.ts +12 -0
- package/dist/terraform/map/sim-tf-map-ecr.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-ecr.js +34 -0
- package/dist/terraform/map/sim-tf-map-ecr.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-events.d.ts +24 -0
- package/dist/terraform/map/sim-tf-map-events.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-events.js +151 -0
- package/dist/terraform/map/sim-tf-map-events.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-http-api-routes.d.ts +10 -0
- package/dist/terraform/map/sim-tf-map-http-api-routes.d.ts.map +1 -0
- package/dist/{service/cloudformation/terraform/sim-tf-map-http-api-route.js → terraform/map/sim-tf-map-http-api-routes.js} +19 -3
- package/dist/terraform/map/sim-tf-map-http-api-routes.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-http-api.d.ts +7 -0
- package/dist/terraform/map/sim-tf-map-http-api.d.ts.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform/map}/sim-tf-map-http-api.js +3 -17
- package/dist/terraform/map/sim-tf-map-http-api.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-iam-policy.d.ts +32 -0
- package/dist/terraform/map/sim-tf-map-iam-policy.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-iam-policy.js +85 -0
- package/dist/terraform/map/sim-tf-map-iam-policy.js.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform/map}/sim-tf-map-iam.d.ts +2 -4
- package/dist/terraform/map/sim-tf-map-iam.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-iam.js +37 -0
- package/dist/terraform/map/sim-tf-map-iam.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-kms.d.ts +25 -0
- package/dist/terraform/map/sim-tf-map-kms.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-kms.js +75 -0
- package/dist/terraform/map/sim-tf-map-kms.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-lambda-environment.d.ts +20 -0
- package/dist/terraform/map/sim-tf-map-lambda-environment.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-lambda-environment.js +52 -0
- package/dist/terraform/map/sim-tf-map-lambda-environment.js.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform/map}/sim-tf-map-lambda.d.ts +2 -2
- package/dist/terraform/map/sim-tf-map-lambda.d.ts.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform/map}/sim-tf-map-lambda.js +19 -36
- package/dist/terraform/map/sim-tf-map-lambda.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-logs.d.ts +12 -0
- package/dist/terraform/map/sim-tf-map-logs.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-logs.js +22 -0
- package/dist/terraform/map/sim-tf-map-logs.js.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform/map}/sim-tf-map-s3-folds.d.ts +1 -1
- package/dist/terraform/map/sim-tf-map-s3-folds.d.ts.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform/map}/sim-tf-map-s3-folds.js +2 -3
- package/dist/terraform/map/sim-tf-map-s3-folds.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3-lifecycle.d.ts +4 -0
- package/dist/terraform/map/sim-tf-map-s3-lifecycle.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3-lifecycle.js +92 -0
- package/dist/terraform/map/sim-tf-map-s3-lifecycle.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3-notification-destinations.d.ts +5 -0
- package/dist/terraform/map/sim-tf-map-s3-notification-destinations.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3-notification-destinations.js +30 -0
- package/dist/terraform/map/sim-tf-map-s3-notification-destinations.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3-notification-filter.d.ts +12 -0
- package/dist/terraform/map/sim-tf-map-s3-notification-filter.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3-notification-filter.js +21 -0
- package/dist/terraform/map/sim-tf-map-s3-notification-filter.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3-notification.d.ts +50 -0
- package/dist/terraform/map/sim-tf-map-s3-notification.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3-notification.js +80 -0
- package/dist/terraform/map/sim-tf-map-s3-notification.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3-rules.d.ts +7 -0
- package/dist/terraform/map/sim-tf-map-s3-rules.d.ts.map +1 -0
- package/dist/{service/cloudformation/terraform/sim-tf-map-s3-encryption.js → terraform/map/sim-tf-map-s3-rules.js} +20 -3
- package/dist/terraform/map/sim-tf-map-s3-rules.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-s3.d.ts +5 -0
- package/dist/terraform/map/sim-tf-map-s3.d.ts.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform/map}/sim-tf-map-s3.js +1 -1
- package/dist/terraform/map/sim-tf-map-s3.js.map +1 -0
- package/dist/{service/cloudformation/terraform/sim-tf-map-config.d.ts → terraform/map/sim-tf-map-secretsmanager.d.ts} +3 -5
- package/dist/terraform/map/sim-tf-map-secretsmanager.d.ts.map +1 -0
- package/dist/{service/cloudformation/terraform/sim-tf-map-config.js → terraform/map/sim-tf-map-secretsmanager.js} +2 -14
- package/dist/terraform/map/sim-tf-map-secretsmanager.js.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform/map}/sim-tf-map-sns.d.ts +2 -2
- package/dist/terraform/map/sim-tf-map-sns.d.ts.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform/map}/sim-tf-map-sns.js +1 -1
- package/dist/terraform/map/sim-tf-map-sns.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-sqs-redrive.d.ts +32 -0
- package/dist/terraform/map/sim-tf-map-sqs-redrive.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-sqs-redrive.js +68 -0
- package/dist/terraform/map/sim-tf-map-sqs-redrive.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-sqs.d.ts +11 -0
- package/dist/terraform/map/sim-tf-map-sqs.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-sqs.js +26 -0
- package/dist/terraform/map/sim-tf-map-sqs.js.map +1 -0
- package/dist/terraform/map/sim-tf-map-ssm.d.ts +13 -0
- package/dist/terraform/map/sim-tf-map-ssm.d.ts.map +1 -0
- package/dist/terraform/map/sim-tf-map-ssm.js +24 -0
- package/dist/terraform/map/sim-tf-map-ssm.js.map +1 -0
- package/dist/terraform/sim-tf-adapter.d.ts +80 -0
- package/dist/terraform/sim-tf-adapter.d.ts.map +1 -0
- package/dist/terraform/sim-tf-adapter.js +44 -0
- package/dist/terraform/sim-tf-adapter.js.map +1 -0
- package/dist/terraform/sim-tf-attribute-reads.d.ts.map +1 -0
- package/dist/terraform/sim-tf-attribute-reads.js.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform}/sim-tf-attributes.d.ts +13 -4
- package/dist/terraform/sim-tf-attributes.d.ts.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform}/sim-tf-attributes.js +1 -1
- package/dist/terraform/sim-tf-attributes.js.map +1 -0
- package/dist/terraform/sim-tf-declare.d.ts +37 -0
- package/dist/terraform/sim-tf-declare.d.ts.map +1 -0
- package/dist/{service/cloudformation/terraform/sim-tf-template-graph.js → terraform/sim-tf-declare.js} +35 -23
- package/dist/terraform/sim-tf-declare.js.map +1 -0
- package/dist/terraform/sim-tf-fold.d.ts +26 -0
- package/dist/terraform/sim-tf-fold.d.ts.map +1 -0
- package/dist/terraform/sim-tf-fold.js +72 -0
- package/dist/terraform/sim-tf-fold.js.map +1 -0
- package/dist/terraform/sim-tf-import.d.ts +31 -0
- package/dist/terraform/sim-tf-import.d.ts.map +1 -0
- package/dist/terraform/sim-tf-import.js +38 -0
- package/dist/terraform/sim-tf-import.js.map +1 -0
- package/dist/terraform/sim-tf-logical-id.d.ts +27 -0
- package/dist/terraform/sim-tf-logical-id.d.ts.map +1 -0
- package/dist/terraform/sim-tf-logical-id.js +83 -0
- package/dist/terraform/sim-tf-logical-id.js.map +1 -0
- package/dist/terraform/sim-tf-mapping.type.d.ts +73 -0
- package/dist/terraform/sim-tf-mapping.type.d.ts.map +1 -0
- package/dist/terraform/sim-tf-mapping.type.js.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform}/sim-tf-module-outputs.d.ts +1 -9
- package/dist/terraform/sim-tf-module-outputs.d.ts.map +1 -0
- package/dist/terraform/sim-tf-module-outputs.js +33 -0
- package/dist/terraform/sim-tf-module-outputs.js.map +1 -0
- package/dist/terraform/sim-tf-nested-attributes.d.ts +33 -0
- package/dist/terraform/sim-tf-nested-attributes.d.ts.map +1 -0
- package/dist/terraform/sim-tf-nested-attributes.js +97 -0
- package/dist/terraform/sim-tf-nested-attributes.js.map +1 -0
- package/dist/terraform/sim-tf-override.type.d.ts +36 -0
- package/dist/terraform/sim-tf-override.type.d.ts.map +1 -0
- package/dist/terraform/sim-tf-override.type.js +2 -0
- package/dist/terraform/sim-tf-override.type.js.map +1 -0
- package/dist/terraform/sim-tf-overrides.d.ts +21 -0
- package/dist/terraform/sim-tf-overrides.d.ts.map +1 -0
- package/dist/terraform/sim-tf-overrides.js +40 -0
- package/dist/terraform/sim-tf-overrides.js.map +1 -0
- package/dist/terraform/sim-tf-plan-file.d.ts +23 -0
- package/dist/terraform/sim-tf-plan-file.d.ts.map +1 -0
- package/dist/terraform/sim-tf-plan-file.js +58 -0
- package/dist/terraform/sim-tf-plan-file.js.map +1 -0
- package/dist/terraform/sim-tf-plan-resources.d.ts +18 -0
- package/dist/terraform/sim-tf-plan-resources.d.ts.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform}/sim-tf-plan-resources.js +18 -10
- package/dist/terraform/sim-tf-plan-resources.js.map +1 -0
- package/dist/terraform/sim-tf-plan-sections.d.ts +31 -0
- package/dist/terraform/sim-tf-plan-sections.d.ts.map +1 -0
- package/dist/terraform/sim-tf-plan-sections.js +60 -0
- package/dist/terraform/sim-tf-plan-sections.js.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform}/sim-tf-plan.type.d.ts +5 -1
- package/dist/terraform/sim-tf-plan.type.d.ts.map +1 -0
- package/dist/terraform/sim-tf-plan.type.js.map +1 -0
- package/dist/terraform/sim-tf-reference-address.d.ts +52 -0
- package/dist/terraform/sim-tf-reference-address.d.ts.map +1 -0
- package/dist/terraform/sim-tf-reference-address.js +102 -0
- package/dist/terraform/sim-tf-reference-address.js.map +1 -0
- package/dist/terraform/sim-tf-reference.d.ts +82 -0
- package/dist/terraform/sim-tf-reference.d.ts.map +1 -0
- package/dist/terraform/sim-tf-reference.js +153 -0
- package/dist/terraform/sim-tf-reference.js.map +1 -0
- package/dist/terraform/sim-tf-referenced.d.ts +18 -0
- package/dist/terraform/sim-tf-referenced.d.ts.map +1 -0
- package/dist/terraform/sim-tf-referenced.js +40 -0
- package/dist/terraform/sim-tf-referenced.js.map +1 -0
- package/dist/terraform/sim-tf-refusal.d.ts +23 -0
- package/dist/terraform/sim-tf-refusal.d.ts.map +1 -0
- package/dist/terraform/sim-tf-refusal.js +44 -0
- package/dist/terraform/sim-tf-refusal.js.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform}/sim-tf-registry.d.ts +2 -1
- package/dist/terraform/sim-tf-registry.d.ts.map +1 -0
- package/dist/terraform/sim-tf-registry.js +67 -0
- package/dist/terraform/sim-tf-registry.js.map +1 -0
- package/dist/terraform/sim-tf-report.d.ts +21 -0
- package/dist/terraform/sim-tf-report.d.ts.map +1 -0
- package/dist/terraform/sim-tf-report.js +57 -0
- package/dist/terraform/sim-tf-report.js.map +1 -0
- package/dist/{service/cloudformation/terraform → terraform}/sim-tf-report.type.d.ts +10 -4
- package/dist/terraform/sim-tf-report.type.d.ts.map +1 -0
- package/dist/terraform/sim-tf-report.type.js.map +1 -0
- package/dist/{service/cloudformation/terraform/sim-tf-plan-resources.d.ts → terraform/sim-tf-resource.type.d.ts} +6 -12
- package/dist/terraform/sim-tf-resource.type.d.ts.map +1 -0
- package/dist/terraform/sim-tf-resource.type.js +3 -0
- package/dist/terraform/sim-tf-resource.type.js.map +1 -0
- package/dist/terraform/sim-tf-settle.d.ts +36 -0
- package/dist/terraform/sim-tf-settle.d.ts.map +1 -0
- package/dist/terraform/sim-tf-settle.js +63 -0
- package/dist/terraform/sim-tf-settle.js.map +1 -0
- package/dist/util/filesystem/test-terraform-project.d.ts +11 -0
- package/dist/util/filesystem/test-terraform-project.d.ts.map +1 -1
- package/dist/util/filesystem/test-terraform-project.js +30 -1
- package/dist/util/filesystem/test-terraform-project.js.map +1 -1
- package/package.json +5 -1
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-dkim-tokens.d.ts.map +0 -1
- package/dist/service/cloudformation/resource/cfn/ses/sim-ses-dkim-tokens.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-attribute-reads.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-attribute-reads.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-attributes.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-attributes.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-config.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-config.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-dynamodb.d.ts +0 -15
- package/dist/service/cloudformation/terraform/sim-tf-map-dynamodb.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-dynamodb.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-http-api-route.d.ts +0 -5
- package/dist/service/cloudformation/terraform/sim-tf-map-http-api-route.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-http-api-route.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-http-api.d.ts +0 -12
- package/dist/service/cloudformation/terraform/sim-tf-map-http-api.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-http-api.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-iam.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-iam.js +0 -80
- package/dist/service/cloudformation/terraform/sim-tf-map-iam.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-lambda.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-lambda.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-cors.d.ts +0 -5
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-cors.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-cors.js +0 -12
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-cors.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-encryption.d.ts +0 -5
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-encryption.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-encryption.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-folds.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-s3-folds.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-s3.d.ts +0 -5
- package/dist/service/cloudformation/terraform/sim-tf-map-s3.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-s3.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-sns.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-sns.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-sqs.d.ts +0 -5
- package/dist/service/cloudformation/terraform/sim-tf-map-sqs.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-map-sqs.js +0 -56
- package/dist/service/cloudformation/terraform/sim-tf-map-sqs.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-mapping.type.d.ts +0 -41
- package/dist/service/cloudformation/terraform/sim-tf-mapping.type.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-mapping.type.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-module-outputs.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-module-outputs.js +0 -63
- package/dist/service/cloudformation/terraform/sim-tf-module-outputs.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-plan-index.d.ts +0 -26
- package/dist/service/cloudformation/terraform/sim-tf-plan-index.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-plan-index.js +0 -45
- package/dist/service/cloudformation/terraform/sim-tf-plan-index.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-plan-resources.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-plan-resources.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-plan.type.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-plan.type.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-reference-address.d.ts +0 -27
- package/dist/service/cloudformation/terraform/sim-tf-reference-address.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-reference-address.js +0 -58
- package/dist/service/cloudformation/terraform/sim-tf-reference-address.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-reference.d.ts +0 -64
- package/dist/service/cloudformation/terraform/sim-tf-reference.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-reference.js +0 -122
- package/dist/service/cloudformation/terraform/sim-tf-reference.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-registry.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-registry.js +0 -40
- package/dist/service/cloudformation/terraform/sim-tf-registry.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-report.type.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-report.type.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-folds.d.ts +0 -20
- package/dist/service/cloudformation/terraform/sim-tf-template-folds.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-folds.js +0 -28
- package/dist/service/cloudformation/terraform/sim-tf-template-folds.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-graph.d.ts +0 -29
- package/dist/service/cloudformation/terraform/sim-tf-template-graph.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-graph.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-mappings.d.ts +0 -23
- package/dist/service/cloudformation/terraform/sim-tf-template-mappings.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-mappings.js +0 -72
- package/dist/service/cloudformation/terraform/sim-tf-template-mappings.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-merge.d.ts +0 -21
- package/dist/service/cloudformation/terraform/sim-tf-template-merge.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-merge.js +0 -33
- package/dist/service/cloudformation/terraform/sim-tf-template-merge.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-prune.d.ts +0 -21
- package/dist/service/cloudformation/terraform/sim-tf-template-prune.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-prune.js +0 -51
- package/dist/service/cloudformation/terraform/sim-tf-template-prune.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-pruned.d.ts +0 -18
- package/dist/service/cloudformation/terraform/sim-tf-template-pruned.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-pruned.js +0 -23
- package/dist/service/cloudformation/terraform/sim-tf-template-pruned.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-references.d.ts +0 -10
- package/dist/service/cloudformation/terraform/sim-tf-template-references.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-references.js +0 -39
- package/dist/service/cloudformation/terraform/sim-tf-template-references.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-resolver.d.ts +0 -12
- package/dist/service/cloudformation/terraform/sim-tf-template-resolver.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template-resolver.js +0 -17
- package/dist/service/cloudformation/terraform/sim-tf-template-resolver.js.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template.d.ts +0 -26
- package/dist/service/cloudformation/terraform/sim-tf-template.d.ts.map +0 -1
- package/dist/service/cloudformation/terraform/sim-tf-template.js +0 -54
- package/dist/service/cloudformation/terraform/sim-tf-template.js.map +0 -1
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-unsimulated-properties.d.ts +0 -17
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-unsimulated-properties.d.ts.map +0 -1
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-unsimulated-properties.js +0 -48
- package/dist/service/ses/cfn/identity/sim-cfn-ses-identity-unsimulated-properties.js.map +0 -1
- package/dist/service/ses/command/identity/sim-ses-unsimulated-identity-input.d.ts +0 -12
- package/dist/service/ses/command/identity/sim-ses-unsimulated-identity-input.d.ts.map +0 -1
- package/dist/service/ses/command/identity/sim-ses-unsimulated-identity-input.js +0 -26
- package/dist/service/ses/command/identity/sim-ses-unsimulated-identity-input.js.map +0 -1
- /package/dist/service/{cloudformation/resource/cfn/ses → ses/identity}/sim-ses-dkim-tokens.d.ts +0 -0
- /package/dist/service/{cloudformation/resource/cfn/ses → ses/identity}/sim-ses-dkim-tokens.js +0 -0
- /package/dist/{service/cloudformation/terraform → terraform}/sim-tf-attribute-reads.d.ts +0 -0
- /package/dist/{service/cloudformation/terraform → terraform}/sim-tf-attribute-reads.js +0 -0
- /package/dist/{service/cloudformation/terraform → terraform}/sim-tf-mapping.type.js +0 -0
- /package/dist/{service/cloudformation/terraform → terraform}/sim-tf-plan.type.js +0 -0
- /package/dist/{service/cloudformation/terraform → terraform}/sim-tf-report.type.js +0 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The dimensions an alarm's metric is identified by, which Terraform states as
|
|
3
|
+
* a map and CloudFormation as a list of name and value pairs.
|
|
4
|
+
*
|
|
5
|
+
* Reading a plan means reading records whose keys come from the document
|
|
6
|
+
* rather than from this code, so the object-injection rule fires on every
|
|
7
|
+
* lookup. The records are parsed JSON with no prototype of their own.
|
|
8
|
+
*/
|
|
9
|
+
// oxlint-disable security/detect-object-injection
|
|
10
|
+
import { isRecord } from "../../util/type-guard/record.js";
|
|
11
|
+
import { field } from "../sim-tf-attributes.js";
|
|
12
|
+
/**
|
|
13
|
+
* The dimensions the alarm's metric is identified by.
|
|
14
|
+
*
|
|
15
|
+
* Terraform states them as a map and CloudFormation as a list of name and
|
|
16
|
+
* value pairs. A dimension whose value the plan could not resolve is dropped
|
|
17
|
+
* and the map recorded: the references survive, but they survive for the map
|
|
18
|
+
* rather than per key, so which dimension a resolved value belongs to is not
|
|
19
|
+
* in the plan. An alarm carrying a dimension with no value is one PutMetricAlarm
|
|
20
|
+
* refuses.
|
|
21
|
+
*/
|
|
22
|
+
export function alarmDimensions(context) {
|
|
23
|
+
const value = field(context.resource.values, "dimensions");
|
|
24
|
+
if (!isRecord(value)) {
|
|
25
|
+
return { value: undefined, lost: [] };
|
|
26
|
+
}
|
|
27
|
+
const entries = Object.entries(value).filter((entry) => typeof entry[1] === "string");
|
|
28
|
+
const dropped = entries.length < Object.keys(value).length;
|
|
29
|
+
return {
|
|
30
|
+
value: entries.length === 0
|
|
31
|
+
? undefined
|
|
32
|
+
: entries.map(([Name, Value]) => ({ Name, Value })),
|
|
33
|
+
lost: dropped ? ["dimensions"] : [],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=sim-tf-map-cloudwatch-dimensions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-tf-map-cloudwatch-dimensions.js","sourceRoot":"","sources":["../../../src/terraform/map/sim-tf-map-cloudwatch-dimensions.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,kDAAkD;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAE3D,OAAO,EAAE,KAAK,EAAgC,MAAM,yBAAyB,CAAC;AAQ9E;;;;;;;;;GASG;AACH,MAAM,UAAU,eAAe,CAC7B,OAAgC;IAEhC,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAE3D,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;QACrB,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;IACxC,CAAC;IAED,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,CAC1C,CAAC,KAAK,EAA6B,EAAE,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,QAAQ,CACnE,CAAC;IACF,MAAM,OAAO,GAAG,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC;IAE3D,OAAO;QACL,KAAK,EACH,OAAO,CAAC,MAAM,KAAK,CAAC;YAClB,CAAC,CAAC,SAAS;YACX,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;QACvD,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE;KACpC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type TerraformMappingContext } from "../sim-tf-attributes.js";
|
|
2
|
+
import type { TerraformMappedResource } from "../sim-tf-mapping.type.js";
|
|
3
|
+
/**
|
|
4
|
+
* A metric alarm.
|
|
5
|
+
*
|
|
6
|
+
* Tags go across as they were written. The CloudFormation layer records them
|
|
7
|
+
* against the Resource and never passes them to PutMetricAlarm, which is the
|
|
8
|
+
* one place they would be refused, so a tagged alarm deploys and says that
|
|
9
|
+
* nothing reads its tags.
|
|
10
|
+
*/
|
|
11
|
+
export declare function metricAlarm(context: TerraformMappingContext): TerraformMappedResource;
|
|
12
|
+
//# sourceMappingURL=sim-tf-map-cloudwatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-tf-map-cloudwatch.d.ts","sourceRoot":"","sources":["../../../src/terraform/map/sim-tf-map-cloudwatch.ts"],"names":[],"mappings":"AAMA,OAAO,EAIL,KAAK,uBAAuB,EAC7B,MAAM,yBAAyB,CAAC;AAGjC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAsBzE;;;;;;;GAOG;AACH,wBAAgB,WAAW,CACzB,OAAO,EAAE,uBAAuB,GAC/B,uBAAuB,CAmCzB"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Reading a plan means reading records whose keys come from the document
|
|
3
|
+
* rather than from this code, so the object-injection rule fires on every
|
|
4
|
+
* lookup. The records are parsed JSON with no prototype of their own.
|
|
5
|
+
*/
|
|
6
|
+
// oxlint-disable security/detect-object-injection
|
|
7
|
+
import { properties, renamed, tags, } from "../sim-tf-attributes.js";
|
|
8
|
+
import { attributeList } from "../sim-tf-nested-attributes.js";
|
|
9
|
+
import { alarmDimensions } from "./sim-tf-map-cloudwatch-dimensions.js";
|
|
10
|
+
/**
|
|
11
|
+
* The properties simulated CloudWatch will not create an alarm without.
|
|
12
|
+
*
|
|
13
|
+
* They are the same seven PutMetricAlarm requires, and an alarm missing one
|
|
14
|
+
* fails the Stack around it rather than only itself. Naming them here is also
|
|
15
|
+
* what steps over the two alarm shapes this simulation does not evaluate: an
|
|
16
|
+
* alarm built out of `metric_query` blocks carries no namespace, metric name
|
|
17
|
+
* or statistic of its own, and one watching a percentile carries an
|
|
18
|
+
* `extended_statistic` in place of its `statistic`.
|
|
19
|
+
*/
|
|
20
|
+
const required = [
|
|
21
|
+
"Namespace",
|
|
22
|
+
"MetricName",
|
|
23
|
+
"Statistic",
|
|
24
|
+
"Period",
|
|
25
|
+
"EvaluationPeriods",
|
|
26
|
+
"Threshold",
|
|
27
|
+
"ComparisonOperator",
|
|
28
|
+
];
|
|
29
|
+
/**
|
|
30
|
+
* A metric alarm.
|
|
31
|
+
*
|
|
32
|
+
* Tags go across as they were written. The CloudFormation layer records them
|
|
33
|
+
* against the Resource and never passes them to PutMetricAlarm, which is the
|
|
34
|
+
* one place they would be refused, so a tagged alarm deploys and says that
|
|
35
|
+
* nothing reads its tags.
|
|
36
|
+
*/
|
|
37
|
+
export function metricAlarm(context) {
|
|
38
|
+
const identified = alarmDimensions(context);
|
|
39
|
+
return {
|
|
40
|
+
Type: "AWS::CloudWatch::Alarm",
|
|
41
|
+
Properties: {
|
|
42
|
+
...renamed(context, {
|
|
43
|
+
AlarmName: "alarm_name",
|
|
44
|
+
AlarmDescription: "alarm_description",
|
|
45
|
+
Namespace: "namespace",
|
|
46
|
+
MetricName: "metric_name",
|
|
47
|
+
Statistic: "statistic",
|
|
48
|
+
Unit: "unit",
|
|
49
|
+
Period: "period",
|
|
50
|
+
EvaluationPeriods: "evaluation_periods",
|
|
51
|
+
DatapointsToAlarm: "datapoints_to_alarm",
|
|
52
|
+
Threshold: "threshold",
|
|
53
|
+
ComparisonOperator: "comparison_operator",
|
|
54
|
+
TreatMissingData: "treat_missing_data",
|
|
55
|
+
ActionsEnabled: "actions_enabled",
|
|
56
|
+
}),
|
|
57
|
+
...properties({
|
|
58
|
+
Dimensions: identified.value,
|
|
59
|
+
AlarmActions: attributeList(context, "alarm_actions"),
|
|
60
|
+
OKActions: attributeList(context, "ok_actions"),
|
|
61
|
+
InsufficientDataActions: attributeList(context, "insufficient_data_actions"),
|
|
62
|
+
Tags: tags(context),
|
|
63
|
+
}),
|
|
64
|
+
},
|
|
65
|
+
requires: required,
|
|
66
|
+
lost: identified.lost,
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=sim-tf-map-cloudwatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-tf-map-cloudwatch.js","sourceRoot":"","sources":["../../../src/terraform/map/sim-tf-map-cloudwatch.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,kDAAkD;AAClD,OAAO,EACL,UAAU,EACV,OAAO,EACP,IAAI,GAEL,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAGxE;;;;;;;;;GASG;AACH,MAAM,QAAQ,GAAG;IACf,WAAW;IACX,YAAY;IACZ,WAAW;IACX,QAAQ;IACR,mBAAmB;IACnB,WAAW;IACX,oBAAoB;CACrB,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,UAAU,WAAW,CACzB,OAAgC;IAEhC,MAAM,UAAU,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC;IAE5C,OAAO;QACL,IAAI,EAAE,wBAAwB;QAC9B,UAAU,EAAE;YACV,GAAG,OAAO,CAAC,OAAO,EAAE;gBAClB,SAAS,EAAE,YAAY;gBACvB,gBAAgB,EAAE,mBAAmB;gBACrC,SAAS,EAAE,WAAW;gBACtB,UAAU,EAAE,aAAa;gBACzB,SAAS,EAAE,WAAW;gBACtB,IAAI,EAAE,MAAM;gBACZ,MAAM,EAAE,QAAQ;gBAChB,iBAAiB,EAAE,oBAAoB;gBACvC,iBAAiB,EAAE,qBAAqB;gBACxC,SAAS,EAAE,WAAW;gBACtB,kBAAkB,EAAE,qBAAqB;gBACzC,gBAAgB,EAAE,oBAAoB;gBACtC,cAAc,EAAE,iBAAiB;aAClC,CAAC;YACF,GAAG,UAAU,CAAC;gBACZ,UAAU,EAAE,UAAU,CAAC,KAAK;gBAC5B,YAAY,EAAE,aAAa,CAAC,OAAO,EAAE,eAAe,CAAC;gBACrD,SAAS,EAAE,aAAa,CAAC,OAAO,EAAE,YAAY,CAAC;gBAC/C,uBAAuB,EAAE,aAAa,CACpC,OAAO,EACP,2BAA2B,CAC5B;gBACD,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC;aACpB,CAAC;SACH;QACD,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,UAAU,CAAC,IAAI;KACtB,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type TerraformMappingContext } from "../sim-tf-attributes.js";
|
|
2
|
+
import type { TerraformMappedResource } from "../sim-tf-mapping.type.js";
|
|
3
|
+
/**
|
|
4
|
+
* A user pool client.
|
|
5
|
+
*
|
|
6
|
+
* The pool is required, as it is on real CloudFormation: a client belongs to
|
|
7
|
+
* one pool and there is nowhere to create one without it. A plan whose pool
|
|
8
|
+
* this import left out therefore leaves the client out too.
|
|
9
|
+
*
|
|
10
|
+
* Nothing else is required. The token lifetimes and the OAuth settings arrive
|
|
11
|
+
* unknown on a client that states none, because AWS decides them, and a client
|
|
12
|
+
* created without them gets the same defaults here.
|
|
13
|
+
*/
|
|
14
|
+
export declare function cognitoUserPoolClient(context: TerraformMappingContext): TerraformMappedResource;
|
|
15
|
+
//# sourceMappingURL=sim-tf-map-cognito-client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-tf-map-cognito-client.d.ts","sourceRoot":"","sources":["../../../src/terraform/map/sim-tf-map-cognito-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAChF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEzE;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,uBAAuB,GAC/B,uBAAuB,CAuBzB"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { renamed } from "../sim-tf-attributes.js";
|
|
2
|
+
/**
|
|
3
|
+
* A user pool client.
|
|
4
|
+
*
|
|
5
|
+
* The pool is required, as it is on real CloudFormation: a client belongs to
|
|
6
|
+
* one pool and there is nowhere to create one without it. A plan whose pool
|
|
7
|
+
* this import left out therefore leaves the client out too.
|
|
8
|
+
*
|
|
9
|
+
* Nothing else is required. The token lifetimes and the OAuth settings arrive
|
|
10
|
+
* unknown on a client that states none, because AWS decides them, and a client
|
|
11
|
+
* created without them gets the same defaults here.
|
|
12
|
+
*/
|
|
13
|
+
export function cognitoUserPoolClient(context) {
|
|
14
|
+
return {
|
|
15
|
+
Type: "AWS::Cognito::UserPoolClient",
|
|
16
|
+
Properties: renamed(context, {
|
|
17
|
+
UserPoolId: "user_pool_id",
|
|
18
|
+
ClientName: "name",
|
|
19
|
+
GenerateSecret: "generate_secret",
|
|
20
|
+
ExplicitAuthFlows: "explicit_auth_flows",
|
|
21
|
+
PreventUserExistenceErrors: "prevent_user_existence_errors",
|
|
22
|
+
AccessTokenValidity: "access_token_validity",
|
|
23
|
+
IdTokenValidity: "id_token_validity",
|
|
24
|
+
RefreshTokenValidity: "refresh_token_validity",
|
|
25
|
+
AuthSessionValidity: "auth_session_validity",
|
|
26
|
+
AllowedOAuthFlows: "allowed_oauth_flows",
|
|
27
|
+
AllowedOAuthFlowsUserPoolClient: "allowed_oauth_flows_user_pool_client",
|
|
28
|
+
AllowedOAuthScopes: "allowed_oauth_scopes",
|
|
29
|
+
CallbackURLs: "callback_urls",
|
|
30
|
+
LogoutURLs: "logout_urls",
|
|
31
|
+
DefaultRedirectURI: "default_redirect_uri",
|
|
32
|
+
SupportedIdentityProviders: "supported_identity_providers",
|
|
33
|
+
}),
|
|
34
|
+
requires: ["UserPoolId"],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=sim-tf-map-cognito-client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-tf-map-cognito-client.js","sourceRoot":"","sources":["../../../src/terraform/map/sim-tf-map-cognito-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAgC,MAAM,yBAAyB,CAAC;AAGhF;;;;;;;;;;GAUG;AACH,MAAM,UAAU,qBAAqB,CACnC,OAAgC;IAEhC,OAAO;QACL,IAAI,EAAE,8BAA8B;QACpC,UAAU,EAAE,OAAO,CAAC,OAAO,EAAE;YAC3B,UAAU,EAAE,cAAc;YAC1B,UAAU,EAAE,MAAM;YAClB,cAAc,EAAE,iBAAiB;YACjC,iBAAiB,EAAE,qBAAqB;YACxC,0BAA0B,EAAE,+BAA+B;YAC3D,mBAAmB,EAAE,uBAAuB;YAC5C,eAAe,EAAE,mBAAmB;YACpC,oBAAoB,EAAE,wBAAwB;YAC9C,mBAAmB,EAAE,uBAAuB;YAC5C,iBAAiB,EAAE,qBAAqB;YACxC,+BAA+B,EAAE,sCAAsC;YACvE,kBAAkB,EAAE,sBAAsB;YAC1C,YAAY,EAAE,eAAe;YAC7B,UAAU,EAAE,aAAa;YACzB,kBAAkB,EAAE,sBAAsB;YAC1C,0BAA0B,EAAE,8BAA8B;SAC3D,CAAC;QACF,QAAQ,EAAE,CAAC,YAAY,CAAC;KACzB,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { SimCfnTemplateValue } from "../../service/cloudformation/template/value/sim-cfn-template-value.js";
|
|
2
|
+
import { type TerraformMappingContext } from "../sim-tf-attributes.js";
|
|
3
|
+
/**
|
|
4
|
+
* The attributes the pool holds, one Terraform `schema` block each.
|
|
5
|
+
*
|
|
6
|
+
* A custom attribute's constraints are a nested block of their own, and the
|
|
7
|
+
* provider writes both kinds on every entry, so the one that does not belong
|
|
8
|
+
* to the attribute's type is an empty list and comes back undefined.
|
|
9
|
+
*/
|
|
10
|
+
export declare function userPoolSchema(context: TerraformMappingContext): SimCfnTemplateValue | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* The pool's tags, which CloudFormation carries as a map rather than as the
|
|
13
|
+
* list of key and value pairs it uses everywhere else.
|
|
14
|
+
*
|
|
15
|
+
* `tags_all` is `tags` merged with the provider's default tags, and it is the
|
|
16
|
+
* one that ends up on the pool.
|
|
17
|
+
*/
|
|
18
|
+
export declare function userPoolTags(context: TerraformMappingContext): SimCfnTemplateValue | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* The pool's password policy, which CloudFormation nests under `Policies`.
|
|
21
|
+
*
|
|
22
|
+
* A policy of nothing but nulls is a pool that stated the block and configured
|
|
23
|
+
* nothing in it, so an empty result is left off rather than sent.
|
|
24
|
+
*/
|
|
25
|
+
export declare function userPoolPolicies(context: TerraformMappingContext): SimCfnTemplateValue | undefined;
|
|
26
|
+
//# sourceMappingURL=sim-tf-map-cognito-pool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-tf-map-cognito-pool.d.ts","sourceRoot":"","sources":["../../../src/terraform/map/sim-tf-map-cognito-pool.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uEAAuE,CAAC;AACjH,OAAO,EAML,KAAK,uBAAuB,EAC7B,MAAM,yBAAyB,CAAC;AAGjC;;;;;;GAMG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,uBAAuB,GAC/B,mBAAmB,GAAG,SAAS,CA4BjC;AAoBD;;;;;;GAMG;AACH,wBAAgB,YAAY,CAC1B,OAAO,EAAE,uBAAuB,GAC/B,mBAAmB,GAAG,SAAS,CAKjC;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,uBAAuB,GAC/B,mBAAmB,GAAG,SAAS,CAoBjC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { block, blocks, field, properties, templateValue, } from "../sim-tf-attributes.js";
|
|
2
|
+
import { blockFields } from "../sim-tf-nested-attributes.js";
|
|
3
|
+
/**
|
|
4
|
+
* The attributes the pool holds, one Terraform `schema` block each.
|
|
5
|
+
*
|
|
6
|
+
* A custom attribute's constraints are a nested block of their own, and the
|
|
7
|
+
* provider writes both kinds on every entry, so the one that does not belong
|
|
8
|
+
* to the attribute's type is an empty list and comes back undefined.
|
|
9
|
+
*/
|
|
10
|
+
export function userPoolSchema(context) {
|
|
11
|
+
const declared = blocks(context, "schema");
|
|
12
|
+
if (declared.length === 0) {
|
|
13
|
+
return undefined;
|
|
14
|
+
}
|
|
15
|
+
return declared.map((attributeSchema) => properties({
|
|
16
|
+
Name: field(attributeSchema, "name"),
|
|
17
|
+
AttributeDataType: field(attributeSchema, "attribute_data_type"),
|
|
18
|
+
Mutable: field(attributeSchema, "mutable"),
|
|
19
|
+
Required: field(attributeSchema, "required"),
|
|
20
|
+
StringAttributeConstraints: constraints(attributeSchema, "string_attribute_constraints", { MinLength: "min_length", MaxLength: "max_length" }),
|
|
21
|
+
NumberAttributeConstraints: constraints(attributeSchema, "number_attribute_constraints", { MinValue: "min_value", MaxValue: "max_value" }),
|
|
22
|
+
}));
|
|
23
|
+
}
|
|
24
|
+
/** One attribute's constraints, where the block holding them was written. */
|
|
25
|
+
function constraints(attributeSchema, key, names) {
|
|
26
|
+
const declared = field(attributeSchema, key);
|
|
27
|
+
const [first] = Array.isArray(declared) ? declared : [];
|
|
28
|
+
if (first === undefined || typeof first !== "object" || first === null) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
const bounds = blockFields(first, names);
|
|
32
|
+
return Object.keys(bounds).length === 0 ? undefined : bounds;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* The pool's tags, which CloudFormation carries as a map rather than as the
|
|
36
|
+
* list of key and value pairs it uses everywhere else.
|
|
37
|
+
*
|
|
38
|
+
* `tags_all` is `tags` merged with the provider's default tags, and it is the
|
|
39
|
+
* one that ends up on the pool.
|
|
40
|
+
*/
|
|
41
|
+
export function userPoolTags(context) {
|
|
42
|
+
const values = context.resource.values;
|
|
43
|
+
const declared = field(values, "tags_all") ?? field(values, "tags");
|
|
44
|
+
return templateValue(declared);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* The pool's password policy, which CloudFormation nests under `Policies`.
|
|
48
|
+
*
|
|
49
|
+
* A policy of nothing but nulls is a pool that stated the block and configured
|
|
50
|
+
* nothing in it, so an empty result is left off rather than sent.
|
|
51
|
+
*/
|
|
52
|
+
export function userPoolPolicies(context) {
|
|
53
|
+
const policy = block(context, "password_policy");
|
|
54
|
+
if (policy === undefined) {
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
const password = blockFields(policy, {
|
|
58
|
+
MinimumLength: "minimum_length",
|
|
59
|
+
RequireUppercase: "require_uppercase",
|
|
60
|
+
RequireLowercase: "require_lowercase",
|
|
61
|
+
RequireNumbers: "require_numbers",
|
|
62
|
+
RequireSymbols: "require_symbols",
|
|
63
|
+
TemporaryPasswordValidityDays: "temporary_password_validity_days",
|
|
64
|
+
PasswordHistorySize: "password_history_size",
|
|
65
|
+
});
|
|
66
|
+
return Object.keys(password).length === 0
|
|
67
|
+
? undefined
|
|
68
|
+
: { PasswordPolicy: password };
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=sim-tf-map-cognito-pool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-tf-map-cognito-pool.js","sourceRoot":"","sources":["../../../src/terraform/map/sim-tf-map-cognito-pool.ts"],"names":[],"mappings":"AAYA,OAAO,EACL,KAAK,EACL,MAAM,EACN,KAAK,EACL,UAAU,EACV,aAAa,GAEd,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D;;;;;;GAMG;AACH,MAAM,UAAU,cAAc,CAC5B,OAAgC;IAEhC,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;IAE3C,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC1B,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,QAAQ,CAAC,GAAG,CAAC,CAAC,eAAe,EAAE,EAAE,CACtC,UAAU,CAAC;QACT,IAAI,EAAE,KAAK,CAAC,eAAe,EAAE,MAAM,CAAW;QAC9C,iBAAiB,EAAE,KAAK,CACtB,eAAe,EACf,qBAAqB,CACZ;QACX,OAAO,EAAE,KAAK,CAAC,eAAe,EAAE,SAAS,CAAY;QACrD,QAAQ,EAAE,KAAK,CAAC,eAAe,EAAE,UAAU,CAAY;QACvD,0BAA0B,EAAE,WAAW,CACrC,eAAe,EACf,8BAA8B,EAC9B,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,YAAY,EAAE,CACrD;QACD,0BAA0B,EAAE,WAAW,CACrC,eAAe,EACf,8BAA8B,EAC9B,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,CACjD;KACF,CAAC,CACH,CAAC;AACJ,CAAC;AAED,6EAA6E;AAC7E,SAAS,WAAW,CAClB,eAAwC,EACxC,GAAW,EACX,KAAuC;IAEvC,MAAM,QAAQ,GAAG,KAAK,CAAC,eAAe,EAAE,GAAG,CAAC,CAAC;IAC7C,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAE,QAAsB,CAAC,CAAC,CAAC,EAAE,CAAC;IAEvE,IAAI,KAAK,KAAK,SAAS,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACvE,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,MAAM,GAAG,WAAW,CAAC,KAAgC,EAAE,KAAK,CAAC,CAAC;IAEpE,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC;AAC/D,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,YAAY,CAC1B,OAAgC;IAEhC,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC;IACvC,MAAM,QAAQ,GAAG,KAAK,CAAC,MAAM,EAAE,UAAU,CAAC,IAAI,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEpE,OAAO,aAAa,CAAC,QAAQ,CAAC,CAAC;AACjC,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAC9B,OAAgC;IAEhC,MAAM,MAAM,GAAG,KAAK,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAC;IAEjD,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;QACzB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,QAAQ,GAAG,WAAW,CAAC,MAAM,EAAE;QACnC,aAAa,EAAE,gBAAgB;QAC/B,gBAAgB,EAAE,mBAAmB;QACrC,gBAAgB,EAAE,mBAAmB;QACrC,cAAc,EAAE,iBAAiB;QACjC,cAAc,EAAE,iBAAiB;QACjC,6BAA6B,EAAE,kCAAkC;QACjE,mBAAmB,EAAE,uBAAuB;KAC7C,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,MAAM,KAAK,CAAC;QACvC,CAAC,CAAC,SAAS;QACX,CAAC,CAAC,EAAE,cAAc,EAAE,QAAQ,EAAE,CAAC;AACnC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type TerraformMappingContext } from "../sim-tf-attributes.js";
|
|
2
|
+
import type { TerraformMappedResource } from "../sim-tf-mapping.type.js";
|
|
3
|
+
/**
|
|
4
|
+
* A user pool.
|
|
5
|
+
*
|
|
6
|
+
* `UserPoolTags` is CloudFormation's name for a pool's tags, and unlike almost
|
|
7
|
+
* everywhere else it is a map rather than a list of key and value pairs.
|
|
8
|
+
* Simulated Cognito records every property it does not model against the
|
|
9
|
+
* Resource rather than refusing it, so the pool deploys and says what it is
|
|
10
|
+
* not doing.
|
|
11
|
+
*/
|
|
12
|
+
export declare function cognitoUserPool(context: TerraformMappingContext): TerraformMappedResource;
|
|
13
|
+
//# sourceMappingURL=sim-tf-map-cognito.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-tf-map-cognito.d.ts","sourceRoot":"","sources":["../../../src/terraform/map/sim-tf-map-cognito.ts"],"names":[],"mappings":"AAMA,OAAO,EAGL,KAAK,uBAAuB,EAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAOzE;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,uBAAuB,GAC/B,uBAAuB,CAoBzB"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Reading a plan means reading records whose keys come from the document
|
|
3
|
+
* rather than from this code, so the object-injection rule fires on every
|
|
4
|
+
* lookup. The records are parsed JSON with no prototype of their own.
|
|
5
|
+
*/
|
|
6
|
+
// oxlint-disable security/detect-object-injection
|
|
7
|
+
import { properties, renamed, } from "../sim-tf-attributes.js";
|
|
8
|
+
import { userPoolPolicies, userPoolSchema, userPoolTags, } from "./sim-tf-map-cognito-pool.js";
|
|
9
|
+
/**
|
|
10
|
+
* A user pool.
|
|
11
|
+
*
|
|
12
|
+
* `UserPoolTags` is CloudFormation's name for a pool's tags, and unlike almost
|
|
13
|
+
* everywhere else it is a map rather than a list of key and value pairs.
|
|
14
|
+
* Simulated Cognito records every property it does not model against the
|
|
15
|
+
* Resource rather than refusing it, so the pool deploys and says what it is
|
|
16
|
+
* not doing.
|
|
17
|
+
*/
|
|
18
|
+
export function cognitoUserPool(context) {
|
|
19
|
+
return {
|
|
20
|
+
Type: "AWS::Cognito::UserPool",
|
|
21
|
+
Properties: {
|
|
22
|
+
...renamed(context, {
|
|
23
|
+
UserPoolName: "name",
|
|
24
|
+
MfaConfiguration: "mfa_configuration",
|
|
25
|
+
DeletionProtection: "deletion_protection",
|
|
26
|
+
AutoVerifiedAttributes: "auto_verified_attributes",
|
|
27
|
+
UsernameAttributes: "username_attributes",
|
|
28
|
+
AliasAttributes: "alias_attributes",
|
|
29
|
+
SmsAuthenticationMessage: "sms_authentication_message",
|
|
30
|
+
}),
|
|
31
|
+
...properties({
|
|
32
|
+
Policies: userPoolPolicies(context),
|
|
33
|
+
Schema: userPoolSchema(context),
|
|
34
|
+
UserPoolTags: userPoolTags(context),
|
|
35
|
+
}),
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=sim-tf-map-cognito.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-tf-map-cognito.js","sourceRoot":"","sources":["../../../src/terraform/map/sim-tf-map-cognito.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,kDAAkD;AAClD,OAAO,EACL,UAAU,EACV,OAAO,GAER,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,YAAY,GACb,MAAM,8BAA8B,CAAC;AAEtC;;;;;;;;GAQG;AACH,MAAM,UAAU,eAAe,CAC7B,OAAgC;IAEhC,OAAO;QACL,IAAI,EAAE,wBAAwB;QAC9B,UAAU,EAAE;YACV,GAAG,OAAO,CAAC,OAAO,EAAE;gBAClB,YAAY,EAAE,MAAM;gBACpB,gBAAgB,EAAE,mBAAmB;gBACrC,kBAAkB,EAAE,qBAAqB;gBACzC,sBAAsB,EAAE,0BAA0B;gBAClD,kBAAkB,EAAE,qBAAqB;gBACzC,eAAe,EAAE,kBAAkB;gBACnC,wBAAwB,EAAE,4BAA4B;aACvD,CAAC;YACF,GAAG,UAAU,CAAC;gBACZ,QAAQ,EAAE,gBAAgB,CAAC,OAAO,CAAC;gBACnC,MAAM,EAAE,cAAc,CAAC,OAAO,CAAC;gBAC/B,YAAY,EAAE,YAAY,CAAC,OAAO,CAAC;aACpC,CAAC;SACH;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { SimCfnTemplateValue } from "../../service/cloudformation/template/value/sim-cfn-template-value.js";
|
|
2
|
+
import { type TerraformMappingContext } from "../sim-tf-attributes.js";
|
|
3
|
+
/** The attribute types a table declares, one `attribute` block each. */
|
|
4
|
+
export declare function attributeDefinitions(context: TerraformMappingContext): SimCfnTemplateValue;
|
|
5
|
+
/**
|
|
6
|
+
* A key schema, from the hash and range key attribute names.
|
|
7
|
+
*
|
|
8
|
+
* An optional string inside a nested block arrives as an empty string rather
|
|
9
|
+
* than as null, which is how a top-level optional attribute arrives. A range
|
|
10
|
+
* key that was never declared reads as `""`, and taking it at face value
|
|
11
|
+
* declares an index with a nameless RANGE element.
|
|
12
|
+
*/
|
|
13
|
+
export declare function keySchema(hashKey: unknown, rangeKey: unknown): SimCfnTemplateValue | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* The global secondary indexes, each provisioned the way the table is.
|
|
16
|
+
*
|
|
17
|
+
* An index of a provisioned table carries a capacity pair of its own, under
|
|
18
|
+
* the same attribute names the table uses, and an index of an on-demand table
|
|
19
|
+
* carries the pair at zero. So the property follows the table's billing mode
|
|
20
|
+
* rather than the presence of the attributes.
|
|
21
|
+
*/
|
|
22
|
+
export declare function secondaryIndexes(context: TerraformMappingContext, provisioned: boolean): SimCfnTemplateValue | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* The capacity a provisioned table or index is created with.
|
|
25
|
+
*
|
|
26
|
+
* Simulated DynamoDB requires `ProvisionedThroughput` under `PROVISIONED`
|
|
27
|
+
* billing and refuses it under `PAY_PER_REQUEST`, as real DynamoDB does either
|
|
28
|
+
* way, so a table that leaves it off is refused along with the Stack around it.
|
|
29
|
+
*/
|
|
30
|
+
export declare function throughput(values: Record<string, unknown>): SimCfnTemplateValue;
|
|
31
|
+
//# sourceMappingURL=sim-tf-map-dynamodb-keys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-tf-map-dynamodb-keys.d.ts","sourceRoot":"","sources":["../../../src/terraform/map/sim-tf-map-dynamodb-keys.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uEAAuE,CAAC;AACjH,OAAO,EAIL,KAAK,uBAAuB,EAC7B,MAAM,yBAAyB,CAAC;AAEjC,wEAAwE;AACxE,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,uBAAuB,GAC/B,mBAAmB,CAKrB;AAED;;;;;;;GAOG;AACH,wBAAgB,SAAS,CACvB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,OAAO,GAChB,mBAAmB,GAAG,SAAS,CAUjC;AAMD;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,uBAAuB,EAChC,WAAW,EAAE,OAAO,GACnB,mBAAmB,GAAG,SAAS,CAiBjC;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CACxB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9B,mBAAmB,CAKrB"}
|
|
@@ -1,36 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/**
|
|
3
|
-
export function
|
|
4
|
-
const values = context.resource.values;
|
|
5
|
-
const ttl = block(context, "ttl");
|
|
6
|
-
return {
|
|
7
|
-
Type: "AWS::DynamoDB::Table",
|
|
8
|
-
Properties: {
|
|
9
|
-
...renamed(context, { TableName: "name", BillingMode: "billing_mode" }),
|
|
10
|
-
...properties({
|
|
11
|
-
AttributeDefinitions: attributeDefinitions(context),
|
|
12
|
-
KeySchema: keySchema(field(values, "hash_key"), field(values, "range_key")),
|
|
13
|
-
GlobalSecondaryIndexes: secondaryIndexes(context),
|
|
14
|
-
TimeToLiveSpecification: timeToLive(ttl),
|
|
15
|
-
Tags: tags(context),
|
|
16
|
-
}),
|
|
17
|
-
},
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
function attributeDefinitions(context) {
|
|
1
|
+
import { blocks, field, properties, } from "../sim-tf-attributes.js";
|
|
2
|
+
/** The attribute types a table declares, one `attribute` block each. */
|
|
3
|
+
export function attributeDefinitions(context) {
|
|
21
4
|
return blocks(context, "attribute").map((entry) => ({
|
|
22
5
|
AttributeName: field(entry, "name"),
|
|
23
6
|
AttributeType: field(entry, "type"),
|
|
24
7
|
}));
|
|
25
8
|
}
|
|
26
|
-
function timeToLive(ttl) {
|
|
27
|
-
return ttl === undefined
|
|
28
|
-
? undefined
|
|
29
|
-
: {
|
|
30
|
-
AttributeName: field(ttl, "attribute_name"),
|
|
31
|
-
Enabled: field(ttl, "enabled") === true,
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
9
|
/**
|
|
35
10
|
* A key schema, from the hash and range key attribute names.
|
|
36
11
|
*
|
|
@@ -51,7 +26,15 @@ export function keySchema(hashKey, rangeKey) {
|
|
|
51
26
|
function named(value) {
|
|
52
27
|
return typeof value === "string" && value.length > 0;
|
|
53
28
|
}
|
|
54
|
-
|
|
29
|
+
/**
|
|
30
|
+
* The global secondary indexes, each provisioned the way the table is.
|
|
31
|
+
*
|
|
32
|
+
* An index of a provisioned table carries a capacity pair of its own, under
|
|
33
|
+
* the same attribute names the table uses, and an index of an on-demand table
|
|
34
|
+
* carries the pair at zero. So the property follows the table's billing mode
|
|
35
|
+
* rather than the presence of the attributes.
|
|
36
|
+
*/
|
|
37
|
+
export function secondaryIndexes(context, provisioned) {
|
|
55
38
|
const indexes = blocks(context, "global_secondary_index");
|
|
56
39
|
if (indexes.length === 0) {
|
|
57
40
|
return undefined;
|
|
@@ -63,12 +46,26 @@ function secondaryIndexes(context) {
|
|
|
63
46
|
ProjectionType: field(index, "projection_type"),
|
|
64
47
|
NonKeyAttributes: nonEmptyList(field(index, "non_key_attributes")),
|
|
65
48
|
}),
|
|
49
|
+
...(provisioned && { ProvisionedThroughput: throughput(index) }),
|
|
66
50
|
}));
|
|
67
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* The capacity a provisioned table or index is created with.
|
|
54
|
+
*
|
|
55
|
+
* Simulated DynamoDB requires `ProvisionedThroughput` under `PROVISIONED`
|
|
56
|
+
* billing and refuses it under `PAY_PER_REQUEST`, as real DynamoDB does either
|
|
57
|
+
* way, so a table that leaves it off is refused along with the Stack around it.
|
|
58
|
+
*/
|
|
59
|
+
export function throughput(values) {
|
|
60
|
+
return {
|
|
61
|
+
ReadCapacityUnits: field(values, "read_capacity"),
|
|
62
|
+
WriteCapacityUnits: field(values, "write_capacity"),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
68
65
|
/** A Terraform list attribute, where the provider left anything in it. */
|
|
69
66
|
function nonEmptyList(value) {
|
|
70
67
|
return Array.isArray(value) && value.length > 0
|
|
71
68
|
? value
|
|
72
69
|
: undefined;
|
|
73
70
|
}
|
|
74
|
-
//# sourceMappingURL=sim-tf-map-dynamodb.js.map
|
|
71
|
+
//# sourceMappingURL=sim-tf-map-dynamodb-keys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-tf-map-dynamodb-keys.js","sourceRoot":"","sources":["../../../src/terraform/map/sim-tf-map-dynamodb-keys.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,MAAM,EACN,KAAK,EACL,UAAU,GAEX,MAAM,yBAAyB,CAAC;AAEjC,wEAAwE;AACxE,MAAM,UAAU,oBAAoB,CAClC,OAAgC;IAEhC,OAAO,MAAM,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QAClD,aAAa,EAAE,KAAK,CAAC,KAAK,EAAE,MAAM,CAAW;QAC7C,aAAa,EAAE,KAAK,CAAC,KAAK,EAAE,MAAM,CAAW;KAC9C,CAAC,CAAC,CAAC;AACN,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,SAAS,CACvB,OAAgB,EAChB,QAAiB;IAEjB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC;QACpB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC3B,CAAC,CAAC,CAAC,EAAE,aAAa,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;QACjD,CAAC,CAAC,EAAE,CAAC;IAEP,OAAO,CAAC,EAAE,aAAa,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,GAAG,KAAK,CAAC,CAAC;AACjE,CAAC;AAED,SAAS,KAAK,CAAC,KAAc;IAC3B,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;AACvD,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,gBAAgB,CAC9B,OAAgC,EAChC,WAAoB;IAEpB,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,EAAE,wBAAwB,CAAC,CAAC;IAE1D,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACzB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QAC7B,SAAS,EAAE,KAAK,CAAC,KAAK,EAAE,MAAM,CAAW;QACzC,SAAS,EACP,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,UAAU,CAAC,EAAE,KAAK,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC,IAAI,EAAE;QACtE,UAAU,EAAE,UAAU,CAAC;YACrB,cAAc,EAAE,KAAK,CAAC,KAAK,EAAE,iBAAiB,CAAW;YACzD,gBAAgB,EAAE,YAAY,CAAC,KAAK,CAAC,KAAK,EAAE,oBAAoB,CAAC,CAAC;SACnE,CAAC;QACF,GAAG,CAAC,WAAW,IAAI,EAAE,qBAAqB,EAAE,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC;KACjE,CAAC,CAAC,CAAC;AACN,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,UAAU,CACxB,MAA+B;IAE/B,OAAO;QACL,iBAAiB,EAAE,KAAK,CAAC,MAAM,EAAE,eAAe,CAAW;QAC3D,kBAAkB,EAAE,KAAK,CAAC,MAAM,EAAE,gBAAgB,CAAW;KAC9D,CAAC;AACJ,CAAC;AAED,0EAA0E;AAC1E,SAAS,YAAY,CAAC,KAAc;IAClC,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC;QAC7C,CAAC,CAAE,KAA6B;QAChC,CAAC,CAAC,SAAS,CAAC;AAChB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type TerraformMappingContext } from "../sim-tf-attributes.js";
|
|
2
|
+
import type { TerraformMappedResource } from "../sim-tf-mapping.type.js";
|
|
3
|
+
/** A table, with the key schema rebuilt from its key attribute names. */
|
|
4
|
+
export declare function dynamodbTable(context: TerraformMappingContext): TerraformMappedResource;
|
|
5
|
+
//# sourceMappingURL=sim-tf-map-dynamodb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-tf-map-dynamodb.d.ts","sourceRoot":"","sources":["../../../src/terraform/map/sim-tf-map-dynamodb.ts"],"names":[],"mappings":"AAOA,OAAO,EAML,KAAK,uBAAuB,EAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAQzE,yEAAyE;AACzE,wBAAgB,aAAa,CAC3B,OAAO,EAAE,uBAAuB,GAC/B,uBAAuB,CAsBzB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { block, field, properties, renamed, tags, } from "../sim-tf-attributes.js";
|
|
2
|
+
import { attributeDefinitions, keySchema, secondaryIndexes, throughput, } from "./sim-tf-map-dynamodb-keys.js";
|
|
3
|
+
/** A table, with the key schema rebuilt from its key attribute names. */
|
|
4
|
+
export function dynamodbTable(context) {
|
|
5
|
+
const values = context.resource.values;
|
|
6
|
+
const ttl = block(context, "ttl");
|
|
7
|
+
const provisioned = field(values, "billing_mode") === "PROVISIONED";
|
|
8
|
+
return {
|
|
9
|
+
Type: "AWS::DynamoDB::Table",
|
|
10
|
+
Properties: {
|
|
11
|
+
...renamed(context, { TableName: "name", BillingMode: "billing_mode" }),
|
|
12
|
+
...properties({
|
|
13
|
+
AttributeDefinitions: attributeDefinitions(context),
|
|
14
|
+
KeySchema: keySchema(field(values, "hash_key"), field(values, "range_key")),
|
|
15
|
+
GlobalSecondaryIndexes: secondaryIndexes(context, provisioned),
|
|
16
|
+
ProvisionedThroughput: provisioned ? throughput(values) : undefined,
|
|
17
|
+
TimeToLiveSpecification: timeToLive(ttl),
|
|
18
|
+
Tags: tags(context),
|
|
19
|
+
}),
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function timeToLive(ttl) {
|
|
24
|
+
return ttl === undefined
|
|
25
|
+
? undefined
|
|
26
|
+
: {
|
|
27
|
+
AttributeName: field(ttl, "attribute_name"),
|
|
28
|
+
Enabled: field(ttl, "enabled") === true,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=sim-tf-map-dynamodb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-tf-map-dynamodb.js","sourceRoot":"","sources":["../../../src/terraform/map/sim-tf-map-dynamodb.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,KAAK,EACL,KAAK,EACL,UAAU,EACV,OAAO,EACP,IAAI,GAEL,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EACL,oBAAoB,EACpB,SAAS,EACT,gBAAgB,EAChB,UAAU,GACX,MAAM,+BAA+B,CAAC;AAEvC,yEAAyE;AACzE,MAAM,UAAU,aAAa,CAC3B,OAAgC;IAEhC,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC;IACvC,MAAM,GAAG,GAAG,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAClC,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,EAAE,cAAc,CAAC,KAAK,aAAa,CAAC;IAEpE,OAAO;QACL,IAAI,EAAE,sBAAsB;QAC5B,UAAU,EAAE;YACV,GAAG,OAAO,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC;YACvE,GAAG,UAAU,CAAC;gBACZ,oBAAoB,EAAE,oBAAoB,CAAC,OAAO,CAAC;gBACnD,SAAS,EAAE,SAAS,CAClB,KAAK,CAAC,MAAM,EAAE,UAAU,CAAC,EACzB,KAAK,CAAC,MAAM,EAAE,WAAW,CAAC,CAC3B;gBACD,sBAAsB,EAAE,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC;gBAC9D,qBAAqB,EAAE,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS;gBACnE,uBAAuB,EAAE,UAAU,CAAC,GAAG,CAAC;gBACxC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC;aACpB,CAAC;SACH;KACF,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CACjB,GAAwC;IAExC,OAAO,GAAG,KAAK,SAAS;QACtB,CAAC,CAAC,SAAS;QACX,CAAC,CAAC;YACE,aAAa,EAAE,KAAK,CAAC,GAAG,EAAE,gBAAgB,CAAW;YACrD,OAAO,EAAE,KAAK,CAAC,GAAG,EAAE,SAAS,CAAC,KAAK,IAAI;SACxC,CAAC;AACR,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type TerraformMappingContext } from "../sim-tf-attributes.js";
|
|
2
|
+
import type { TerraformMappedResource } from "../sim-tf-mapping.type.js";
|
|
3
|
+
/**
|
|
4
|
+
* A repository.
|
|
5
|
+
*
|
|
6
|
+
* The name is the only property simulated ECR acts on. The rest describe image
|
|
7
|
+
* content, and nothing here pulls or inspects an image, so they are carried
|
|
8
|
+
* across and recorded against the Resource rather than left off. A repository
|
|
9
|
+
* scanning on push says on its Resource that no image is ever scanned.
|
|
10
|
+
*/
|
|
11
|
+
export declare function ecrRepository(context: TerraformMappingContext): TerraformMappedResource;
|
|
12
|
+
//# sourceMappingURL=sim-tf-map-ecr.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-tf-map-ecr.d.ts","sourceRoot":"","sources":["../../../src/terraform/map/sim-tf-map-ecr.ts"],"names":[],"mappings":"AAMA,OAAO,EAML,KAAK,uBAAuB,EAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEzE;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAC3B,OAAO,EAAE,uBAAuB,GAC/B,uBAAuB,CAmBzB"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Reading a plan means reading records whose keys come from the document
|
|
3
|
+
* rather than from this code, so the object-injection rule fires on every
|
|
4
|
+
* lookup. The records are parsed JSON with no prototype of their own.
|
|
5
|
+
*/
|
|
6
|
+
// oxlint-disable security/detect-object-injection
|
|
7
|
+
import { block, field, properties, renamed, tags, } from "../sim-tf-attributes.js";
|
|
8
|
+
/**
|
|
9
|
+
* A repository.
|
|
10
|
+
*
|
|
11
|
+
* The name is the only property simulated ECR acts on. The rest describe image
|
|
12
|
+
* content, and nothing here pulls or inspects an image, so they are carried
|
|
13
|
+
* across and recorded against the Resource rather than left off. A repository
|
|
14
|
+
* scanning on push says on its Resource that no image is ever scanned.
|
|
15
|
+
*/
|
|
16
|
+
export function ecrRepository(context) {
|
|
17
|
+
const scanning = block(context, "image_scanning_configuration");
|
|
18
|
+
return {
|
|
19
|
+
Type: "AWS::ECR::Repository",
|
|
20
|
+
Properties: {
|
|
21
|
+
...renamed(context, {
|
|
22
|
+
RepositoryName: "name",
|
|
23
|
+
ImageTagMutability: "image_tag_mutability",
|
|
24
|
+
}),
|
|
25
|
+
...properties({
|
|
26
|
+
ImageScanningConfiguration: scanning === undefined
|
|
27
|
+
? undefined
|
|
28
|
+
: { ScanOnPush: field(scanning, "scan_on_push") === true },
|
|
29
|
+
Tags: tags(context),
|
|
30
|
+
}),
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=sim-tf-map-ecr.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-tf-map-ecr.js","sourceRoot":"","sources":["../../../src/terraform/map/sim-tf-map-ecr.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,kDAAkD;AAClD,OAAO,EACL,KAAK,EACL,KAAK,EACL,UAAU,EACV,OAAO,EACP,IAAI,GAEL,MAAM,yBAAyB,CAAC;AAGjC;;;;;;;GAOG;AACH,MAAM,UAAU,aAAa,CAC3B,OAAgC;IAEhC,MAAM,QAAQ,GAAG,KAAK,CAAC,OAAO,EAAE,8BAA8B,CAAC,CAAC;IAEhE,OAAO;QACL,IAAI,EAAE,sBAAsB;QAC5B,UAAU,EAAE;YACV,GAAG,OAAO,CAAC,OAAO,EAAE;gBAClB,cAAc,EAAE,MAAM;gBACtB,kBAAkB,EAAE,sBAAsB;aAC3C,CAAC;YACF,GAAG,UAAU,CAAC;gBACZ,0BAA0B,EACxB,QAAQ,KAAK,SAAS;oBACpB,CAAC,CAAC,SAAS;oBACX,CAAC,CAAC,EAAE,UAAU,EAAE,KAAK,CAAC,QAAQ,EAAE,cAAc,CAAC,KAAK,IAAI,EAAE;gBAC9D,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC;aACpB,CAAC;SACH;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type TerraformMappingContext } from "../sim-tf-attributes.js";
|
|
2
|
+
import type { TerraformMappedResource, TerraformResourceFold } from "../sim-tf-mapping.type.js";
|
|
3
|
+
/**
|
|
4
|
+
* A rule.
|
|
5
|
+
*
|
|
6
|
+
* Tags are left off. Simulated EventBridge refuses a `Tags` property outright,
|
|
7
|
+
* because a rule's tags never reach PutRule and a tagged rule would otherwise
|
|
8
|
+
* deploy and lose them without a word, so a rule carrying tags fails the Stack
|
|
9
|
+
* around it rather than only itself.
|
|
10
|
+
*
|
|
11
|
+
* Terraform carries the enabled state twice. `state` is the current spelling
|
|
12
|
+
* and `is_enabled` is the boolean the provider deprecated in favour of it.
|
|
13
|
+
*/
|
|
14
|
+
export declare function eventRule(context: TerraformMappingContext): TerraformMappedResource;
|
|
15
|
+
/**
|
|
16
|
+
* The target resources, which Terraform declares apart from the rule they
|
|
17
|
+
* belong to.
|
|
18
|
+
*
|
|
19
|
+
* CloudFormation holds them as one `Targets` list on the rule, so each fold
|
|
20
|
+
* adds an entry to what is already there rather than replacing it. A rule with
|
|
21
|
+
* three targets is three Terraform resources and one `AWS::Events::Rule`.
|
|
22
|
+
*/
|
|
23
|
+
export declare const eventTargetFolds: ReadonlyMap<string, TerraformResourceFold>;
|
|
24
|
+
//# sourceMappingURL=sim-tf-map-events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sim-tf-map-events.d.ts","sourceRoot":"","sources":["../../../src/terraform/map/sim-tf-map-events.ts"],"names":[],"mappings":"AAQA,OAAO,EAKL,KAAK,uBAAuB,EAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EACV,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,2BAA2B,CAAC;AAEnC;;;;;;;;;;GAUG;AACH,wBAAgB,SAAS,CACvB,OAAO,EAAE,uBAAuB,GAC/B,uBAAuB,CAqBzB;AA8CD;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,EAAE,WAAW,CAAC,MAAM,EAAE,qBAAqB,CAMpE,CAAC"}
|