nomoss 0.0.5 → 0.0.6
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/CHANGELOG.md +16 -0
- package/README.md +3 -1
- package/ROADMAP.md +1 -1
- package/docs/README.md +2 -0
- package/docs/application/aws-resource-coverage.md +111 -20
- package/docs/application/designs/awsRequestBodyEncoding.ts +91 -0
- package/docs/application/designs/createBucketModeledErrors.ts +164 -0
- package/docs/application/designs/describeSubnetsEc2Query.ts +186 -0
- package/docs/application/designs/getBucketTaggingResponseDecoding.ts +136 -0
- package/docs/application/designs/lambdaGetPolicyRequest.ts +85 -0
- package/docs/application/designs/s3GetObjectDownload.ts +97 -0
- package/docs/application/designs/s3ObjectMetadata.ts +154 -0
- package/docs/application/designs/selectObjectContentEvents.ts +185 -0
- package/docs/application/generation-architecture.md +38 -0
- package/docs/application/resource-operations.md +4 -2
- package/docs/development/code-documentation.md +2 -0
- package/docs/development/design-walkthroughs.md +49 -0
- package/docs/development/effect-native-development.md +31 -2
- package/docs/development/review-code.md +1 -1
- package/docs/development/review-remediation-spec.md +1 -0
- package/docs/development/testing.md +20 -0
- package/docs/operations/releasing.md +4 -2
- package/examples/queue/application.ts +1 -1
- package/media/nomoss-logo.svg +16 -0
- package/package.json +8 -14
- package/providers/aws/README.md +7 -7
- package/providers/aws/awsEnvironment.ts +3 -3
- package/providers/aws/generated/resources/apigateway/apikey.ts +335 -0
- package/providers/aws/generated/resources/apigateway/authorizer.ts +329 -0
- package/providers/aws/generated/resources/apigateway/basepathmapping.ts +265 -0
- package/providers/aws/generated/resources/apigateway/deployment.ts +515 -0
- package/providers/aws/generated/resources/apigateway/domainname.ts +354 -0
- package/providers/aws/generated/resources/apigateway/gatewayresponse.ts +222 -0
- package/providers/aws/generated/resources/apigateway/method.ts +819 -0
- package/providers/aws/generated/resources/apigateway/model.ts +248 -0
- package/providers/aws/generated/resources/apigateway/requestvalidator.ts +224 -0
- package/providers/aws/generated/resources/apigateway/resource.ts +235 -0
- package/providers/aws/generated/resources/apigateway/restapi.ts +583 -0
- package/providers/aws/generated/resources/apigateway/stage.ts +656 -0
- package/providers/aws/generated/resources/apigateway/usageplan.ts +394 -0
- package/providers/aws/generated/resources/apigateway/usageplankey.ts +228 -0
- package/providers/aws/generated/resources/apigatewayv2/api.ts +40 -60
- package/providers/aws/generated/resources/apigatewayv2/apimapping.ts +284 -0
- package/providers/aws/generated/resources/apigatewayv2/authorizer.ts +333 -0
- package/providers/aws/generated/resources/apigatewayv2/deployment.ts +226 -0
- package/providers/aws/generated/resources/apigatewayv2/domainname.ts +333 -0
- package/providers/aws/generated/resources/apigatewayv2/integration.ts +70 -103
- package/providers/aws/generated/resources/apigatewayv2/integrationresponse.ts +323 -0
- package/providers/aws/generated/resources/apigatewayv2/model.ts +241 -0
- package/providers/aws/generated/resources/apigatewayv2/route.ts +59 -63
- package/providers/aws/generated/resources/apigatewayv2/routeresponse.ts +330 -0
- package/providers/aws/generated/resources/apigatewayv2/routingrule.ts +349 -0
- package/providers/aws/generated/resources/apigatewayv2/stage.ts +45 -66
- package/providers/aws/generated/resources/apigatewayv2/vpclink.ts +256 -0
- package/providers/aws/generated/resources/appsync/api.ts +486 -0
- package/providers/aws/generated/resources/appsync/apicache.ts +169 -0
- package/providers/aws/generated/resources/appsync/apikey.ts +245 -0
- package/providers/aws/generated/resources/appsync/channelnamespace.ts +444 -0
- package/providers/aws/generated/resources/appsync/datasource.ts +757 -0
- package/providers/aws/generated/resources/appsync/domainname.ts +355 -0
- package/providers/aws/generated/resources/appsync/domainnameapiassociation.ts +284 -0
- package/providers/aws/generated/resources/appsync/functionconfiguration.ts +448 -0
- package/providers/aws/generated/resources/appsync/graphqlapi.ts +1028 -0
- package/providers/aws/generated/resources/appsync/graphqlschema.ts +188 -0
- package/providers/aws/generated/resources/appsync/resolver.ts +514 -0
- package/providers/aws/generated/resources/appsync/sourceapiassociation.ts +429 -0
- package/providers/aws/generated/resources/certificatemanager/certificate.ts +211 -0
- package/providers/aws/generated/resources/cloudfront/cachepolicy.ts +352 -0
- package/providers/aws/generated/resources/cloudfront/distribution.ts +2477 -0
- package/providers/aws/generated/resources/cloudfront/function.ts +313 -0
- package/providers/aws/generated/resources/cloudfront/originaccesscontrol.ts +204 -0
- package/providers/aws/generated/resources/cloudfront/originrequestpolicy.ts +285 -0
- package/providers/aws/generated/resources/cloudfront/responseheaderspolicy.ts +591 -0
- package/providers/aws/generated/resources/cloudwatch/alarm.ts +4545 -0
- package/providers/aws/generated/resources/cloudwatch/compositealarm.ts +678 -0
- package/providers/aws/generated/resources/cloudwatch/dashboard.ts +229 -0
- package/providers/aws/generated/resources/cognito/identitypool.ts +419 -0
- package/providers/aws/generated/resources/cognito/identitypoolroleattachment.ts +288 -0
- package/providers/aws/generated/resources/cognito/userpool.ts +1372 -0
- package/providers/aws/generated/resources/cognito/userpoolclient.ts +555 -0
- package/providers/aws/generated/resources/cognito/userpooldomain.ts +223 -0
- package/providers/aws/generated/resources/cognito/userpoolgroup.ts +265 -0
- package/providers/aws/generated/resources/cognito/userpoolidentityprovider.ts +216 -0
- package/providers/aws/generated/resources/cognito/userpoolresourceserver.ts +233 -0
- package/providers/aws/generated/resources/dynamodb/globaltable.ts +1002 -0
- package/providers/aws/generated/resources/dynamodb/table.ts +1058 -0
- package/providers/aws/generated/resources/ec2/eip.ts +303 -0
- package/providers/aws/generated/resources/ec2/instance.ts +1756 -0
- package/providers/aws/generated/resources/ec2/internetgateway.ts +185 -0
- package/providers/aws/generated/resources/ec2/launchtemplate.ts +2218 -0
- package/providers/aws/generated/resources/ec2/natgateway.ts +509 -0
- package/providers/aws/generated/resources/ec2/route.ts +595 -0
- package/providers/aws/generated/resources/ec2/routetable.ts +207 -0
- package/providers/aws/generated/resources/ec2/securitygroup.ts +460 -0
- package/providers/aws/generated/resources/ec2/securitygroupegress.ts +332 -0
- package/providers/aws/generated/resources/ec2/securitygroupingress.ts +488 -0
- package/providers/aws/generated/resources/ec2/subnet.ts +492 -0
- package/providers/aws/generated/resources/ec2/subnetroutetableassociation.ts +228 -0
- package/providers/aws/generated/resources/ec2/volume.ts +267 -0
- package/providers/aws/generated/resources/ec2/volumeattachment.ts +268 -0
- package/providers/aws/generated/resources/ec2/vpc.ts +288 -0
- package/providers/aws/generated/resources/ec2/vpcendpoint.ts +660 -0
- package/providers/aws/generated/resources/ec2/vpcgatewayattachment.ts +290 -0
- package/providers/aws/generated/resources/ec2/vpcpeeringconnection.ts +310 -0
- package/providers/aws/generated/resources/ecr/repository.ts +627 -0
- package/providers/aws/generated/resources/ecs/cluster.ts +616 -0
- package/providers/aws/generated/resources/ecs/service.ts +2065 -0
- package/providers/aws/generated/resources/ecs/taskdefinition.ts +1848 -0
- package/providers/aws/generated/resources/elasticloadbalancingv2/listener.ts +1166 -0
- package/providers/aws/generated/resources/elasticloadbalancingv2/listenercertificate.ts +168 -0
- package/providers/aws/generated/resources/elasticloadbalancingv2/listenerrule.ts +1219 -0
- package/providers/aws/generated/resources/elasticloadbalancingv2/loadbalancer.ts +706 -0
- package/providers/aws/generated/resources/elasticloadbalancingv2/targetgroup.ts +699 -0
- package/providers/aws/generated/resources/events/apidestination.ts +314 -0
- package/providers/aws/generated/resources/events/archive.ts +316 -0
- package/providers/aws/generated/resources/events/connection.ts +609 -0
- package/providers/aws/generated/resources/events/endpoint.ts +551 -0
- package/providers/aws/generated/resources/events/eventbus.ts +261 -0
- package/providers/aws/generated/resources/events/eventbuspolicy.ts +343 -0
- package/providers/aws/generated/resources/events/rule.ts +1253 -0
- package/providers/aws/generated/resources/eventschemas/discoverer.ts +273 -0
- package/providers/aws/generated/resources/eventschemas/registry.ts +183 -0
- package/providers/aws/generated/resources/eventschemas/registrypolicy.ts +193 -0
- package/providers/aws/generated/resources/eventschemas/schema.ts +305 -0
- package/providers/aws/generated/resources/iam/accesskey.ts +12 -16
- package/providers/aws/generated/resources/iam/group.ts +13 -16
- package/providers/aws/generated/resources/iam/grouppolicy.ts +16 -20
- package/providers/aws/generated/resources/iam/instanceprofile.ts +2 -2
- package/providers/aws/generated/resources/iam/managedpolicy.ts +27 -36
- package/providers/aws/generated/resources/iam/oidcprovider.ts +52 -104
- package/providers/aws/generated/resources/iam/policy.ts +33 -90
- package/providers/aws/generated/resources/iam/role.ts +45 -60
- package/providers/aws/generated/resources/iam/rolepolicy.ts +16 -20
- package/providers/aws/generated/resources/iam/samlprovider.ts +72 -164
- package/providers/aws/generated/resources/iam/servercertificate.ts +73 -187
- package/providers/aws/generated/resources/iam/servicelinkedrole.ts +24 -40
- package/providers/aws/generated/resources/iam/user.ts +26 -32
- package/providers/aws/generated/resources/iam/userpolicy.ts +16 -20
- package/providers/aws/generated/resources/iam/usertogroupaddition.ts +2 -2
- package/providers/aws/generated/resources/iam/virtualmfadevice.ts +53 -97
- package/providers/aws/generated/resources/kms/alias.ts +225 -0
- package/providers/aws/generated/resources/kms/key.ts +33 -207
- package/providers/aws/generated/resources/kms/replicakey.ts +292 -0
- package/providers/aws/generated/resources/lambda/alias.ts +301 -0
- package/providers/aws/generated/resources/lambda/codesigningconfig.ts +414 -0
- package/providers/aws/generated/resources/lambda/eventinvokeconfig.ts +677 -0
- package/providers/aws/generated/resources/lambda/eventsourcemapping.ts +1798 -0
- package/providers/aws/generated/resources/lambda/function.ts +135 -181
- package/providers/aws/generated/resources/lambda/layerversion.ts +298 -0
- package/providers/aws/generated/resources/lambda/layerversionpermission.ts +233 -0
- package/providers/aws/generated/resources/lambda/permission.ts +13 -14
- package/providers/aws/generated/resources/lambda/url.ts +452 -0
- package/providers/aws/generated/resources/lambda/version.ts +349 -0
- package/providers/aws/generated/resources/pipes/pipe.ts +3801 -0
- package/providers/aws/generated/resources/rds/dbcluster.ts +1710 -0
- package/providers/aws/generated/resources/rds/dbinstance.ts +2248 -0
- package/providers/aws/generated/resources/rds/dbsubnetgroup.ts +270 -0
- package/providers/aws/generated/resources/route53/healthcheck.ts +648 -0
- package/providers/aws/generated/resources/route53/hostedzone.ts +430 -0
- package/providers/aws/generated/resources/route53/recordset.ts +249 -0
- package/providers/aws/generated/resources/route53/recordsetgroup.ts +263 -0
- package/providers/aws/generated/resources/s3/accesspoint.ts +616 -0
- package/providers/aws/generated/resources/s3/bucket.ts +1733 -1831
- package/providers/aws/generated/resources/s3/bucketpolicy.ts +214 -0
- package/providers/aws/generated/resources/scheduler/schedule.ts +1563 -0
- package/providers/aws/generated/resources/scheduler/schedulegroup.ts +351 -0
- package/providers/aws/generated/resources/secretsmanager/resourcepolicy.ts +242 -0
- package/providers/aws/generated/resources/secretsmanager/rotationschedule.ts +314 -0
- package/providers/aws/generated/resources/secretsmanager/secret.ts +327 -0
- package/providers/aws/generated/resources/secretsmanager/secrettargetattachment.ts +167 -0
- package/providers/aws/generated/resources/sns/subscription.ts +488 -0
- package/providers/aws/generated/resources/sns/topic.ts +60 -88
- package/providers/aws/generated/resources/sns/topicinlinepolicy.ts +169 -0
- package/providers/aws/generated/resources/sns/topicpolicy.ts +172 -0
- package/providers/aws/generated/resources/sqs/queue.ts +53 -82
- package/providers/aws/generated/resources/sqs/queueinlinepolicy.ts +163 -0
- package/providers/aws/generated/resources/sqs/queuepolicy.ts +172 -0
- package/providers/aws/generated/resources/ssm/association.ts +906 -0
- package/providers/aws/generated/resources/ssm/document.ts +472 -0
- package/providers/aws/generated/resources/ssm/maintenancewindow.ts +225 -0
- package/providers/aws/generated/resources/ssm/maintenancewindowtarget.ts +289 -0
- package/providers/aws/generated/resources/ssm/maintenancewindowtask.ts +497 -0
- package/providers/aws/generated/resources/ssm/parameter.ts +258 -0
- package/providers/aws/generated/resources/ssm/patchbaseline.ts +668 -0
- package/providers/aws/generated/resources/ssm/resourcedatasync.ts +465 -0
- package/providers/aws/generated/resources/ssm/resourcepolicy.ts +211 -0
- package/providers/aws/generated/resources/stepfunctions/activity.ts +237 -0
- package/providers/aws/generated/resources/stepfunctions/statemachine.ts +54 -41
- package/providers/aws/generated/resources/stepfunctions/statemachinealias.ts +361 -0
- package/providers/aws/generated/resources/stepfunctions/statemachineversion.ts +202 -0
- package/providers/aws/management/ec2/internetGateway.ts +129 -0
- package/providers/aws/management/ec2/resourceTags.ts +89 -0
- package/providers/aws/management/ec2/route.ts +254 -0
- package/providers/aws/management/ec2/routeTable.ts +138 -0
- package/providers/aws/management/ec2/subnet.ts +511 -0
- package/providers/aws/management/ec2/subnetRouteTableAssociation.ts +129 -0
- package/providers/aws/management/ec2/vpc.ts +466 -0
- package/providers/aws/management/ec2/vpcGatewayAttachment.ts +238 -0
- package/providers/aws/management/iam/role.ts +520 -0
- package/providers/aws/management/lambda/function.ts +651 -0
- package/providers/aws/management/resourcePolicies.ts +102 -0
- package/providers/aws/management/s3/bucket.ts +315 -0
- package/providers/aws/management/s3/bucketConfiguration.ts +1102 -0
- package/providers/aws/runtime.ts +17 -19
- package/src/core/resource/model.ts +13 -3
- package/src/core/resource/resourceCommandPolicy.ts +5 -1
- package/src/core/resource/resourceEntries.ts +193 -0
- package/src/core/resource/resourceLifecycle.ts +39 -23
- package/src/core/stack/planner.ts +78 -40
- package/src/core/stack/resourceStackLifecycle.ts +112 -18
- package/src/core/stack/resourceStackOperations.ts +18 -0
- package/src/core/stack/stackWorkflowRenderer.ts +12 -3
- package/src/core/state/stateStore.ts +47 -10
- package/src/providers/providerRuntimeLayer.ts +1 -1
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsEntitySchema.ts +5 -5055
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsSchema.ts +5 -5055
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountPropsValidators.ts +5058 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsEntitySchema.ts +5 -2443
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsSchema.ts +5 -2443
- package/src/providers/stripe/client/generated/resourceInputs/StripeAccountTokenPropsValidators.ts +2446 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsEntitySchema.ts +5 -23
- package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsSchema.ts +5 -23
- package/src/providers/stripe/client/generated/resourceInputs/StripeApplePayDomainPropsValidators.ts +26 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsEntitySchema.ts +5 -63
- package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsSchema.ts +5 -63
- package/src/providers/stripe/client/generated/resourceInputs/StripeAppsInstallPropsValidators.ts +66 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsEntitySchema.ts +11 -121
- package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsSchema.ts +11 -121
- package/src/providers/stripe/client/generated/resourceInputs/StripeBankAccountPropsValidators.ts +130 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsEntitySchema.ts +17 -21
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsSchema.ts +4 -12
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingAlertPropsValidators.ts +109 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsEntitySchema.ts +3 -2
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsSchema.ts +3 -2
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingConfigurationExportPropsValidators.ts +11 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsEntitySchema.ts +18 -108
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsSchema.ts +18 -108
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingCreditGrantPropsValidators.ts +122 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsEntitySchema.ts +5 -30
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsSchema.ts +5 -30
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingFeedbackOptionPropsValidators.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsEntitySchema.ts +5 -110
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsSchema.ts +5 -110
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingMeterPropsValidators.ts +113 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsEntitySchema.ts +42 -218
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsSchema.ts +63 -336
- package/src/providers/stripe/client/generated/resourceInputs/StripeBillingPortalConfigurationPropsValidators.ts +604 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsEntitySchema.ts +11 -123
- package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsSchema.ts +11 -123
- package/src/providers/stripe/client/generated/resourceInputs/StripeCardPropsValidators.ts +133 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsEntitySchema.ts +25 -322
- package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsSchema.ts +20 -317
- package/src/providers/stripe/client/generated/resourceInputs/StripeChargePropsValidators.ts +359 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsEntitySchema.ts +139 -4161
- package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsSchema.ts +181 -4265
- package/src/providers/stripe/client/generated/resourceInputs/StripeCheckoutSessionPropsValidators.ts +4529 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsEntitySchema.ts +5 -86
- package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsSchema.ts +5 -86
- package/src/providers/stripe/client/generated/resourceInputs/StripeClimateOrderPropsValidators.ts +89 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsEntitySchema.ts +5 -151
- package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsSchema.ts +5 -151
- package/src/providers/stripe/client/generated/resourceInputs/StripeCouponPropsValidators.ts +154 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsEntitySchema.ts +34 -169
- package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsSchema.ts +24 -159
- package/src/providers/stripe/client/generated/resourceInputs/StripeCreditNotePropsValidators.ts +235 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsEntitySchema.ts +46 -644
- package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsSchema.ts +41 -639
- package/src/providers/stripe/client/generated/resourceInputs/StripeCustomerPropsValidators.ts +691 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsEntitySchema.ts +5 -46
- package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsSchema.ts +5 -46
- package/src/providers/stripe/client/generated/resourceInputs/StripeEntitlementsFeaturePropsValidators.ts +49 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsEntitySchema.ts +5 -160
- package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsSchema.ts +5 -160
- package/src/providers/stripe/client/generated/resourceInputs/StripeEventDestinationPropsValidators.ts +163 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsEntitySchema.ts +8 -19
- package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsSchema.ts +8 -19
- package/src/providers/stripe/client/generated/resourceInputs/StripeFileLinkPropsValidators.ts +28 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsEntitySchema.ts +5 -55
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsSchema.ts +5 -55
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialAddressPropsValidators.ts +58 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsEntitySchema.ts +36 -121
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsSchema.ts +24 -111
- package/src/providers/stripe/client/generated/resourceInputs/StripeFinancialConnectionsSessionPropsValidators.ts +183 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsEntitySchema.ts +5 -119
- package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsSchema.ts +5 -119
- package/src/providers/stripe/client/generated/resourceInputs/StripeForwardingRequestPropsValidators.ts +122 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsEntitySchema.ts +5 -45
- package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsSchema.ts +5 -45
- package/src/providers/stripe/client/generated/resourceInputs/StripeGBBankAccountPropsValidators.ts +48 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsEntitySchema.ts +5 -195
- package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsSchema.ts +5 -195
- package/src/providers/stripe/client/generated/resourceInputs/StripeIdentityVerificationSessionPropsValidators.ts +198 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsEntitySchema.ts +5 -97
- package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsSchema.ts +5 -97
- package/src/providers/stripe/client/generated/resourceInputs/StripeInboundTransferPropsValidators.ts +100 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsEntitySchema.ts +69 -1282
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsSchema.ts +43 -1259
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoicePropsValidators.ts +1417 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsEntitySchema.ts +32 -126
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsSchema.ts +27 -121
- package/src/providers/stripe/client/generated/resourceInputs/StripeInvoiceitemPropsValidators.ts +172 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsEntitySchema.ts +32 -2103
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsSchema.ts +32 -2103
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardPropsValidators.ts +2134 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsEntitySchema.ts +37 -2065
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsSchema.ts +32 -2060
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingCardholderPropsValidators.ts +2196 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsEntitySchema.ts +56 -97
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsSchema.ts +98 -251
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingDisputePropsValidators.ts +1024 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsEntitySchema.ts +14 -89
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsSchema.ts +14 -89
- package/src/providers/stripe/client/generated/resourceInputs/StripeIssuingPersonalizationDesignPropsValidators.ts +100 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsEntitySchema.ts +5 -246
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsSchema.ts +5 -246
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundPaymentPropsValidators.ts +249 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsEntitySchema.ts +5 -115
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsSchema.ts +5 -115
- package/src/providers/stripe/client/generated/resourceInputs/StripeOutboundSetupIntentPropsValidators.ts +118 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsEntitySchema.ts +65 -5205
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsSchema.ts +59 -5200
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentIntentPropsValidators.ts +5124 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsEntitySchema.ts +101 -1508
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsSchema.ts +95 -1598
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentLinkPropsValidators.ts +2039 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsEntitySchema.ts +5 -2272
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsSchema.ts +5 -2272
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodConfigurationPropsValidators.ts +2276 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsEntitySchema.ts +5 -37
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsSchema.ts +5 -37
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodDomainPropsValidators.ts +40 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsEntitySchema.ts +194 -1425
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsSchema.ts +194 -1425
- package/src/providers/stripe/client/generated/resourceInputs/StripePaymentMethodPropsValidators.ts +1580 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsEntitySchema.ts +5 -265
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsSchema.ts +5 -265
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutIntentPropsValidators.ts +268 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsEntitySchema.ts +14 -28
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsSchema.ts +14 -28
- package/src/providers/stripe/client/generated/resourceInputs/StripePayoutPropsValidators.ts +42 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsEntitySchema.ts +26 -96
- package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsSchema.ts +26 -96
- package/src/providers/stripe/client/generated/resourceInputs/StripePlanPropsValidators.ts +117 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsEntitySchema.ts +35 -314
- package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsSchema.ts +35 -314
- package/src/providers/stripe/client/generated/resourceInputs/StripePricePropsValidators.ts +330 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsEntitySchema.ts +5 -33
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsSchema.ts +5 -33
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogImportPropsValidators.ts +37 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsEntitySchema.ts +16 -43
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsSchema.ts +9 -39
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductCatalogTrialOfferPropsValidators.ts +105 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsEntitySchema.ts +5 -358
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsSchema.ts +5 -358
- package/src/providers/stripe/client/generated/resourceInputs/StripeProductPropsValidators.ts +361 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsEntitySchema.ts +18 -66
- package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsSchema.ts +11 -61
- package/src/providers/stripe/client/generated/resourceInputs/StripePromotionCodePropsValidators.ts +100 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsEntitySchema.ts +73 -366
- package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsSchema.ts +49 -345
- package/src/providers/stripe/client/generated/resourceInputs/StripeQuotePropsValidators.ts +569 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsEntitySchema.ts +5 -39
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsSchema.ts +5 -39
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListItemPropsValidators.ts +42 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsEntitySchema.ts +5 -76
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsSchema.ts +5 -76
- package/src/providers/stripe/client/generated/resourceInputs/StripeRadarValueListPropsValidators.ts +79 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsEntitySchema.ts +5 -27
- package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsSchema.ts +5 -27
- package/src/providers/stripe/client/generated/resourceInputs/StripeRecipientVerificationPropsValidators.ts +30 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsEntitySchema.ts +11 -30
- package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsSchema.ts +11 -30
- package/src/providers/stripe/client/generated/resourceInputs/StripeRefundPropsValidators.ts +41 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsEntitySchema.ts +5 -1356
- package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsSchema.ts +5 -1356
- package/src/providers/stripe/client/generated/resourceInputs/StripeReportingReportRunPropsValidators.ts +1359 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsEntitySchema.ts +35 -2767
- package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsSchema.ts +35 -2767
- package/src/providers/stripe/client/generated/resourceInputs/StripeSetupIntentPropsValidators.ts +2761 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsEntitySchema.ts +5 -170
- package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsSchema.ts +5 -170
- package/src/providers/stripe/client/generated/resourceInputs/StripeShippingRatePropsValidators.ts +173 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsEntitySchema.ts +5 -549
- package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsSchema.ts +5 -549
- package/src/providers/stripe/client/generated/resourceInputs/StripeSourcePropsValidators.ts +552 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsEntitySchema.ts +32 -143
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsSchema.ts +27 -138
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionItemPropsValidators.ts +187 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsEntitySchema.ts +99 -1668
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsSchema.ts +70 -1644
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionPropsValidators.ts +1872 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsEntitySchema.ts +123 -497
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsSchema.ts +118 -755
- package/src/providers/stripe/client/generated/resourceInputs/StripeSubscriptionSchedulePropsValidators.ts +1902 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsEntitySchema.ts +23 -301
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsSchema.ts +11 -291
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxIdPropsValidators.ts +359 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsEntitySchema.ts +5 -113
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsSchema.ts +5 -113
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxLocationPropsValidators.ts +116 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsEntitySchema.ts +5 -159
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsSchema.ts +5 -159
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRatePropsValidators.ts +162 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsEntitySchema.ts +5 -3321
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsSchema.ts +5 -3321
- package/src/providers/stripe/client/generated/resourceInputs/StripeTaxRegistrationPropsValidators.ts +3324 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsEntitySchema.ts +73 -698
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsSchema.ts +23 -646
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalConfigurationPropsValidators.ts +931 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsEntitySchema.ts +5 -292
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsSchema.ts +5 -292
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalLocationPropsValidators.ts +295 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsEntitySchema.ts +8 -19
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsSchema.ts +8 -19
- package/src/providers/stripe/client/generated/resourceInputs/StripeTerminalReaderPropsValidators.ts +29 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsEntitySchema.ts +5 -47
- package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsSchema.ts +5 -47
- package/src/providers/stripe/client/generated/resourceInputs/StripeTestHelpersTestClockPropsValidators.ts +51 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsEntitySchema.ts +40 -629
- package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsSchema.ts +40 -629
- package/src/providers/stripe/client/generated/resourceInputs/StripeThreeDSecureAuthenticationPropsValidators.ts +655 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsEntitySchema.ts +5 -2387
- package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsSchema.ts +5 -2387
- package/src/providers/stripe/client/generated/resourceInputs/StripeTokenPropsValidators.ts +2391 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsEntitySchema.ts +11 -50
- package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsSchema.ts +11 -50
- package/src/providers/stripe/client/generated/resourceInputs/StripeTopupPropsValidators.ts +58 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsEntitySchema.ts +11 -21
- package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsSchema.ts +11 -21
- package/src/providers/stripe/client/generated/resourceInputs/StripeTransferPropsValidators.ts +34 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsEntitySchema.ts +5 -36
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsSchema.ts +5 -36
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryCreditReversalPropsValidators.ts +40 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsEntitySchema.ts +5 -36
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsSchema.ts +5 -36
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryDebitReversalPropsValidators.ts +40 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsEntitySchema.ts +5 -276
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsSchema.ts +5 -275
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryFinancialAccountPropsValidators.ts +279 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsEntitySchema.ts +5 -73
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsSchema.ts +5 -73
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryInboundTransferPropsValidators.ts +77 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsEntitySchema.ts +5 -340
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsSchema.ts +5 -340
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundPaymentPropsValidators.ts +344 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsEntitySchema.ts +5 -137
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsSchema.ts +5 -137
- package/src/providers/stripe/client/generated/resourceInputs/StripeTreasuryOutboundTransferPropsValidators.ts +141 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsEntitySchema.ts +5 -45
- package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsSchema.ts +5 -45
- package/src/providers/stripe/client/generated/resourceInputs/StripeUSBankAccountPropsValidators.ts +48 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsEntitySchema.ts +144 -3036
- package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsSchema.ts +279 -3175
- package/src/providers/stripe/client/generated/resourceInputs/StripeV1AccountPropsValidators.ts +3457 -0
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsEntitySchema.ts +5 -883
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsSchema.ts +5 -882
- package/src/providers/stripe/client/generated/resourceInputs/StripeWebhookEndpointRequestPropsValidators.ts +886 -0
- package/src/providers/stripe/client/stripeClient.ts +11 -15
- package/providers/aws/generated/managementRegistry.ts +0 -136
- package/providers/aws/management/mappings/iam/group.ts +0 -63
- package/providers/aws/management/mappings/iam/iamIdentity.ts +0 -41
- package/providers/aws/management/mappings/iam/iamLifecycleSettings.ts +0 -8
- package/providers/aws/management/mappings/iam/inlinePolicies.ts +0 -159
- package/providers/aws/management/mappings/iam/instanceProfile.ts +0 -77
- package/providers/aws/management/mappings/iam/oidcProvider.ts +0 -94
- package/providers/aws/management/mappings/iam/role.ts +0 -74
- package/providers/aws/management/mappings/iam/samlProvider.ts +0 -98
- package/providers/aws/management/mappings/iam/serverCertificate.ts +0 -72
- package/providers/aws/management/mappings/iam/user.ts +0 -61
- package/providers/aws/management/mappings/iam/userToGroupAddition.ts +0 -75
- package/providers/aws/management/operations/iam/accessKey.ts +0 -206
- package/providers/aws/management/operations/iam/managedPolicy.ts +0 -491
- package/providers/aws/management/operations/iam/policy.ts +0 -476
- package/providers/aws/management/operations/iam/serviceLinkedRole.ts +0 -172
- package/providers/aws/management/operations/iam/virtualMfaDevice.ts +0 -253
- package/providers/aws/management/resourceAssociationConfiguration.ts +0 -112
- package/providers/aws/management/resourceAssociationRegistration.ts +0 -349
- package/providers/aws/management/resourceAssociations.ts +0 -168
- package/providers/aws/management/resourceConfiguration.ts +0 -119
- package/providers/aws/management/resourceLifecycleRegistration.ts +0 -540
- package/providers/aws/management/resourceManagementModule.ts +0 -31
- package/providers/aws/management/resourceManagementRegistry.ts +0 -62
- package/providers/aws/management/resourceMapping.ts +0 -84
- package/providers/aws/management/resourceOperation.ts +0 -134
- package/providers/aws/management/resourceTagOperations.ts +0 -108
- package/providers/aws/management/resourceTiming.ts +0 -4
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_1.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_10.ts +0 -44
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_100.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_101.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_102.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_103.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_104.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_105.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_106.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_107.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_108.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_11.ts +0 -68
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_12.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_13.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_14.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_15.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_16.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_17.ts +0 -44
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_18.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_19.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_2.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_20.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_21.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_22.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_23.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_24.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_25.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_26.ts +0 -44
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_27.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_28.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_29.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_3.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_30.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_31.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_32.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_33.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_34.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_35.ts +0 -59
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_36.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_37.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_38.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_39.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_4.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_40.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_41.ts +0 -111
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_42.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_43.ts +0 -77
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_44.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_45.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_46.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_47.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_48.ts +0 -50
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_49.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_5.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_50.ts +0 -83
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_51.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_52.ts +0 -50
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_53.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_54.ts +0 -74
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_55.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_56.ts +0 -65
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_57.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_58.ts +0 -79
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_59.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_6.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_60.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_61.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_62.ts +0 -44
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_63.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_64.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_65.ts +0 -44
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_66.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_67.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_68.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_69.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_7.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_70.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_71.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_72.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_73.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_74.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_75.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_76.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_77.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_78.ts +0 -44
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_79.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_8.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_80.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_81.ts +0 -39
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_82.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_83.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_84.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_85.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_86.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_87.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_88.ts +0 -56
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_89.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_9.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_90.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_91.ts +0 -44
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_92.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_93.ts +0 -56
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_94.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_95.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_96.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_97.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_98.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputAlternatives_99.ts +0 -35
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems.ts +0 -38
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_1.ts +0 -39
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_2.ts +0 -38
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_3.ts +0 -154
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_4.ts +0 -51
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputItems_5.ts +0 -120
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties.ts +0 -32
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_1.ts +0 -37
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_10.ts +0 -125
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_11.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_12.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_13.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_14.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_15.ts +0 -32
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_16.ts +0 -37
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_17.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_18.ts +0 -130
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_19.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_2.ts +0 -39
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_20.ts +0 -89
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_21.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_22.ts +0 -30
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_23.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_24.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_25.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_26.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_27.ts +0 -97
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_28.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_29.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_3.ts +0 -37
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_30.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_31.ts +0 -97
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_32.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_33.ts +0 -34
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_4.ts +0 -37
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_5.ts +0 -53
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_6.ts +0 -42
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_7.ts +0 -63
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_8.ts +0 -94
- package/src/providers/stripe/client/generated/resourceInputs/StripeResourceEntityInputProperties_9.ts +0 -34
|
@@ -0,0 +1,1166 @@
|
|
|
1
|
+
// Generated from the CloudFormation Registry resource schema. Do not edit.
|
|
2
|
+
// biome-ignore-all lint/complexity/useRegexLiterals: Preserve Effect's generated regular expressions.
|
|
3
|
+
import { Effect, Schema } from "effect";
|
|
4
|
+
import {
|
|
5
|
+
annotateResourceSchema,
|
|
6
|
+
ResourceEntity,
|
|
7
|
+
ResourceGraphBuilder,
|
|
8
|
+
type ResourceKey,
|
|
9
|
+
ResourceReferenceSchema,
|
|
10
|
+
ResourceSchemaAnnotationSchema,
|
|
11
|
+
} from "nomoss/core";
|
|
12
|
+
import { ResourceOutputBinding } from "../../../../../src/core/resource/resourceOutputBinding.js";
|
|
13
|
+
|
|
14
|
+
interface MutualAuthentication {
|
|
15
|
+
readonly IgnoreClientCertificateExpiry?: boolean;
|
|
16
|
+
readonly Mode?: string;
|
|
17
|
+
readonly TrustStoreArn?: string;
|
|
18
|
+
readonly AdvertiseTrustStoreCaNames?: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
const MutualAuthentication = Schema.Struct({
|
|
22
|
+
IgnoreClientCertificateExpiry: Schema.optionalKey(
|
|
23
|
+
Schema.Boolean.annotate({
|
|
24
|
+
description: "Indicates whether expired client certificates are ignored.",
|
|
25
|
+
}),
|
|
26
|
+
),
|
|
27
|
+
Mode: Schema.optionalKey(
|
|
28
|
+
Schema.String.annotate({
|
|
29
|
+
description:
|
|
30
|
+
"The client certificate handling method. Options are ``off``, ``passthrough`` or ``verify``. The default value on initial resource creation is ``off``. After mutual authentication is turned on, you must explicitly set the ``Mode`` to ``off`` to turn it off; removing the property from your template will not turn it off.",
|
|
31
|
+
}),
|
|
32
|
+
),
|
|
33
|
+
TrustStoreArn: Schema.optionalKey(
|
|
34
|
+
Schema.String.annotate({
|
|
35
|
+
description: "The Amazon Resource Name (ARN) of the trust store.",
|
|
36
|
+
}),
|
|
37
|
+
),
|
|
38
|
+
AdvertiseTrustStoreCaNames: Schema.optionalKey(
|
|
39
|
+
Schema.String.annotate({
|
|
40
|
+
description:
|
|
41
|
+
"Indicates whether trust store CA certificate names are advertised.",
|
|
42
|
+
}),
|
|
43
|
+
),
|
|
44
|
+
}).annotate({
|
|
45
|
+
description: "The mutual authentication configuration information.",
|
|
46
|
+
identifier: "MutualAuthentication",
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
interface ListenerAttribute {
|
|
50
|
+
readonly Value?: string;
|
|
51
|
+
readonly Key?: string;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
const ListenerAttribute = Schema.Struct({
|
|
55
|
+
Value: Schema.optionalKey(
|
|
56
|
+
Schema.String.annotate({ description: "The value of the attribute." }),
|
|
57
|
+
),
|
|
58
|
+
Key: Schema.optionalKey(
|
|
59
|
+
Schema.String.annotate({
|
|
60
|
+
description:
|
|
61
|
+
"The name of the attribute.\n The following attribute is supported by Network Load Balancers, and Gateway Load Balancers.\n + ``tcp.idle_timeout.seconds`` - The tcp idle timeout value, in seconds. The valid range is 60-6000 seconds. The default is 350 seconds.\n \n The following attributes are only supported by Application Load Balancers.\n + ``routing.http.request.x_amzn_mtls_clientcert_serial_number.header_name`` - Enables you to modify the header name of the *X-Amzn-Mtls-Clientcert-Serial-Number* HTTP request header.\n + ``routing.http.request.x_amzn_mtls_clientcert_issuer.header_name`` - Enables you to modify the header name of the *X-Amzn-Mtls-Clientcert-Issuer* HTTP request header.\n + ``routing.http.request.x_amzn_mtls_clientcert_subject.header_name`` - Enables you to modify the header name of the *X-Amzn-Mtls-Clientcert-Subject* HTTP request header.\n + ``routing.http.request.x_amzn_mtls_clientcert_validity.header_name`` - Enables you to modify the header name of the *X-Amzn-Mtls-Clientcert-Validity* HTTP request header.\n + ``routing.http.request.x_amzn_mtls_clientcert_leaf.header_name`` - Enables you to modify the header name of the *X-Amzn-Mtls-Clientcert-Leaf* HTTP request header.\n + ``routing.http.request.x_amzn_mtls_clientcert.header_name`` - Enables you to modify the header name of the *X-Amzn-Mtls-Clientcert* HTTP request header.\n + ``routing.http.request.x_amzn_tls_version.header_name`` - Enables you to modify the header name of the *X-Amzn-Tls-Version* HTTP request header.\n + ``routing.http.request.x_amzn_tls_cipher_suite.header_name`` - Enables you to modify the header name of the *X-Amzn-Tls-Cipher-Suite* HTTP request header.\n + ``routing.http.response.server.enabled`` - Enables you to allow or remove the HTTP response server header.\n + ``routing.http.response.strict_transport_security.header_value`` - Informs browsers that the site should only be accessed using HTTPS, and that any future attempts to access it using HTTP should automatically be converted to HTTPS.\n + ``routing.http.response.access_control_allow_origin.header_value`` - Specifies which origins are allowed to access the server.\n + ``routing.http.response.access_control_allow_methods.header_value`` - Returns which HTTP methods are allowed when accessing the server from a different origin.\n + ``routing.http.response.access_control_allow_headers.header_value`` - Specifies which headers can be used during the request.\n + ``routing.http.response.access_control_allow_credentials.header_value`` - Indicates whether the browser should include credentials such as cookies or authentication when making requests.\n + ``routing.http.response.access_control_expose_headers.header_value`` - Returns which headers the browser can expose to the requesting client.\n + ``routing.http.response.access_control_max_age.header_value`` - Specifies how long the results of a preflight request can be cached, in seconds.\n + ``routing.http.response.content_security_policy.header_value`` - Specifies restrictions enforced by the browser to help minimize the risk of certain types of security threats.\n + ``routing.http.response.x_content_type_options.header_value`` - Indicates whether the MIME types advertised in the *Content-Type* headers should be followed and not be changed.\n + ``routing.http.response.x_frame_options.header_value`` - Indicates whether the browser is allowed to render a page in a *frame*, *iframe*, *embed* or *object*.",
|
|
62
|
+
}),
|
|
63
|
+
),
|
|
64
|
+
}).annotate({
|
|
65
|
+
description: "Information about a listener attribute.",
|
|
66
|
+
identifier: "ListenerAttribute",
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
type ResourceInputItems = globalThis.ReadonlyArray<ListenerAttribute>;
|
|
70
|
+
|
|
71
|
+
const ResourceInputItems = Schema.Array(ListenerAttribute)
|
|
72
|
+
.annotate({
|
|
73
|
+
description:
|
|
74
|
+
"The listener attributes. Attributes that you do not modify retain their current values.",
|
|
75
|
+
})
|
|
76
|
+
.check(
|
|
77
|
+
Schema.isUnique().annotate({ expected: "an array with unique items" }),
|
|
78
|
+
);
|
|
79
|
+
|
|
80
|
+
type ResourceInputItems_1 = globalThis.ReadonlyArray<string>;
|
|
81
|
+
|
|
82
|
+
const ResourceInputItems_1 = Schema.Array(Schema.String).annotate({
|
|
83
|
+
description:
|
|
84
|
+
"[TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.",
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
interface FixedResponseConfig {
|
|
88
|
+
readonly ContentType?: string;
|
|
89
|
+
readonly StatusCode: string;
|
|
90
|
+
readonly MessageBody?: string;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
const FixedResponseConfig = Schema.Struct({
|
|
94
|
+
ContentType: Schema.optionalKey(
|
|
95
|
+
Schema.String.annotate({
|
|
96
|
+
description:
|
|
97
|
+
"The content type.\n Valid Values: text/plain | text/css | text/html | application/javascript | application/json",
|
|
98
|
+
}),
|
|
99
|
+
),
|
|
100
|
+
StatusCode: Schema.String.annotate({
|
|
101
|
+
description: "The HTTP response code (2XX, 4XX, or 5XX).",
|
|
102
|
+
}),
|
|
103
|
+
MessageBody: Schema.optionalKey(
|
|
104
|
+
Schema.String.annotate({ description: "The message." }),
|
|
105
|
+
),
|
|
106
|
+
}).annotate({
|
|
107
|
+
description:
|
|
108
|
+
"Specifies information required when returning a custom HTTP response.",
|
|
109
|
+
identifier: "FixedResponseConfig",
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
type ResourceInputAlternatives = string | string;
|
|
113
|
+
|
|
114
|
+
const ResourceInputAlternatives = Schema.Union([
|
|
115
|
+
Schema.String.annotate({
|
|
116
|
+
description: "The ID of the Amazon Cognito user pool client.",
|
|
117
|
+
}),
|
|
118
|
+
Schema.String.annotate({
|
|
119
|
+
description: "The ID of the Amazon Cognito user pool client.",
|
|
120
|
+
}),
|
|
121
|
+
]);
|
|
122
|
+
|
|
123
|
+
interface ResourceInputProperties {
|
|
124
|
+
readonly [x: string]: string;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
const ResourceInputProperties = Schema.Record(
|
|
128
|
+
Schema.String.check(
|
|
129
|
+
Schema.isPattern(new globalThis.RegExp("[a-zA-Z0-9]+", "u")).annotate({
|
|
130
|
+
expected: "a string matching the RegExp [a-zA-Z0-9]+",
|
|
131
|
+
}),
|
|
132
|
+
),
|
|
133
|
+
Schema.String,
|
|
134
|
+
).annotate({
|
|
135
|
+
description:
|
|
136
|
+
"The query parameters (up to 10) to include in the redirect request to the authorization endpoint.",
|
|
137
|
+
});
|
|
138
|
+
|
|
139
|
+
interface AuthenticateCognitoConfig {
|
|
140
|
+
readonly OnUnauthenticatedRequest?: string;
|
|
141
|
+
readonly UserPoolClientId: ResourceInputAlternatives;
|
|
142
|
+
readonly UserPoolDomain: string;
|
|
143
|
+
readonly SessionTimeout?: string;
|
|
144
|
+
readonly Scope?: string;
|
|
145
|
+
readonly SessionCookieName?: string;
|
|
146
|
+
readonly UserPoolArn:
|
|
147
|
+
| ResourceEntity<{
|
|
148
|
+
readonly provider: "aws";
|
|
149
|
+
readonly service: "cognito";
|
|
150
|
+
readonly resource: "userpool";
|
|
151
|
+
}>
|
|
152
|
+
| string;
|
|
153
|
+
readonly AuthenticationRequestExtraParams?: ResourceInputProperties;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
const AuthenticateCognitoConfig = Schema.Struct({
|
|
157
|
+
OnUnauthenticatedRequest: Schema.optionalKey(
|
|
158
|
+
Schema.String.annotate({
|
|
159
|
+
description:
|
|
160
|
+
"The behavior if the user is not authenticated. The following are possible values:\n + deny```` - Return an HTTP 401 Unauthorized error.\n + allow```` - Allow the request to be forwarded to the target.\n + authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.",
|
|
161
|
+
}),
|
|
162
|
+
),
|
|
163
|
+
UserPoolClientId: ResourceInputAlternatives,
|
|
164
|
+
UserPoolDomain: Schema.String.annotate({
|
|
165
|
+
description:
|
|
166
|
+
"The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.",
|
|
167
|
+
}),
|
|
168
|
+
SessionTimeout: Schema.optionalKey(
|
|
169
|
+
Schema.String.annotate({
|
|
170
|
+
description:
|
|
171
|
+
"The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).",
|
|
172
|
+
}),
|
|
173
|
+
),
|
|
174
|
+
Scope: Schema.optionalKey(
|
|
175
|
+
Schema.String.annotate({
|
|
176
|
+
description:
|
|
177
|
+
"The set of user claims to be requested from the IdP. The default is ``openid``.\n To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.",
|
|
178
|
+
}),
|
|
179
|
+
),
|
|
180
|
+
SessionCookieName: Schema.optionalKey(
|
|
181
|
+
Schema.String.annotate({
|
|
182
|
+
description:
|
|
183
|
+
"The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.",
|
|
184
|
+
}),
|
|
185
|
+
),
|
|
186
|
+
UserPoolArn: Schema.Union([
|
|
187
|
+
Schema.Union([
|
|
188
|
+
ResourceReferenceSchema(
|
|
189
|
+
Schema.Struct({
|
|
190
|
+
provider: Schema.Literal("aws"),
|
|
191
|
+
service: Schema.Literal("cognito"),
|
|
192
|
+
resource: Schema.Literal("userpool"),
|
|
193
|
+
}),
|
|
194
|
+
{
|
|
195
|
+
value: null,
|
|
196
|
+
outputs: [
|
|
197
|
+
{
|
|
198
|
+
source: ["Arn"],
|
|
199
|
+
target: [],
|
|
200
|
+
},
|
|
201
|
+
],
|
|
202
|
+
},
|
|
203
|
+
).annotate({ expected: "ResourceEntity" }),
|
|
204
|
+
]),
|
|
205
|
+
Schema.String.annotate({
|
|
206
|
+
description:
|
|
207
|
+
"The Amazon Resource Name (ARN) of the Amazon Cognito user pool.",
|
|
208
|
+
}),
|
|
209
|
+
]),
|
|
210
|
+
AuthenticationRequestExtraParams: Schema.optionalKey(ResourceInputProperties),
|
|
211
|
+
}).annotate({
|
|
212
|
+
description:
|
|
213
|
+
"Specifies information required when integrating with Amazon Cognito to authenticate users.",
|
|
214
|
+
identifier: "AuthenticateCognitoConfig",
|
|
215
|
+
});
|
|
216
|
+
|
|
217
|
+
interface RedirectConfig {
|
|
218
|
+
readonly Path?: string;
|
|
219
|
+
readonly Query?: string;
|
|
220
|
+
readonly Port?: string;
|
|
221
|
+
readonly Host?: string;
|
|
222
|
+
readonly Protocol?: string;
|
|
223
|
+
readonly StatusCode: string;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
const RedirectConfig = Schema.Struct({
|
|
227
|
+
Path: Schema.optionalKey(
|
|
228
|
+
Schema.String.annotate({
|
|
229
|
+
description:
|
|
230
|
+
'The absolute path, starting with the leading "/". This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.',
|
|
231
|
+
}),
|
|
232
|
+
),
|
|
233
|
+
Query: Schema.optionalKey(
|
|
234
|
+
Schema.String.annotate({
|
|
235
|
+
description:
|
|
236
|
+
'The query parameters, URL-encoded when necessary, but not percent-encoded. Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.',
|
|
237
|
+
}),
|
|
238
|
+
),
|
|
239
|
+
Port: Schema.optionalKey(
|
|
240
|
+
Schema.String.annotate({
|
|
241
|
+
description:
|
|
242
|
+
"The port. You can specify a value from 1 to 65535 or #{port}.",
|
|
243
|
+
}),
|
|
244
|
+
),
|
|
245
|
+
Host: Schema.optionalKey(
|
|
246
|
+
Schema.String.annotate({
|
|
247
|
+
description:
|
|
248
|
+
"The hostname. This component is not percent-encoded. The hostname can contain #{host}.",
|
|
249
|
+
}),
|
|
250
|
+
),
|
|
251
|
+
Protocol: Schema.optionalKey(
|
|
252
|
+
Schema.String.annotate({
|
|
253
|
+
description:
|
|
254
|
+
"The protocol. You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You can't redirect HTTPS to HTTP.",
|
|
255
|
+
}),
|
|
256
|
+
),
|
|
257
|
+
StatusCode: Schema.String.annotate({
|
|
258
|
+
description:
|
|
259
|
+
"The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP 302).",
|
|
260
|
+
}),
|
|
261
|
+
}).annotate({
|
|
262
|
+
description:
|
|
263
|
+
'Information about a redirect action.\n A URI consists of the following components: protocol://hostname:port/path?query. You must modify at least one of the following components to avoid a redirect loop: protocol, hostname, port, or path. Any components that you do not modify retain their original values.\n You can reuse URI components using the following reserved keywords:\n + #{protocol}\n + #{host}\n + #{port}\n + #{path} (the leading "/" is removed)\n + #{query}\n \n For example, you can change the path to "/new/#{path}", the hostname to "example.#{host}", or the query to "#{query}&value=xyz".',
|
|
264
|
+
identifier: "RedirectConfig",
|
|
265
|
+
});
|
|
266
|
+
|
|
267
|
+
interface JwtValidationActionAdditionalClaim {
|
|
268
|
+
readonly Format: string;
|
|
269
|
+
readonly Values: globalThis.ReadonlyArray<string>;
|
|
270
|
+
readonly Name: string;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
const JwtValidationActionAdditionalClaim = Schema.Struct({
|
|
274
|
+
Format: Schema.String.annotate({
|
|
275
|
+
description: "The format of the claim value.",
|
|
276
|
+
}),
|
|
277
|
+
Values: Schema.Array(Schema.String)
|
|
278
|
+
.annotate({
|
|
279
|
+
description:
|
|
280
|
+
"The claim value. The maximum size of the list is 10. Each value can be up to 256 characters in length. If the format is ``space-separated-values``, the values can't include spaces.",
|
|
281
|
+
})
|
|
282
|
+
.check(
|
|
283
|
+
Schema.isUnique().annotate({ expected: "an array with unique items" }),
|
|
284
|
+
),
|
|
285
|
+
Name: Schema.String.annotate({
|
|
286
|
+
description:
|
|
287
|
+
"The name of the claim. You can't specify ``exp``, ``iss``, ``nbf``, or ``iat`` because we validate them by default.",
|
|
288
|
+
}),
|
|
289
|
+
}).annotate({
|
|
290
|
+
description: "Information about an additional claim to validate.",
|
|
291
|
+
identifier: "JwtValidationActionAdditionalClaim",
|
|
292
|
+
});
|
|
293
|
+
|
|
294
|
+
interface JwtValidationConfig {
|
|
295
|
+
readonly JwksEndpoint: string;
|
|
296
|
+
readonly Issuer: string;
|
|
297
|
+
readonly AdditionalClaims?: globalThis.ReadonlyArray<JwtValidationActionAdditionalClaim>;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
const JwtValidationConfig = Schema.Struct({
|
|
301
|
+
JwksEndpoint: Schema.String.annotate({ description: "" }),
|
|
302
|
+
Issuer: Schema.String.annotate({ description: "" }),
|
|
303
|
+
AdditionalClaims: Schema.optionalKey(
|
|
304
|
+
Schema.Array(JwtValidationActionAdditionalClaim)
|
|
305
|
+
.annotate({ description: "" })
|
|
306
|
+
.check(
|
|
307
|
+
Schema.isUnique().annotate({ expected: "an array with unique items" }),
|
|
308
|
+
),
|
|
309
|
+
),
|
|
310
|
+
}).annotate({ description: "", identifier: "JwtValidationConfig" });
|
|
311
|
+
|
|
312
|
+
interface TargetGroupStickinessConfig {
|
|
313
|
+
readonly Enabled?: boolean;
|
|
314
|
+
readonly DurationSeconds?: number;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
const TargetGroupStickinessConfig = Schema.Struct({
|
|
318
|
+
Enabled: Schema.optionalKey(
|
|
319
|
+
Schema.Boolean.annotate({
|
|
320
|
+
description: "Indicates whether target group stickiness is enabled.",
|
|
321
|
+
}),
|
|
322
|
+
),
|
|
323
|
+
DurationSeconds: Schema.optionalKey(
|
|
324
|
+
Schema.Number.annotate({
|
|
325
|
+
description:
|
|
326
|
+
"[Application Load Balancers] The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.",
|
|
327
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
328
|
+
),
|
|
329
|
+
}).annotate({
|
|
330
|
+
description: "Information about the target group stickiness for a rule.",
|
|
331
|
+
identifier: "TargetGroupStickinessConfig",
|
|
332
|
+
});
|
|
333
|
+
|
|
334
|
+
interface TargetGroupTuple {
|
|
335
|
+
readonly TargetGroupArn?:
|
|
336
|
+
| ResourceEntity<{
|
|
337
|
+
readonly provider: "aws";
|
|
338
|
+
readonly service: "elasticloadbalancingv2";
|
|
339
|
+
readonly resource: "targetgroup";
|
|
340
|
+
}>
|
|
341
|
+
| string;
|
|
342
|
+
readonly Weight?: number;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
const TargetGroupTuple = Schema.Struct({
|
|
346
|
+
TargetGroupArn: Schema.optionalKey(
|
|
347
|
+
Schema.Union([
|
|
348
|
+
Schema.Union([
|
|
349
|
+
ResourceReferenceSchema(
|
|
350
|
+
Schema.Struct({
|
|
351
|
+
provider: Schema.Literal("aws"),
|
|
352
|
+
service: Schema.Literal("elasticloadbalancingv2"),
|
|
353
|
+
resource: Schema.Literal("targetgroup"),
|
|
354
|
+
}),
|
|
355
|
+
{
|
|
356
|
+
value: null,
|
|
357
|
+
outputs: [
|
|
358
|
+
{
|
|
359
|
+
source: ["TargetGroupArn"],
|
|
360
|
+
target: [],
|
|
361
|
+
},
|
|
362
|
+
],
|
|
363
|
+
},
|
|
364
|
+
).annotate({ expected: "ResourceEntity" }),
|
|
365
|
+
]),
|
|
366
|
+
Schema.String.annotate({
|
|
367
|
+
description: "The Amazon Resource Name (ARN) of the target group.",
|
|
368
|
+
}),
|
|
369
|
+
]),
|
|
370
|
+
),
|
|
371
|
+
Weight: Schema.optionalKey(
|
|
372
|
+
Schema.Number.annotate({
|
|
373
|
+
description: "The weight. The range is 0 to 999.",
|
|
374
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
375
|
+
),
|
|
376
|
+
}).annotate({
|
|
377
|
+
description:
|
|
378
|
+
"Information about how traffic will be distributed between multiple target groups in a forward rule.",
|
|
379
|
+
identifier: "TargetGroupTuple",
|
|
380
|
+
});
|
|
381
|
+
|
|
382
|
+
interface ForwardConfig {
|
|
383
|
+
readonly TargetGroupStickinessConfig?: TargetGroupStickinessConfig;
|
|
384
|
+
readonly TargetGroups?: globalThis.ReadonlyArray<TargetGroupTuple>;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
const ForwardConfig = Schema.Struct({
|
|
388
|
+
TargetGroupStickinessConfig: Schema.optionalKey(TargetGroupStickinessConfig),
|
|
389
|
+
TargetGroups: Schema.optionalKey(
|
|
390
|
+
Schema.Array(TargetGroupTuple)
|
|
391
|
+
.annotate({
|
|
392
|
+
description:
|
|
393
|
+
"Information about how traffic will be distributed between multiple target groups in a forward rule.",
|
|
394
|
+
})
|
|
395
|
+
.check(
|
|
396
|
+
Schema.isUnique().annotate({ expected: "an array with unique items" }),
|
|
397
|
+
),
|
|
398
|
+
),
|
|
399
|
+
}).annotate({
|
|
400
|
+
description:
|
|
401
|
+
"Information for creating an action that distributes requests among multiple target groups. Specify only when ``Type`` is ``forward``.\n If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.",
|
|
402
|
+
identifier: "ForwardConfig",
|
|
403
|
+
});
|
|
404
|
+
|
|
405
|
+
type AuthenticateOidcConfig =
|
|
406
|
+
| {
|
|
407
|
+
readonly ClientSecret: string;
|
|
408
|
+
readonly OnUnauthenticatedRequest?: string;
|
|
409
|
+
readonly TokenEndpoint: string;
|
|
410
|
+
readonly UseExistingClientSecret?: boolean;
|
|
411
|
+
readonly SessionTimeout?: string;
|
|
412
|
+
readonly Scope?: string;
|
|
413
|
+
readonly Issuer: string;
|
|
414
|
+
readonly UserInfoEndpoint: string;
|
|
415
|
+
readonly ClientId: string;
|
|
416
|
+
readonly AuthorizationEndpoint: string;
|
|
417
|
+
readonly SessionCookieName?: string;
|
|
418
|
+
readonly AuthenticationRequestExtraParams?: {
|
|
419
|
+
readonly [x: string]: string;
|
|
420
|
+
};
|
|
421
|
+
}
|
|
422
|
+
| {
|
|
423
|
+
readonly UseExistingClientSecret: boolean;
|
|
424
|
+
readonly OnUnauthenticatedRequest?: string;
|
|
425
|
+
readonly TokenEndpoint: string;
|
|
426
|
+
readonly SessionTimeout?: string;
|
|
427
|
+
readonly Scope?: string;
|
|
428
|
+
readonly Issuer: string;
|
|
429
|
+
readonly ClientSecret?: string;
|
|
430
|
+
readonly UserInfoEndpoint: string;
|
|
431
|
+
readonly ClientId: string;
|
|
432
|
+
readonly AuthorizationEndpoint: string;
|
|
433
|
+
readonly SessionCookieName?: string;
|
|
434
|
+
readonly AuthenticationRequestExtraParams?: {
|
|
435
|
+
readonly [x: string]: string;
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
const AuthenticateOidcConfig = Schema.Union([
|
|
440
|
+
Schema.Struct({
|
|
441
|
+
ClientSecret: Schema.String.annotate({
|
|
442
|
+
description:
|
|
443
|
+
"The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you are modifying a rule, you can omit this parameter if you set ``UseExistingClientSecret`` to true.",
|
|
444
|
+
}),
|
|
445
|
+
OnUnauthenticatedRequest: Schema.optionalKey(
|
|
446
|
+
Schema.String.annotate({
|
|
447
|
+
description:
|
|
448
|
+
"The behavior if the user is not authenticated. The following are possible values:\n + deny```` - Return an HTTP 401 Unauthorized error.\n + allow```` - Allow the request to be forwarded to the target.\n + authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.",
|
|
449
|
+
}),
|
|
450
|
+
),
|
|
451
|
+
TokenEndpoint: Schema.String.annotate({
|
|
452
|
+
description:
|
|
453
|
+
"The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.",
|
|
454
|
+
}),
|
|
455
|
+
UseExistingClientSecret: Schema.optionalKey(
|
|
456
|
+
Schema.Boolean.annotate({
|
|
457
|
+
description:
|
|
458
|
+
"Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule, you can omit this parameter or set it to false.",
|
|
459
|
+
}),
|
|
460
|
+
),
|
|
461
|
+
SessionTimeout: Schema.optionalKey(
|
|
462
|
+
Schema.String.annotate({
|
|
463
|
+
description:
|
|
464
|
+
"The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).",
|
|
465
|
+
}),
|
|
466
|
+
),
|
|
467
|
+
Scope: Schema.optionalKey(
|
|
468
|
+
Schema.String.annotate({
|
|
469
|
+
description:
|
|
470
|
+
"The set of user claims to be requested from the IdP. The default is ``openid``.\n To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.",
|
|
471
|
+
}),
|
|
472
|
+
),
|
|
473
|
+
Issuer: Schema.String.annotate({
|
|
474
|
+
description:
|
|
475
|
+
"The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.",
|
|
476
|
+
}),
|
|
477
|
+
UserInfoEndpoint: Schema.String.annotate({
|
|
478
|
+
description:
|
|
479
|
+
"The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.",
|
|
480
|
+
}),
|
|
481
|
+
ClientId: Schema.String.annotate({
|
|
482
|
+
description: "The OAuth 2.0 client identifier.",
|
|
483
|
+
}),
|
|
484
|
+
AuthorizationEndpoint: Schema.String.annotate({
|
|
485
|
+
description:
|
|
486
|
+
"The authorization endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.",
|
|
487
|
+
}),
|
|
488
|
+
SessionCookieName: Schema.optionalKey(
|
|
489
|
+
Schema.String.annotate({
|
|
490
|
+
description:
|
|
491
|
+
"The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.",
|
|
492
|
+
}),
|
|
493
|
+
),
|
|
494
|
+
AuthenticationRequestExtraParams: Schema.optionalKey(
|
|
495
|
+
Schema.Record(
|
|
496
|
+
Schema.String.check(
|
|
497
|
+
Schema.isPattern(new globalThis.RegExp("[a-zA-Z0-9]+", "u")).annotate(
|
|
498
|
+
{ expected: "a string matching the RegExp [a-zA-Z0-9]+" },
|
|
499
|
+
),
|
|
500
|
+
),
|
|
501
|
+
Schema.String,
|
|
502
|
+
).annotate({
|
|
503
|
+
description:
|
|
504
|
+
"The query parameters (up to 10) to include in the redirect request to the authorization endpoint.",
|
|
505
|
+
}),
|
|
506
|
+
),
|
|
507
|
+
}).annotate({
|
|
508
|
+
description:
|
|
509
|
+
"Specifies information required using an identity provide (IdP) that is compliant with OpenID Connect (OIDC) to authenticate users.",
|
|
510
|
+
}),
|
|
511
|
+
Schema.Struct({
|
|
512
|
+
UseExistingClientSecret: Schema.Boolean.annotate({
|
|
513
|
+
description:
|
|
514
|
+
"Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule, you can omit this parameter or set it to false.",
|
|
515
|
+
}),
|
|
516
|
+
OnUnauthenticatedRequest: Schema.optionalKey(
|
|
517
|
+
Schema.String.annotate({
|
|
518
|
+
description:
|
|
519
|
+
"The behavior if the user is not authenticated. The following are possible values:\n + deny```` - Return an HTTP 401 Unauthorized error.\n + allow```` - Allow the request to be forwarded to the target.\n + authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.",
|
|
520
|
+
}),
|
|
521
|
+
),
|
|
522
|
+
TokenEndpoint: Schema.String.annotate({
|
|
523
|
+
description:
|
|
524
|
+
"The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.",
|
|
525
|
+
}),
|
|
526
|
+
SessionTimeout: Schema.optionalKey(
|
|
527
|
+
Schema.String.annotate({
|
|
528
|
+
description:
|
|
529
|
+
"The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).",
|
|
530
|
+
}),
|
|
531
|
+
),
|
|
532
|
+
Scope: Schema.optionalKey(
|
|
533
|
+
Schema.String.annotate({
|
|
534
|
+
description:
|
|
535
|
+
"The set of user claims to be requested from the IdP. The default is ``openid``.\n To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.",
|
|
536
|
+
}),
|
|
537
|
+
),
|
|
538
|
+
Issuer: Schema.String.annotate({
|
|
539
|
+
description:
|
|
540
|
+
"The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.",
|
|
541
|
+
}),
|
|
542
|
+
ClientSecret: Schema.optionalKey(
|
|
543
|
+
Schema.String.annotate({
|
|
544
|
+
description:
|
|
545
|
+
"The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you are modifying a rule, you can omit this parameter if you set ``UseExistingClientSecret`` to true.",
|
|
546
|
+
}),
|
|
547
|
+
),
|
|
548
|
+
UserInfoEndpoint: Schema.String.annotate({
|
|
549
|
+
description:
|
|
550
|
+
"The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.",
|
|
551
|
+
}),
|
|
552
|
+
ClientId: Schema.String.annotate({
|
|
553
|
+
description: "The OAuth 2.0 client identifier.",
|
|
554
|
+
}),
|
|
555
|
+
AuthorizationEndpoint: Schema.String.annotate({
|
|
556
|
+
description:
|
|
557
|
+
"The authorization endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.",
|
|
558
|
+
}),
|
|
559
|
+
SessionCookieName: Schema.optionalKey(
|
|
560
|
+
Schema.String.annotate({
|
|
561
|
+
description:
|
|
562
|
+
"The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.",
|
|
563
|
+
}),
|
|
564
|
+
),
|
|
565
|
+
AuthenticationRequestExtraParams: Schema.optionalKey(
|
|
566
|
+
Schema.Record(
|
|
567
|
+
Schema.String.check(
|
|
568
|
+
Schema.isPattern(new globalThis.RegExp("[a-zA-Z0-9]+", "u")).annotate(
|
|
569
|
+
{ expected: "a string matching the RegExp [a-zA-Z0-9]+" },
|
|
570
|
+
),
|
|
571
|
+
),
|
|
572
|
+
Schema.String,
|
|
573
|
+
).annotate({
|
|
574
|
+
description:
|
|
575
|
+
"The query parameters (up to 10) to include in the redirect request to the authorization endpoint.",
|
|
576
|
+
}),
|
|
577
|
+
),
|
|
578
|
+
}).annotate({
|
|
579
|
+
description:
|
|
580
|
+
"Specifies information required using an identity provide (IdP) that is compliant with OpenID Connect (OIDC) to authenticate users.",
|
|
581
|
+
}),
|
|
582
|
+
]).annotate({ identifier: "AuthenticateOidcConfig" });
|
|
583
|
+
|
|
584
|
+
interface Action {
|
|
585
|
+
readonly Order?: number;
|
|
586
|
+
readonly TargetGroupArn?:
|
|
587
|
+
| ResourceEntity<{
|
|
588
|
+
readonly provider: "aws";
|
|
589
|
+
readonly service: "elasticloadbalancingv2";
|
|
590
|
+
readonly resource: "targetgroup";
|
|
591
|
+
}>
|
|
592
|
+
| string;
|
|
593
|
+
readonly FixedResponseConfig?: FixedResponseConfig;
|
|
594
|
+
readonly AuthenticateCognitoConfig?: AuthenticateCognitoConfig;
|
|
595
|
+
readonly Type: string;
|
|
596
|
+
readonly RedirectConfig?: RedirectConfig;
|
|
597
|
+
readonly JwtValidationConfig?: JwtValidationConfig;
|
|
598
|
+
readonly ForwardConfig?: ForwardConfig;
|
|
599
|
+
readonly AuthenticateOidcConfig?: AuthenticateOidcConfig;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
const Action = Schema.Struct({
|
|
603
|
+
Order: Schema.optionalKey(
|
|
604
|
+
Schema.Number.annotate({
|
|
605
|
+
description:
|
|
606
|
+
"The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first.",
|
|
607
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
608
|
+
),
|
|
609
|
+
TargetGroupArn: Schema.optionalKey(
|
|
610
|
+
Schema.Union([
|
|
611
|
+
Schema.Union([
|
|
612
|
+
ResourceReferenceSchema(
|
|
613
|
+
Schema.Struct({
|
|
614
|
+
provider: Schema.Literal("aws"),
|
|
615
|
+
service: Schema.Literal("elasticloadbalancingv2"),
|
|
616
|
+
resource: Schema.Literal("targetgroup"),
|
|
617
|
+
}),
|
|
618
|
+
{
|
|
619
|
+
value: null,
|
|
620
|
+
outputs: [
|
|
621
|
+
{
|
|
622
|
+
source: ["TargetGroupArn"],
|
|
623
|
+
target: [],
|
|
624
|
+
},
|
|
625
|
+
],
|
|
626
|
+
},
|
|
627
|
+
).annotate({ expected: "ResourceEntity" }),
|
|
628
|
+
]),
|
|
629
|
+
Schema.String.annotate({
|
|
630
|
+
description:
|
|
631
|
+
"The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to multiple target groups, you must use ``ForwardConfig`` instead.",
|
|
632
|
+
}),
|
|
633
|
+
]),
|
|
634
|
+
),
|
|
635
|
+
FixedResponseConfig: Schema.optionalKey(FixedResponseConfig),
|
|
636
|
+
AuthenticateCognitoConfig: Schema.optionalKey(AuthenticateCognitoConfig),
|
|
637
|
+
Type: Schema.String.annotate({ description: "The type of action." }),
|
|
638
|
+
RedirectConfig: Schema.optionalKey(RedirectConfig),
|
|
639
|
+
JwtValidationConfig: Schema.optionalKey(JwtValidationConfig),
|
|
640
|
+
ForwardConfig: Schema.optionalKey(ForwardConfig),
|
|
641
|
+
AuthenticateOidcConfig: Schema.optionalKey(AuthenticateOidcConfig),
|
|
642
|
+
}).annotate({
|
|
643
|
+
description: "Specifies an action for a listener rule.",
|
|
644
|
+
identifier: "Action",
|
|
645
|
+
});
|
|
646
|
+
|
|
647
|
+
type ResourceInputAlternatives_1 = string | string;
|
|
648
|
+
|
|
649
|
+
const ResourceInputAlternatives_1 = Schema.Union([
|
|
650
|
+
Schema.String.annotate({
|
|
651
|
+
description: "The Amazon Resource Name (ARN) of the certificate.",
|
|
652
|
+
}),
|
|
653
|
+
Schema.String.annotate({
|
|
654
|
+
description: "The Amazon Resource Name (ARN) of the certificate.",
|
|
655
|
+
}),
|
|
656
|
+
]);
|
|
657
|
+
|
|
658
|
+
interface Certificate {
|
|
659
|
+
readonly CertificateArn?:
|
|
660
|
+
| ResourceEntity<{
|
|
661
|
+
readonly provider: "aws";
|
|
662
|
+
readonly service: "certificatemanager";
|
|
663
|
+
readonly resource: "certificate";
|
|
664
|
+
}>
|
|
665
|
+
| ResourceEntity<{
|
|
666
|
+
readonly provider: "aws";
|
|
667
|
+
readonly service: "iam";
|
|
668
|
+
readonly resource: "servercertificate";
|
|
669
|
+
}>
|
|
670
|
+
| ResourceInputAlternatives_1;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
const Certificate = Schema.Struct({
|
|
674
|
+
CertificateArn: Schema.optionalKey(
|
|
675
|
+
Schema.Union([
|
|
676
|
+
Schema.Union([
|
|
677
|
+
ResourceReferenceSchema(
|
|
678
|
+
Schema.Struct({
|
|
679
|
+
provider: Schema.Literal("aws"),
|
|
680
|
+
service: Schema.Literal("certificatemanager"),
|
|
681
|
+
resource: Schema.Literal("certificate"),
|
|
682
|
+
}),
|
|
683
|
+
{
|
|
684
|
+
value: null,
|
|
685
|
+
outputs: [
|
|
686
|
+
{
|
|
687
|
+
source: ["Id"],
|
|
688
|
+
target: [],
|
|
689
|
+
},
|
|
690
|
+
],
|
|
691
|
+
},
|
|
692
|
+
).annotate({ expected: "ResourceEntity" }),
|
|
693
|
+
ResourceReferenceSchema(
|
|
694
|
+
Schema.Struct({
|
|
695
|
+
provider: Schema.Literal("aws"),
|
|
696
|
+
service: Schema.Literal("iam"),
|
|
697
|
+
resource: Schema.Literal("servercertificate"),
|
|
698
|
+
}),
|
|
699
|
+
{
|
|
700
|
+
value: null,
|
|
701
|
+
outputs: [
|
|
702
|
+
{
|
|
703
|
+
source: ["Arn"],
|
|
704
|
+
target: [],
|
|
705
|
+
},
|
|
706
|
+
],
|
|
707
|
+
},
|
|
708
|
+
).annotate({ expected: "ResourceEntity" }),
|
|
709
|
+
]),
|
|
710
|
+
ResourceInputAlternatives_1,
|
|
711
|
+
]),
|
|
712
|
+
),
|
|
713
|
+
}).annotate({
|
|
714
|
+
description:
|
|
715
|
+
"Specifies an SSL server certificate to use as the default certificate for a secure listener.",
|
|
716
|
+
identifier: "Certificate",
|
|
717
|
+
});
|
|
718
|
+
|
|
719
|
+
interface Tag {
|
|
720
|
+
readonly Value: string;
|
|
721
|
+
readonly Key: string;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
const Tag = Schema.Struct({
|
|
725
|
+
Value: Schema.String,
|
|
726
|
+
Key: Schema.String,
|
|
727
|
+
}).annotate({ description: "", identifier: "Tag" });
|
|
728
|
+
|
|
729
|
+
type ResourceInputItems_2 = globalThis.ReadonlyArray<Tag>;
|
|
730
|
+
|
|
731
|
+
const ResourceInputItems_2 = Schema.Array(Tag).annotate({ description: "" });
|
|
732
|
+
|
|
733
|
+
interface AuthenticateCognitoConfig_1 {
|
|
734
|
+
readonly OnUnauthenticatedRequest?: string;
|
|
735
|
+
readonly UserPoolClientId: ResourceInputAlternatives;
|
|
736
|
+
readonly UserPoolDomain: string;
|
|
737
|
+
readonly SessionTimeout?: string;
|
|
738
|
+
readonly Scope?: string;
|
|
739
|
+
readonly SessionCookieName?: string;
|
|
740
|
+
readonly UserPoolArn: string;
|
|
741
|
+
readonly AuthenticationRequestExtraParams?: ResourceInputProperties;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
const AuthenticateCognitoConfig_1 = Schema.Struct({
|
|
745
|
+
OnUnauthenticatedRequest: Schema.optionalKey(
|
|
746
|
+
Schema.String.annotate({
|
|
747
|
+
description:
|
|
748
|
+
"The behavior if the user is not authenticated. The following are possible values:\n + deny```` - Return an HTTP 401 Unauthorized error.\n + allow```` - Allow the request to be forwarded to the target.\n + authenticate```` - Redirect the request to the IdP authorization endpoint. This is the default value.",
|
|
749
|
+
}),
|
|
750
|
+
),
|
|
751
|
+
UserPoolClientId: ResourceInputAlternatives,
|
|
752
|
+
UserPoolDomain: Schema.String.annotate({
|
|
753
|
+
description:
|
|
754
|
+
"The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.",
|
|
755
|
+
}),
|
|
756
|
+
SessionTimeout: Schema.optionalKey(
|
|
757
|
+
Schema.String.annotate({
|
|
758
|
+
description:
|
|
759
|
+
"The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).",
|
|
760
|
+
}),
|
|
761
|
+
),
|
|
762
|
+
Scope: Schema.optionalKey(
|
|
763
|
+
Schema.String.annotate({
|
|
764
|
+
description:
|
|
765
|
+
"The set of user claims to be requested from the IdP. The default is ``openid``.\n To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.",
|
|
766
|
+
}),
|
|
767
|
+
),
|
|
768
|
+
SessionCookieName: Schema.optionalKey(
|
|
769
|
+
Schema.String.annotate({
|
|
770
|
+
description:
|
|
771
|
+
"The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.",
|
|
772
|
+
}),
|
|
773
|
+
),
|
|
774
|
+
UserPoolArn: Schema.String.annotate({
|
|
775
|
+
description:
|
|
776
|
+
"The Amazon Resource Name (ARN) of the Amazon Cognito user pool.",
|
|
777
|
+
}),
|
|
778
|
+
AuthenticationRequestExtraParams: Schema.optionalKey(ResourceInputProperties),
|
|
779
|
+
}).annotate({
|
|
780
|
+
description:
|
|
781
|
+
"Specifies information required when integrating with Amazon Cognito to authenticate users.",
|
|
782
|
+
identifier: "AuthenticateCognitoConfig_1",
|
|
783
|
+
});
|
|
784
|
+
|
|
785
|
+
interface TargetGroupTuple_1 {
|
|
786
|
+
readonly TargetGroupArn?: string;
|
|
787
|
+
readonly Weight?: number;
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
const TargetGroupTuple_1 = Schema.Struct({
|
|
791
|
+
TargetGroupArn: Schema.optionalKey(
|
|
792
|
+
Schema.String.annotate({
|
|
793
|
+
description: "The Amazon Resource Name (ARN) of the target group.",
|
|
794
|
+
}),
|
|
795
|
+
),
|
|
796
|
+
Weight: Schema.optionalKey(
|
|
797
|
+
Schema.Number.annotate({
|
|
798
|
+
description: "The weight. The range is 0 to 999.",
|
|
799
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
800
|
+
),
|
|
801
|
+
}).annotate({
|
|
802
|
+
description:
|
|
803
|
+
"Information about how traffic will be distributed between multiple target groups in a forward rule.",
|
|
804
|
+
identifier: "TargetGroupTuple_1",
|
|
805
|
+
});
|
|
806
|
+
|
|
807
|
+
interface ForwardConfig_1 {
|
|
808
|
+
readonly TargetGroupStickinessConfig?: TargetGroupStickinessConfig;
|
|
809
|
+
readonly TargetGroups?: globalThis.ReadonlyArray<TargetGroupTuple_1>;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
const ForwardConfig_1 = Schema.Struct({
|
|
813
|
+
TargetGroupStickinessConfig: Schema.optionalKey(TargetGroupStickinessConfig),
|
|
814
|
+
TargetGroups: Schema.optionalKey(
|
|
815
|
+
Schema.Array(TargetGroupTuple_1)
|
|
816
|
+
.annotate({
|
|
817
|
+
description:
|
|
818
|
+
"Information about how traffic will be distributed between multiple target groups in a forward rule.",
|
|
819
|
+
})
|
|
820
|
+
.check(
|
|
821
|
+
Schema.isUnique().annotate({ expected: "an array with unique items" }),
|
|
822
|
+
),
|
|
823
|
+
),
|
|
824
|
+
}).annotate({
|
|
825
|
+
description:
|
|
826
|
+
"Information for creating an action that distributes requests among multiple target groups. Specify only when ``Type`` is ``forward``.\n If you specify both ``ForwardConfig`` and ``TargetGroupArn``, you can specify only one target group using ``ForwardConfig`` and it must be the same target group specified in ``TargetGroupArn``.",
|
|
827
|
+
identifier: "ForwardConfig_1",
|
|
828
|
+
});
|
|
829
|
+
|
|
830
|
+
interface Action_1 {
|
|
831
|
+
readonly Order?: number;
|
|
832
|
+
readonly TargetGroupArn?: string;
|
|
833
|
+
readonly FixedResponseConfig?: FixedResponseConfig;
|
|
834
|
+
readonly AuthenticateCognitoConfig?: AuthenticateCognitoConfig_1;
|
|
835
|
+
readonly Type: string;
|
|
836
|
+
readonly RedirectConfig?: RedirectConfig;
|
|
837
|
+
readonly JwtValidationConfig?: JwtValidationConfig;
|
|
838
|
+
readonly ForwardConfig?: ForwardConfig_1;
|
|
839
|
+
readonly AuthenticateOidcConfig?: AuthenticateOidcConfig;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
const Action_1 = Schema.Struct({
|
|
843
|
+
Order: Schema.optionalKey(
|
|
844
|
+
Schema.Number.annotate({
|
|
845
|
+
description:
|
|
846
|
+
"The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first.",
|
|
847
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
848
|
+
),
|
|
849
|
+
TargetGroupArn: Schema.optionalKey(
|
|
850
|
+
Schema.String.annotate({
|
|
851
|
+
description:
|
|
852
|
+
"The Amazon Resource Name (ARN) of the target group. Specify only when ``Type`` is ``forward`` and you want to route to a single target group. To route to multiple target groups, you must use ``ForwardConfig`` instead.",
|
|
853
|
+
}),
|
|
854
|
+
),
|
|
855
|
+
FixedResponseConfig: Schema.optionalKey(FixedResponseConfig),
|
|
856
|
+
AuthenticateCognitoConfig: Schema.optionalKey(AuthenticateCognitoConfig_1),
|
|
857
|
+
Type: Schema.String.annotate({ description: "The type of action." }),
|
|
858
|
+
RedirectConfig: Schema.optionalKey(RedirectConfig),
|
|
859
|
+
JwtValidationConfig: Schema.optionalKey(JwtValidationConfig),
|
|
860
|
+
ForwardConfig: Schema.optionalKey(ForwardConfig_1),
|
|
861
|
+
AuthenticateOidcConfig: Schema.optionalKey(AuthenticateOidcConfig),
|
|
862
|
+
}).annotate({
|
|
863
|
+
description: "Specifies an action for a listener rule.",
|
|
864
|
+
identifier: "Action_1",
|
|
865
|
+
});
|
|
866
|
+
|
|
867
|
+
interface Certificate_1 {
|
|
868
|
+
readonly CertificateArn?: ResourceInputAlternatives_1;
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
const Certificate_1 = Schema.Struct({
|
|
872
|
+
CertificateArn: Schema.optionalKey(ResourceInputAlternatives_1),
|
|
873
|
+
}).annotate({
|
|
874
|
+
description:
|
|
875
|
+
"Specifies an SSL server certificate to use as the default certificate for a secure listener.",
|
|
876
|
+
identifier: "Certificate_1",
|
|
877
|
+
});
|
|
878
|
+
|
|
879
|
+
export interface AWSListenerProps {
|
|
880
|
+
readonly MutualAuthentication?: MutualAuthentication;
|
|
881
|
+
readonly ListenerAttributes?: ResourceInputItems;
|
|
882
|
+
readonly AlpnPolicy?: ResourceInputItems_1;
|
|
883
|
+
readonly SslPolicy?: string;
|
|
884
|
+
readonly LoadBalancerArn:
|
|
885
|
+
| ResourceEntity<{
|
|
886
|
+
readonly provider: "aws";
|
|
887
|
+
readonly service: "elasticloadbalancingv2";
|
|
888
|
+
readonly resource: "loadbalancer";
|
|
889
|
+
}>
|
|
890
|
+
| string;
|
|
891
|
+
readonly DefaultActions: globalThis.ReadonlyArray<Action>;
|
|
892
|
+
readonly Port?: number;
|
|
893
|
+
readonly Certificates?: globalThis.ReadonlyArray<Certificate>;
|
|
894
|
+
readonly Protocol?: string;
|
|
895
|
+
readonly Tags?: ResourceInputItems_2;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
export const AWSListenerResourceSchema = ResourceSchemaAnnotationSchema.make({
|
|
899
|
+
provider: "aws",
|
|
900
|
+
service: "elasticloadbalancingv2",
|
|
901
|
+
resource: "listener",
|
|
902
|
+
operation: "create",
|
|
903
|
+
stateSecretOutputKeys: [],
|
|
904
|
+
replacement: {
|
|
905
|
+
order: "createBeforeDestroy",
|
|
906
|
+
properties: [["LoadBalancerArn"]],
|
|
907
|
+
},
|
|
908
|
+
primaryIdentifier: ["/properties/ListenerArn"],
|
|
909
|
+
});
|
|
910
|
+
|
|
911
|
+
export const AWSListenerPropsSchema = annotateResourceSchema(
|
|
912
|
+
Schema.Struct({
|
|
913
|
+
MutualAuthentication: Schema.optionalKey(MutualAuthentication),
|
|
914
|
+
ListenerAttributes: Schema.optionalKey(ResourceInputItems),
|
|
915
|
+
AlpnPolicy: Schema.optionalKey(ResourceInputItems_1),
|
|
916
|
+
SslPolicy: Schema.optionalKey(
|
|
917
|
+
Schema.String.annotate({
|
|
918
|
+
description:
|
|
919
|
+
"[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported. For more information, see [Security policies](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/describe-ssl-policies.html) in the *Application Load Balancers Guide* and [Security policies](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/describe-ssl-policies.html) in the *Network Load Balancers Guide*.\n [HTTPS listeners] Updating the security policy can result in interruptions if the load balancer is handling a high volume of traffic. To decrease the possibility of an interruption if your load balancer is handling a high volume of traffic, create an additional load balancer or request an LCU reservation.",
|
|
920
|
+
}),
|
|
921
|
+
),
|
|
922
|
+
LoadBalancerArn: Schema.Union([
|
|
923
|
+
Schema.Union([
|
|
924
|
+
ResourceReferenceSchema(
|
|
925
|
+
Schema.Struct({
|
|
926
|
+
provider: Schema.Literal("aws"),
|
|
927
|
+
service: Schema.Literal("elasticloadbalancingv2"),
|
|
928
|
+
resource: Schema.Literal("loadbalancer"),
|
|
929
|
+
}),
|
|
930
|
+
{
|
|
931
|
+
value: null,
|
|
932
|
+
outputs: [
|
|
933
|
+
{
|
|
934
|
+
source: ["LoadBalancerArn"],
|
|
935
|
+
target: [],
|
|
936
|
+
},
|
|
937
|
+
],
|
|
938
|
+
},
|
|
939
|
+
).annotate({ expected: "ResourceEntity" }),
|
|
940
|
+
]),
|
|
941
|
+
Schema.String.annotate({
|
|
942
|
+
description: "The Amazon Resource Name (ARN) of the load balancer.",
|
|
943
|
+
}),
|
|
944
|
+
]),
|
|
945
|
+
DefaultActions: Schema.Array(Action)
|
|
946
|
+
.annotate({
|
|
947
|
+
description:
|
|
948
|
+
"The actions for the default rule. You cannot define a condition for a default rule.\n To create additional rules for an Application Load Balancer, use [AWS::ElasticLoadBalancingV2::ListenerRule](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listenerrule.html).",
|
|
949
|
+
})
|
|
950
|
+
.check(
|
|
951
|
+
Schema.isUnique().annotate({ expected: "an array with unique items" }),
|
|
952
|
+
),
|
|
953
|
+
Port: Schema.optionalKey(
|
|
954
|
+
Schema.Number.annotate({
|
|
955
|
+
description:
|
|
956
|
+
"The port on which the load balancer is listening. You can't specify a port for a Gateway Load Balancer.",
|
|
957
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
958
|
+
),
|
|
959
|
+
Certificates: Schema.optionalKey(
|
|
960
|
+
Schema.Array(Certificate)
|
|
961
|
+
.annotate({
|
|
962
|
+
description:
|
|
963
|
+
"The default SSL server certificate for a secure listener. You must provide exactly one certificate if the listener protocol is HTTPS or TLS.\n For an HTTPS listener, update requires some interruptions. For a TLS listener, update requires no interruption.\n To create a certificate list for a secure listener, use [AWS::ElasticLoadBalancingV2::ListenerCertificate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listenercertificate.html).",
|
|
964
|
+
})
|
|
965
|
+
.check(
|
|
966
|
+
Schema.isUnique().annotate({
|
|
967
|
+
expected: "an array with unique items",
|
|
968
|
+
}),
|
|
969
|
+
),
|
|
970
|
+
),
|
|
971
|
+
Protocol: Schema.optionalKey(
|
|
972
|
+
Schema.String.annotate({
|
|
973
|
+
description:
|
|
974
|
+
"The protocol for connections from clients to the load balancer. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, TCP_UDP, QUIC, and TCP_QUIC. You can’t specify the UDP, TCP_UDP, QUIC, or TCP_QUIC protocol if dual-stack mode is enabled. You can't specify a protocol for a Gateway Load Balancer.",
|
|
975
|
+
}),
|
|
976
|
+
),
|
|
977
|
+
Tags: Schema.optionalKey(ResourceInputItems_2),
|
|
978
|
+
}),
|
|
979
|
+
AWSListenerResourceSchema,
|
|
980
|
+
);
|
|
981
|
+
|
|
982
|
+
export interface AWSListenerOutputs {
|
|
983
|
+
readonly ListenerArn?: string;
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
export const AWSListenerOutputsSchema = Schema.Struct({
|
|
987
|
+
ListenerArn: Schema.optionalKey(Schema.String.annotate({ description: "" })),
|
|
988
|
+
});
|
|
989
|
+
|
|
990
|
+
export interface AWSListenerRequest {
|
|
991
|
+
readonly MutualAuthentication?: MutualAuthentication;
|
|
992
|
+
readonly ListenerAttributes?: ResourceInputItems;
|
|
993
|
+
readonly AlpnPolicy?: ResourceInputItems_1;
|
|
994
|
+
readonly SslPolicy?: string;
|
|
995
|
+
readonly LoadBalancerArn: string;
|
|
996
|
+
readonly DefaultActions: globalThis.ReadonlyArray<Action_1>;
|
|
997
|
+
readonly Port?: number;
|
|
998
|
+
readonly Certificates?: globalThis.ReadonlyArray<Certificate_1>;
|
|
999
|
+
readonly Protocol?: string;
|
|
1000
|
+
readonly Tags?: ResourceInputItems_2;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
export const AWSListenerRequestSchema = Schema.Struct({
|
|
1004
|
+
MutualAuthentication: Schema.optionalKey(MutualAuthentication),
|
|
1005
|
+
ListenerAttributes: Schema.optionalKey(ResourceInputItems),
|
|
1006
|
+
AlpnPolicy: Schema.optionalKey(ResourceInputItems_1),
|
|
1007
|
+
SslPolicy: Schema.optionalKey(
|
|
1008
|
+
Schema.String.annotate({
|
|
1009
|
+
description:
|
|
1010
|
+
"[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported. For more information, see [Security policies](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/describe-ssl-policies.html) in the *Application Load Balancers Guide* and [Security policies](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/describe-ssl-policies.html) in the *Network Load Balancers Guide*.\n [HTTPS listeners] Updating the security policy can result in interruptions if the load balancer is handling a high volume of traffic. To decrease the possibility of an interruption if your load balancer is handling a high volume of traffic, create an additional load balancer or request an LCU reservation.",
|
|
1011
|
+
}),
|
|
1012
|
+
),
|
|
1013
|
+
LoadBalancerArn: Schema.String.annotate({
|
|
1014
|
+
description: "The Amazon Resource Name (ARN) of the load balancer.",
|
|
1015
|
+
}),
|
|
1016
|
+
DefaultActions: Schema.Array(Action_1)
|
|
1017
|
+
.annotate({
|
|
1018
|
+
description:
|
|
1019
|
+
"The actions for the default rule. You cannot define a condition for a default rule.\n To create additional rules for an Application Load Balancer, use [AWS::ElasticLoadBalancingV2::ListenerRule](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listenerrule.html).",
|
|
1020
|
+
})
|
|
1021
|
+
.check(
|
|
1022
|
+
Schema.isUnique().annotate({ expected: "an array with unique items" }),
|
|
1023
|
+
),
|
|
1024
|
+
Port: Schema.optionalKey(
|
|
1025
|
+
Schema.Number.annotate({
|
|
1026
|
+
description:
|
|
1027
|
+
"The port on which the load balancer is listening. You can't specify a port for a Gateway Load Balancer.",
|
|
1028
|
+
}).check(Schema.isInt().annotate({ expected: "an integer" })),
|
|
1029
|
+
),
|
|
1030
|
+
Certificates: Schema.optionalKey(
|
|
1031
|
+
Schema.Array(Certificate_1)
|
|
1032
|
+
.annotate({
|
|
1033
|
+
description:
|
|
1034
|
+
"The default SSL server certificate for a secure listener. You must provide exactly one certificate if the listener protocol is HTTPS or TLS.\n For an HTTPS listener, update requires some interruptions. For a TLS listener, update requires no interruption.\n To create a certificate list for a secure listener, use [AWS::ElasticLoadBalancingV2::ListenerCertificate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listenercertificate.html).",
|
|
1035
|
+
})
|
|
1036
|
+
.check(
|
|
1037
|
+
Schema.isUnique().annotate({ expected: "an array with unique items" }),
|
|
1038
|
+
),
|
|
1039
|
+
),
|
|
1040
|
+
Protocol: Schema.optionalKey(
|
|
1041
|
+
Schema.String.annotate({
|
|
1042
|
+
description:
|
|
1043
|
+
"The protocol for connections from clients to the load balancer. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, TCP_UDP, QUIC, and TCP_QUIC. You can’t specify the UDP, TCP_UDP, QUIC, or TCP_QUIC protocol if dual-stack mode is enabled. You can't specify a protocol for a Gateway Load Balancer.",
|
|
1044
|
+
}),
|
|
1045
|
+
),
|
|
1046
|
+
Tags: Schema.optionalKey(ResourceInputItems_2),
|
|
1047
|
+
});
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* The AWSListenerRelationshipIssues array lists inputs that can use several outputs
|
|
1051
|
+
* from one source type. Each input retains its provider value until a reviewed
|
|
1052
|
+
* mapping chooses an output.
|
|
1053
|
+
*/
|
|
1054
|
+
export const AWSListenerRelationshipIssues = [
|
|
1055
|
+
{
|
|
1056
|
+
propertyPath: [
|
|
1057
|
+
"DefaultActions",
|
|
1058
|
+
"*",
|
|
1059
|
+
"AuthenticateCognitoConfig",
|
|
1060
|
+
"UserPoolClientId",
|
|
1061
|
+
],
|
|
1062
|
+
sourceType: "AWS::Cognito::UserPoolClient",
|
|
1063
|
+
sourceProperties: [["UserPoolId"], ["ClientId"]],
|
|
1064
|
+
message:
|
|
1065
|
+
"Choose one of the permitted source properties before using a resource reference",
|
|
1066
|
+
},
|
|
1067
|
+
];
|
|
1068
|
+
|
|
1069
|
+
export const AWSListenerResourceTypeSchema = Schema.Struct({
|
|
1070
|
+
provider: Schema.Literal("aws"),
|
|
1071
|
+
service: Schema.Literal("elasticloadbalancingv2"),
|
|
1072
|
+
resource: Schema.Literal("listener"),
|
|
1073
|
+
});
|
|
1074
|
+
|
|
1075
|
+
/**
|
|
1076
|
+
* The AWSListenerResource class retains its owning stack across declarations.
|
|
1077
|
+
* Applied output properties are ordinary values maintained by the lifecycle.
|
|
1078
|
+
*/
|
|
1079
|
+
export class AWSListenerResource<
|
|
1080
|
+
Props = AWSListenerProps,
|
|
1081
|
+
> extends ResourceEntity<{
|
|
1082
|
+
readonly provider: "aws";
|
|
1083
|
+
readonly service: "elasticloadbalancingv2";
|
|
1084
|
+
readonly resource: "listener";
|
|
1085
|
+
}> {
|
|
1086
|
+
constructor(
|
|
1087
|
+
key: ResourceKey,
|
|
1088
|
+
readonly props: Props,
|
|
1089
|
+
private readonly binding?: ResourceOutputBinding,
|
|
1090
|
+
) {
|
|
1091
|
+
super({
|
|
1092
|
+
key,
|
|
1093
|
+
resourceType: {
|
|
1094
|
+
provider: "aws",
|
|
1095
|
+
service: "elasticloadbalancingv2",
|
|
1096
|
+
resource: "listener",
|
|
1097
|
+
},
|
|
1098
|
+
});
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
/**
|
|
1102
|
+
* Successful lifecycle writes update this value for declarations owned by the stack.
|
|
1103
|
+
* Reading an unavailable value throws ResourceOutputResolutionMissing.
|
|
1104
|
+
*/
|
|
1105
|
+
get ListenerArn(): Required<AWSListenerOutputs>["ListenerArn"] {
|
|
1106
|
+
const value: Required<AWSListenerOutputs>["ListenerArn"] =
|
|
1107
|
+
ResourceOutputBinding.value(
|
|
1108
|
+
this.binding,
|
|
1109
|
+
this.key,
|
|
1110
|
+
"ListenerArn",
|
|
1111
|
+
Schema.requiredKey(AWSListenerOutputsSchema.fields.ListenerArn),
|
|
1112
|
+
);
|
|
1113
|
+
return value;
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
/**
|
|
1118
|
+
* Callers must validate properties before constructing the declaration.
|
|
1119
|
+
* Compatible resources can depend on it before apply supplies provider values.
|
|
1120
|
+
* Reading applied outputs requires a binding to the owning stack.
|
|
1121
|
+
*/
|
|
1122
|
+
export function createAWSListenerDeclaration<Props>(
|
|
1123
|
+
key: ResourceKey,
|
|
1124
|
+
props: Props,
|
|
1125
|
+
binding?: ResourceOutputBinding,
|
|
1126
|
+
): AWSListenerResource<Props> {
|
|
1127
|
+
const resource: AWSListenerResource<Props> = new AWSListenerResource<Props>(
|
|
1128
|
+
key,
|
|
1129
|
+
props,
|
|
1130
|
+
binding,
|
|
1131
|
+
);
|
|
1132
|
+
|
|
1133
|
+
return resource;
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
/**
|
|
1137
|
+
* The AWSListener resource factory registers a validated declaration in the
|
|
1138
|
+
* stack graph. Its outputs become available after apply saves the resource.
|
|
1139
|
+
*/
|
|
1140
|
+
export const AWSListener = Effect.fn("AWSListener")(function* (input: {
|
|
1141
|
+
logicalId: string;
|
|
1142
|
+
props: AWSListenerProps;
|
|
1143
|
+
}) {
|
|
1144
|
+
const graph = yield* ResourceGraphBuilder;
|
|
1145
|
+
|
|
1146
|
+
const key: ResourceKey = { logicalId: input.logicalId };
|
|
1147
|
+
|
|
1148
|
+
const declaration = yield* graph.resource(key);
|
|
1149
|
+
|
|
1150
|
+
const props = yield* Schema.decodeEffect(AWSListenerPropsSchema)(input.props);
|
|
1151
|
+
|
|
1152
|
+
yield* declaration.registerEntity(AWSListenerResourceTypeSchema, {
|
|
1153
|
+
propsSchema: AWSListenerPropsSchema,
|
|
1154
|
+
requestSchema: AWSListenerRequestSchema,
|
|
1155
|
+
outputsSchema: AWSListenerOutputsSchema,
|
|
1156
|
+
props,
|
|
1157
|
+
});
|
|
1158
|
+
|
|
1159
|
+
const resource: AWSListenerResource = createAWSListenerDeclaration(
|
|
1160
|
+
key,
|
|
1161
|
+
props,
|
|
1162
|
+
declaration.outputs,
|
|
1163
|
+
);
|
|
1164
|
+
|
|
1165
|
+
return resource;
|
|
1166
|
+
});
|