Skip to main content

@reapit-cdk/reapit-product

npm version npm downloads coverage: 0%25 Integ Tests: X

Creates a product in the organisations service

Package Installation:

yarn add --dev @reapit-cdk/reapit-product
# or
npm install @reapit-cdk/reapit-product --save-dev

Usage

import { CfnOutput, Stack, App } from 'aws-cdk-lib'
import { ReapitProductProvider } from '@reapit-cdk/reapit-product'
import { RestApi } from 'aws-cdk-lib/aws-apigateway'

const app = new App()
const stack = new Stack(app, 'stack-name')

const orgsApiGwId = '' // imported from somewhere or hard coded

const organisationsServiceApiGateway = RestApi.fromRestApiId(stack, 'orgs-api-gw', orgsApiGwId)

const productProvider = new ReapitProductProvider(stack, 'product-provider', {
  organisationsServiceApiGateway,
  stageName: 'api',
})

const product = productProvider.createProduct(stack, 'product', {
  name: 'a product name',
  callbackUrls: [],
  grant: 'authorizationCode',
  isInternalApp: true,
  requiresUserAdmin: false,
  scopes: [],
  signoutUrls: [],
})

new CfnOutput(stack, 'client-id', {
  value: product.externalId,
})

Metadata

Release files for reapit-cdk.reapit-product 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reapit-cdk.reapit-product 0.1.2
File Size Uploaded Provenance Actions
reapit-cdk.reapit-product-0.1.2.tar.gz 127.7 kB Without provenance Details for reapit-cdk.reapit-product-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for reapit-cdk.reapit-product 0.1.2
File Interpreter ABI Platform Actions
reapit_cdk.reapit_product-0.1.2-py3-none-any.whl Python 3 none any Details for reapit_cdk.reapit_product-0.1.2-py3-none-any.whl

Total release size: 254.1 kB

Release files / reapit-cdk.reapit-product-0.1.2.tar.gz

Download URL reapit-cdk.reapit-product-0.1.2.tar.gz
Size 127.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4852bdf7e9da8c48a30d977977fec8475f1131dde016dccac135a850f583e835
BLAKE2b-256 checksum
How to use checksums
6a61bc949461ebc49ceaa5ad3cede7777dad8ed019e561bc827e78680963f944
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release files / reapit_cdk.reapit_product-0.1.2-py3-none-any.whl

Download URL reapit_cdk.reapit_product-0.1.2-py3-none-any.whl
Size 126.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f29a375eda489ddd4ead47da27b1c7fbb22936a13cf01890b77d8b1cdea7f661
BLAKE2b-256 checksum
How to use checksums
b622f981d49ad705a1e81e8e21122f4140a1df38e6f941ae7a26a62675738ab5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Security for reapit-cdk.reapit-product 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page