diff --git a/.gitattributes b/.gitattributes index 9550d447a..9827f3b55 100644 --- a/.gitattributes +++ b/.gitattributes @@ -81,8 +81,10 @@ /.github/workflows/release-generic-transcribe-vocabulary.yml linguist-generated /.github/workflows/release-github-git-tag.yml linguist-generated /.github/workflows/release-github-organizations-membership.yml linguist-generated +/.github/workflows/release-github-organizations-secret.yml linguist-generated /.github/workflows/release-github-repositories-collaborator.yml linguist-generated /.github/workflows/release-github-repositories-repository.yml linguist-generated +/.github/workflows/release-github-repositories-secret.yml linguist-generated /.github/workflows/release-github-repositories-webhook.yml linguist-generated /.github/workflows/release-github-teams-membership.yml linguist-generated /.github/workflows/release-github-teams-repositoryaccess.yml linguist-generated diff --git a/.github/workflows/build-individual.yml b/.github/workflows/build-individual.yml index 0da6879fe..68d02fd93 100644 --- a/.github/workflows/build-individual.yml +++ b/.github/workflows/build-individual.yml @@ -725,6 +725,16 @@ jobs: - run: yarn build:github-organizations-membership container: image: jsii/superchain:1-buster-slim-node16 + github-organizations-secret: + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/checkout@v3 + - run: yarn install + - run: yarn build:github-organizations-secret + container: + image: jsii/superchain:1-buster-slim-node16 github-repositories-collaborator: runs-on: ubuntu-latest permissions: @@ -745,6 +755,16 @@ jobs: - run: yarn build:github-repositories-repository container: image: jsii/superchain:1-buster-slim-node16 + github-repositories-secret: + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/checkout@v3 + - run: yarn install + - run: yarn build:github-repositories-secret + container: + image: jsii/superchain:1-buster-slim-node16 github-repositories-webhook: runs-on: ubuntu-latest permissions: diff --git a/.github/workflows/release-github-organizations-secret.yml b/.github/workflows/release-github-organizations-secret.yml new file mode 100644 index 000000000..ce1ee38a7 --- /dev/null +++ b/.github/workflows/release-github-organizations-secret.yml @@ -0,0 +1,136 @@ +# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". + +name: release-github-organizations-secret +on: + push: + branches: + - main +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Set git identity + run: |- + git config user.name "github-actions" + git config user.email "github-actions@github.com" + - run: yarn install + - name: build:github-organizations-secret + run: npx projen build:github-organizations-secret + - run: mv packages/@cdk-cloudformation/github-organizations-secret/dist . + - name: Upload artifact + if: always() + uses: actions/upload-artifact@v2.1.1 + with: + name: build-artifact + path: dist + container: + image: jsii/superchain:1-buster-slim-node16 + release_npm: + name: Publish to npm + needs: build + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/setup-node@v3 + with: + node-version: 16.x + - name: Download build artifacts + uses: actions/download-artifact@v3 + with: + name: build-artifact + path: dist + - name: Restore build artifact permissions + run: cd dist && setfacl --restore=permissions-backup.acl + continue-on-error: true + - name: Release + env: + NPM_DIST_TAG: latest + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + run: npx -p publib@latest publib-npm + release_maven: + name: Publish to Maven Central + needs: build + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/setup-java@v3 + with: + distribution: temurin + java-version: 11.x + - uses: actions/setup-node@v3 + with: + node-version: 16.x + - name: Download build artifacts + uses: actions/download-artifact@v3 + with: + name: build-artifact + path: dist + - name: Restore build artifact permissions + run: cd dist && setfacl --restore=permissions-backup.acl + continue-on-error: true + - name: Release + env: + MAVEN_ENDPOINT: https://s01.oss.sonatype.org + MAVEN_GPG_PRIVATE_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} + MAVEN_GPG_PRIVATE_KEY_PASSPHRASE: ${{ secrets.MAVEN_GPG_PRIVATE_KEY_PASSPHRASE }} + MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} + MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} + MAVEN_STAGING_PROFILE_ID: ${{ secrets.MAVEN_STAGING_PROFILE_ID }} + run: npx -p publib@latest publib-maven + release_nuget: + name: Publish to NuGet Gallery + needs: build + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/setup-node@v3 + with: + node-version: 16.x + - uses: actions/setup-dotnet@v3 + with: + dotnet-version: 3.x + - name: Download build artifacts + uses: actions/download-artifact@v3 + with: + name: build-artifact + path: dist + - name: Restore build artifact permissions + run: cd dist && setfacl --restore=permissions-backup.acl + continue-on-error: true + - name: Release + env: + NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} + run: npx -p publib@latest publib-nuget + release_pypi: + name: Publish to PyPI + needs: build + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/setup-node@v3 + with: + node-version: 16.x + - uses: actions/setup-python@v4 + with: + python-version: 3.x + - name: Download build artifacts + uses: actions/download-artifact@v3 + with: + name: build-artifact + path: dist + - name: Restore build artifact permissions + run: cd dist && setfacl --restore=permissions-backup.acl + continue-on-error: true + - name: Release + env: + TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} + TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} + run: npx -p publib@latest publib-pypi diff --git a/.github/workflows/release-github-repositories-secret.yml b/.github/workflows/release-github-repositories-secret.yml new file mode 100644 index 000000000..d8b85a1ef --- /dev/null +++ b/.github/workflows/release-github-repositories-secret.yml @@ -0,0 +1,136 @@ +# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". + +name: release-github-repositories-secret +on: + push: + branches: + - main +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Set git identity + run: |- + git config user.name "github-actions" + git config user.email "github-actions@github.com" + - run: yarn install + - name: build:github-repositories-secret + run: npx projen build:github-repositories-secret + - run: mv packages/@cdk-cloudformation/github-repositories-secret/dist . + - name: Upload artifact + if: always() + uses: actions/upload-artifact@v2.1.1 + with: + name: build-artifact + path: dist + container: + image: jsii/superchain:1-buster-slim-node16 + release_npm: + name: Publish to npm + needs: build + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/setup-node@v3 + with: + node-version: 16.x + - name: Download build artifacts + uses: actions/download-artifact@v3 + with: + name: build-artifact + path: dist + - name: Restore build artifact permissions + run: cd dist && setfacl --restore=permissions-backup.acl + continue-on-error: true + - name: Release + env: + NPM_DIST_TAG: latest + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + run: npx -p publib@latest publib-npm + release_maven: + name: Publish to Maven Central + needs: build + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/setup-java@v3 + with: + distribution: temurin + java-version: 11.x + - uses: actions/setup-node@v3 + with: + node-version: 16.x + - name: Download build artifacts + uses: actions/download-artifact@v3 + with: + name: build-artifact + path: dist + - name: Restore build artifact permissions + run: cd dist && setfacl --restore=permissions-backup.acl + continue-on-error: true + - name: Release + env: + MAVEN_ENDPOINT: https://s01.oss.sonatype.org + MAVEN_GPG_PRIVATE_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} + MAVEN_GPG_PRIVATE_KEY_PASSPHRASE: ${{ secrets.MAVEN_GPG_PRIVATE_KEY_PASSPHRASE }} + MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} + MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} + MAVEN_STAGING_PROFILE_ID: ${{ secrets.MAVEN_STAGING_PROFILE_ID }} + run: npx -p publib@latest publib-maven + release_nuget: + name: Publish to NuGet Gallery + needs: build + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/setup-node@v3 + with: + node-version: 16.x + - uses: actions/setup-dotnet@v3 + with: + dotnet-version: 3.x + - name: Download build artifacts + uses: actions/download-artifact@v3 + with: + name: build-artifact + path: dist + - name: Restore build artifact permissions + run: cd dist && setfacl --restore=permissions-backup.acl + continue-on-error: true + - name: Release + env: + NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} + run: npx -p publib@latest publib-nuget + release_pypi: + name: Publish to PyPI + needs: build + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/setup-node@v3 + with: + node-version: 16.x + - uses: actions/setup-python@v4 + with: + python-version: 3.x + - name: Download build artifacts + uses: actions/download-artifact@v3 + with: + name: build-artifact + path: dist + - name: Restore build artifact permissions + run: cd dist && setfacl --restore=permissions-backup.acl + continue-on-error: true + - name: Release + env: + TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} + TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} + run: npx -p publib@latest publib-pypi diff --git a/.gitignore b/.gitignore index 105a46dbe..703cf2fad 100644 --- a/.gitignore +++ b/.gitignore @@ -268,12 +268,18 @@ junit.xml /packages/@cdk-cloudformation/github-organizations-membership/dist/ /packages/@cdk-cloudformation/github-organizations-membership/lib/ !/.github/workflows/release-github-organizations-membership.yml +/packages/@cdk-cloudformation/github-organizations-secret/dist/ +/packages/@cdk-cloudformation/github-organizations-secret/lib/ +!/.github/workflows/release-github-organizations-secret.yml /packages/@cdk-cloudformation/github-repositories-collaborator/dist/ /packages/@cdk-cloudformation/github-repositories-collaborator/lib/ !/.github/workflows/release-github-repositories-collaborator.yml /packages/@cdk-cloudformation/github-repositories-repository/dist/ /packages/@cdk-cloudformation/github-repositories-repository/lib/ !/.github/workflows/release-github-repositories-repository.yml +/packages/@cdk-cloudformation/github-repositories-secret/dist/ +/packages/@cdk-cloudformation/github-repositories-secret/lib/ +!/.github/workflows/release-github-repositories-secret.yml /packages/@cdk-cloudformation/github-repositories-webhook/dist/ /packages/@cdk-cloudformation/github-repositories-webhook/lib/ !/.github/workflows/release-github-repositories-webhook.yml diff --git a/.projen/files.json b/.projen/files.json index 0fc1bc6cb..71796220b 100644 --- a/.projen/files.json +++ b/.projen/files.json @@ -80,8 +80,10 @@ ".github/workflows/release-generic-transcribe-vocabulary.yml", ".github/workflows/release-github-git-tag.yml", ".github/workflows/release-github-organizations-membership.yml", + ".github/workflows/release-github-organizations-secret.yml", ".github/workflows/release-github-repositories-collaborator.yml", ".github/workflows/release-github-repositories-repository.yml", + ".github/workflows/release-github-repositories-secret.yml", ".github/workflows/release-github-repositories-webhook.yml", ".github/workflows/release-github-teams-membership.yml", ".github/workflows/release-github-teams-repositoryaccess.yml", diff --git a/.projen/tasks.json b/.projen/tasks.json index 7290d1ab8..6f2e5f45f 100644 --- a/.projen/tasks.json +++ b/.projen/tasks.json @@ -888,6 +888,18 @@ } ] }, + "build:github-organizations-secret": { + "name": "build:github-organizations-secret", + "description": "build github-organizations-secret", + "steps": [ + { + "spawn": "compile:github-organizations-secret" + }, + { + "spawn": "package:github-organizations-secret" + } + ] + }, "build:github-repositories-collaborator": { "name": "build:github-repositories-collaborator", "description": "build github-repositories-collaborator", @@ -912,6 +924,18 @@ } ] }, + "build:github-repositories-secret": { + "name": "build:github-repositories-secret", + "description": "build github-repositories-secret", + "steps": [ + { + "spawn": "compile:github-repositories-secret" + }, + { + "spawn": "package:github-repositories-secret" + } + ] + }, "build:github-repositories-webhook": { "name": "build:github-repositories-webhook", "description": "build github-repositories-webhook", @@ -2788,6 +2812,16 @@ ], "cwd": "packages/@cdk-cloudformation/github-organizations-membership" }, + "compile:github-organizations-secret": { + "name": "compile:github-organizations-secret", + "description": "compile github-organizations-secret with JSII", + "steps": [ + { + "exec": "jsii" + } + ], + "cwd": "packages/@cdk-cloudformation/github-organizations-secret" + }, "compile:github-repositories-collaborator": { "name": "compile:github-repositories-collaborator", "description": "compile github-repositories-collaborator with JSII", @@ -2808,6 +2842,16 @@ ], "cwd": "packages/@cdk-cloudformation/github-repositories-repository" }, + "compile:github-repositories-secret": { + "name": "compile:github-repositories-secret", + "description": "compile github-repositories-secret with JSII", + "steps": [ + { + "exec": "jsii" + } + ], + "cwd": "packages/@cdk-cloudformation/github-repositories-secret" + }, "compile:github-repositories-webhook": { "name": "compile:github-repositories-webhook", "description": "compile github-repositories-webhook with JSII", @@ -4490,6 +4534,16 @@ ], "cwd": "packages/@cdk-cloudformation/github-organizations-membership" }, + "package:github-organizations-secret": { + "name": "package:github-organizations-secret", + "description": "produce multi-language packaging for github-organizations-secret", + "steps": [ + { + "exec": "jsii-pacmak --no-npmignore" + } + ], + "cwd": "packages/@cdk-cloudformation/github-organizations-secret" + }, "package:github-repositories-collaborator": { "name": "package:github-repositories-collaborator", "description": "produce multi-language packaging for github-repositories-collaborator", @@ -4510,6 +4564,16 @@ ], "cwd": "packages/@cdk-cloudformation/github-repositories-repository" }, + "package:github-repositories-secret": { + "name": "package:github-repositories-secret", + "description": "produce multi-language packaging for github-repositories-secret", + "steps": [ + { + "exec": "jsii-pacmak --no-npmignore" + } + ], + "cwd": "packages/@cdk-cloudformation/github-repositories-secret" + }, "package:github-repositories-webhook": { "name": "package:github-repositories-webhook", "description": "produce multi-language packaging for github-repositories-webhook", diff --git a/README.md b/README.md index 69479ad9c..3283b6e19 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ that version from your package manager. -Release status for 165 libraries: +Release status for 167 libraries: * [![alexa-ask-skill](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-alexa-ask-skill.yml/badge.svg)](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-alexa-ask-skill.yml) * [![aqua-enterprise-enforcer](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-aqua-enterprise-enforcer.yml/badge.svg)](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-aqua-enterprise-enforcer.yml) @@ -120,8 +120,10 @@ Release status for 165 libraries: * [![generic-transcribe-vocabulary](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-generic-transcribe-vocabulary.yml/badge.svg)](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-generic-transcribe-vocabulary.yml) * [![github-git-tag](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-github-git-tag.yml/badge.svg)](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-github-git-tag.yml) * [![github-organizations-membership](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-github-organizations-membership.yml/badge.svg)](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-github-organizations-membership.yml) +* [![github-organizations-secret](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-github-organizations-secret.yml/badge.svg)](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-github-organizations-secret.yml) * [![github-repositories-collaborator](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-github-repositories-collaborator.yml/badge.svg)](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-github-repositories-collaborator.yml) * [![github-repositories-repository](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-github-repositories-repository.yml/badge.svg)](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-github-repositories-repository.yml) +* [![github-repositories-secret](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-github-repositories-secret.yml/badge.svg)](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-github-repositories-secret.yml) * [![github-repositories-webhook](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-github-repositories-webhook.yml/badge.svg)](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-github-repositories-webhook.yml) * [![github-teams-membership](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-github-teams-membership.yml/badge.svg)](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-github-teams-membership.yml) * [![github-teams-repositoryaccess](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-github-teams-repositoryaccess.yml/badge.svg)](https://github.com/cdklabs/cdk-cloudformation/actions/workflows/release-github-teams-repositoryaccess.yml) diff --git a/package.json b/package.json index 5ab375b39..0f2a54f50 100644 --- a/package.json +++ b/package.json @@ -74,8 +74,10 @@ "build:generic-transcribe-vocabulary": "npx projen build:generic-transcribe-vocabulary", "build:github-git-tag": "npx projen build:github-git-tag", "build:github-organizations-membership": "npx projen build:github-organizations-membership", + "build:github-organizations-secret": "npx projen build:github-organizations-secret", "build:github-repositories-collaborator": "npx projen build:github-repositories-collaborator", "build:github-repositories-repository": "npx projen build:github-repositories-repository", + "build:github-repositories-secret": "npx projen build:github-repositories-secret", "build:github-repositories-webhook": "npx projen build:github-repositories-webhook", "build:github-teams-membership": "npx projen build:github-teams-membership", "build:github-teams-repositoryaccess": "npx projen build:github-teams-repositoryaccess", @@ -243,8 +245,10 @@ "compile:generic-transcribe-vocabulary": "npx projen compile:generic-transcribe-vocabulary", "compile:github-git-tag": "npx projen compile:github-git-tag", "compile:github-organizations-membership": "npx projen compile:github-organizations-membership", + "compile:github-organizations-secret": "npx projen compile:github-organizations-secret", "compile:github-repositories-collaborator": "npx projen compile:github-repositories-collaborator", "compile:github-repositories-repository": "npx projen compile:github-repositories-repository", + "compile:github-repositories-secret": "npx projen compile:github-repositories-secret", "compile:github-repositories-webhook": "npx projen compile:github-repositories-webhook", "compile:github-teams-membership": "npx projen compile:github-teams-membership", "compile:github-teams-repositoryaccess": "npx projen compile:github-teams-repositoryaccess", @@ -412,8 +416,10 @@ "package:generic-transcribe-vocabulary": "npx projen package:generic-transcribe-vocabulary", "package:github-git-tag": "npx projen package:github-git-tag", "package:github-organizations-membership": "npx projen package:github-organizations-membership", + "package:github-organizations-secret": "npx projen package:github-organizations-secret", "package:github-repositories-collaborator": "npx projen package:github-repositories-collaborator", "package:github-repositories-repository": "npx projen package:github-repositories-repository", + "package:github-repositories-secret": "npx projen package:github-repositories-secret", "package:github-repositories-webhook": "npx projen package:github-repositories-webhook", "package:github-teams-membership": "npx projen package:github-teams-membership", "package:github-teams-repositoryaccess": "npx projen package:github-teams-repositoryaccess", diff --git a/packages/@cdk-cloudformation/github-git-tag/README.md b/packages/@cdk-cloudformation/github-git-tag/README.md index 44b18354d..a6b5556b9 100644 --- a/packages/@cdk-cloudformation/github-git-tag/README.md +++ b/packages/@cdk-cloudformation/github-git-tag/README.md @@ -1,6 +1,6 @@ # github-git-tag -> AWS CDK [L1 construct] and data structures for the [AWS CloudFormation Registry] type `GitHub::Git::Tag` v1.2.0. +> AWS CDK [L1 construct] and data structures for the [AWS CloudFormation Registry] type `GitHub::Git::Tag` v1.4.0. [L1 construct]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html [AWS CloudFormation Registry]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry.html @@ -40,7 +40,7 @@ You can find more information about activating this type in the [AWS CloudFormat This library is auto-generated and published to all supported programming languages by the [cdklabs/cdk-cloudformation] project based on the API schema published for `GitHub::Git::Tag`. -* Issues related to this generated library should be [reported here](https://github.com/cdklabs/cdk-cloudformation/issues/new?title=Issue+with+%40cdk-cloudformation%2Fgithub-git-tag+v1.2.0). +* Issues related to this generated library should be [reported here](https://github.com/cdklabs/cdk-cloudformation/issues/new?title=Issue+with+%40cdk-cloudformation%2Fgithub-git-tag+v1.4.0). * Issues related to `GitHub::Git::Tag` should be reported to the [publisher](https://github.com/aws-ia/cloudformation-github-resource-providers). [cdklabs/cdk-cloudformation]: https://github.com/cdklabs/cdk-cloudformation diff --git a/packages/@cdk-cloudformation/github-git-tag/package.json b/packages/@cdk-cloudformation/github-git-tag/package.json index 3af9bb384..aa49bf013 100644 --- a/packages/@cdk-cloudformation/github-git-tag/package.json +++ b/packages/@cdk-cloudformation/github-git-tag/package.json @@ -1,7 +1,7 @@ { "name": "@cdk-cloudformation/github-git-tag", "description": "Manage a git tag on GitHub", - "version": "1.2.0-alpha.7", + "version": "1.4.0-alpha.7", "author": { "name": "Amazon Web Services", "url": "https://aws.amazon.com", diff --git a/packages/@cdk-cloudformation/github-organizations-membership/README.md b/packages/@cdk-cloudformation/github-organizations-membership/README.md index d45d3fafa..20f6b957e 100644 --- a/packages/@cdk-cloudformation/github-organizations-membership/README.md +++ b/packages/@cdk-cloudformation/github-organizations-membership/README.md @@ -1,6 +1,6 @@ # github-organizations-membership -> AWS CDK [L1 construct] and data structures for the [AWS CloudFormation Registry] type `GitHub::Organizations::Membership` v1.1.0. +> AWS CDK [L1 construct] and data structures for the [AWS CloudFormation Registry] type `GitHub::Organizations::Membership` v1.3.0. [L1 construct]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html [AWS CloudFormation Registry]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry.html @@ -40,7 +40,7 @@ You can find more information about activating this type in the [AWS CloudFormat This library is auto-generated and published to all supported programming languages by the [cdklabs/cdk-cloudformation] project based on the API schema published for `GitHub::Organizations::Membership`. -* Issues related to this generated library should be [reported here](https://github.com/cdklabs/cdk-cloudformation/issues/new?title=Issue+with+%40cdk-cloudformation%2Fgithub-organizations-membership+v1.1.0). +* Issues related to this generated library should be [reported here](https://github.com/cdklabs/cdk-cloudformation/issues/new?title=Issue+with+%40cdk-cloudformation%2Fgithub-organizations-membership+v1.3.0). * Issues related to `GitHub::Organizations::Membership` should be reported to the [publisher](https://github.com/aws-ia/cloudformation-github-resource-providers). [cdklabs/cdk-cloudformation]: https://github.com/cdklabs/cdk-cloudformation diff --git a/packages/@cdk-cloudformation/github-organizations-membership/package.json b/packages/@cdk-cloudformation/github-organizations-membership/package.json index 7afb34861..da3e2a939 100644 --- a/packages/@cdk-cloudformation/github-organizations-membership/package.json +++ b/packages/@cdk-cloudformation/github-organizations-membership/package.json @@ -1,7 +1,7 @@ { "name": "@cdk-cloudformation/github-organizations-membership", "description": "Add people to an organization. Will create an invite and user will only become a member once they accept this invite.", - "version": "1.1.0-alpha.7", + "version": "1.3.0-alpha.7", "author": { "name": "Amazon Web Services", "url": "https://aws.amazon.com", diff --git a/packages/@cdk-cloudformation/github-organizations-secret/.gitignore b/packages/@cdk-cloudformation/github-organizations-secret/.gitignore new file mode 100644 index 000000000..3c26cd33e --- /dev/null +++ b/packages/@cdk-cloudformation/github-organizations-secret/.gitignore @@ -0,0 +1,15 @@ +# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". +node_modules/ +!/.gitattributes +!/.projen/tasks.json +!/.projen/deps.json +!/.projen/files.json +!/LICENSE +!/README.md +!/package.json +/.jsii +/lib/ +/tsconfig.json +/dist/ +tsconfig.tsbuildinfo +!/.npmignore diff --git a/packages/@cdk-cloudformation/github-organizations-secret/.npmignore b/packages/@cdk-cloudformation/github-organizations-secret/.npmignore new file mode 100644 index 000000000..23f1be049 --- /dev/null +++ b/packages/@cdk-cloudformation/github-organizations-secret/.npmignore @@ -0,0 +1,8 @@ +# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". +.projen +dist +src +test +tsconfig.tsbuildinfo +!.jsii +!.jsii.gz diff --git a/packages/@cdk-cloudformation/github-organizations-secret/.projen/files.json b/packages/@cdk-cloudformation/github-organizations-secret/.projen/files.json new file mode 100644 index 000000000..e100c0f27 --- /dev/null +++ b/packages/@cdk-cloudformation/github-organizations-secret/.projen/files.json @@ -0,0 +1,13 @@ +{ + "files": [ + ".gitattributes", + ".gitignore", + ".projen/deps.json", + ".projen/files.json", + ".projen/tasks.json", + "LICENSE", + "package.json", + "README.md" + ], + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"." +} diff --git a/packages/@cdk-cloudformation/github-organizations-secret/.projen/tasks.json b/packages/@cdk-cloudformation/github-organizations-secret/.projen/tasks.json new file mode 100644 index 000000000..559cf5025 --- /dev/null +++ b/packages/@cdk-cloudformation/github-organizations-secret/.projen/tasks.json @@ -0,0 +1,56 @@ +{ + "tasks": { + "build": { + "name": "build", + "description": "Full release build", + "steps": [ + { + "spawn": "pre-compile" + }, + { + "spawn": "compile" + }, + { + "spawn": "post-compile" + }, + { + "spawn": "test" + }, + { + "spawn": "package" + } + ] + }, + "compile": { + "name": "compile", + "description": "Only compile" + }, + "default": { + "name": "default", + "description": "Synthesize project files", + "steps": [ + { + "exec": "npx projen default", + "cwd": "../../.." + } + ] + }, + "package": { + "name": "package", + "description": "Creates the distribution package" + }, + "post-compile": { + "name": "post-compile", + "description": "Runs after successful compilation" + }, + "pre-compile": { + "name": "pre-compile", + "description": "Prepare the project for compilation" + }, + "test": { + "name": "test", + "description": "Run tests" + } + }, + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"." +} diff --git a/packages/@cdk-cloudformation/github-organizations-secret/LICENSE b/packages/@cdk-cloudformation/github-organizations-secret/LICENSE new file mode 100644 index 000000000..d64569567 --- /dev/null +++ b/packages/@cdk-cloudformation/github-organizations-secret/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/packages/@cdk-cloudformation/github-organizations-secret/README.md b/packages/@cdk-cloudformation/github-organizations-secret/README.md new file mode 100644 index 000000000..fc5122482 --- /dev/null +++ b/packages/@cdk-cloudformation/github-organizations-secret/README.md @@ -0,0 +1,49 @@ +# github-organizations-secret + +> AWS CDK [L1 construct] and data structures for the [AWS CloudFormation Registry] type `GitHub::Organizations::Secret` v1.1.0. + +[L1 construct]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html +[AWS CloudFormation Registry]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry.html + +## Description + +Manage the organization secret + +## References + +* [Source](https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git) + +## Usage + +In order to use this library, you will need to activate this AWS CloudFormation Registry type in your account. You can do this via the AWS Management Console or using the [AWS CLI](https://aws.amazon.com/cli/) using the following command: + +```sh +aws cloudformation activate-type \ + --type-name GitHub::Organizations::Secret \ + --publisher-id c830e97710da0c9954d80ba8df021e5439e7134b \ + --type RESOURCE \ + --execution-role-arn ROLE-ARN +``` + +Alternatively: + +```sh +aws cloudformation activate-type \ + --public-type-arn arn:aws:cloudformation:us-east-1::type/resource/c830e97710da0c9954d80ba8df021e5439e7134b/GitHub-Organizations-Secret \ + --execution-role-arn ROLE-ARN +``` + +You can find more information about activating this type in the [AWS CloudFormation documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html). + +## Feedback + +This library is auto-generated and published to all supported programming languages by the [cdklabs/cdk-cloudformation] project based on the API schema published for `GitHub::Organizations::Secret`. + +* Issues related to this generated library should be [reported here](https://github.com/cdklabs/cdk-cloudformation/issues/new?title=Issue+with+%40cdk-cloudformation%2Fgithub-organizations-secret+v1.1.0). +* Issues related to `GitHub::Organizations::Secret` should be reported to the [publisher](https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git). + +[cdklabs/cdk-cloudformation]: https://github.com/cdklabs/cdk-cloudformation + +## License + +Distributed under the Apache-2.0 License. diff --git a/packages/@cdk-cloudformation/github-organizations-secret/package.json b/packages/@cdk-cloudformation/github-organizations-secret/package.json new file mode 100644 index 000000000..49fa7a099 --- /dev/null +++ b/packages/@cdk-cloudformation/github-organizations-secret/package.json @@ -0,0 +1,73 @@ +{ + "name": "@cdk-cloudformation/github-organizations-secret", + "description": "Manage the organization secret", + "version": "1.1.0-alpha.7", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com", + "organization": true + }, + "keywords": [ + "cdk", + "awscdk", + "aws-cdk", + "cloudformation", + "cfn", + "extensions", + "constructs", + "cfn-resources", + "cloudformation-registry", + "l1", + "github", + "organizations", + "secret" + ], + "homepage": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "repository": { + "type": "git", + "url": "https://github.com/cdklabs/cdk-cloudformation.git", + "directory": "packages/@cdk-cloudformation/github-organizations-secret" + }, + "main": "lib/index.js", + "types": "lib/index.d.ts", + "publishConfig": { + "access": "public" + }, + "jsii": { + "outdir": "dist", + "targets": { + "java": { + "package": "io.github.cdklabs.cdk_cloudformation.github_organizations_secret", + "maven": { + "groupId": "io.github.cdklabs.cdk_cloudformation", + "artifactId": "github-organizations-secret" + } + }, + "python": { + "distName": "cdk-cloudformation-github-organizations-secret", + "module": "cdk_cloudformation_github_organizations_secret" + }, + "dotnet": { + "namespace": "CdkCloudFormation.GitHubOrganizationsSecret", + "packageId": "CdkCloudFormation.GitHubOrganizationsSecret" + } + }, + "tsc": { + "outDir": "lib", + "rootDir": "src", + "types": [ + "node" + ] + } + }, + "peerDependencies": { + "aws-cdk-lib": "^2.86.0", + "constructs": "^10.2.67" + }, + "devDependencies": { + "aws-cdk-lib": "2.86.0", + "constructs": "10.2.67" + }, + "license": "Apache-2.0", + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"." +} diff --git a/packages/@cdk-cloudformation/github-organizations-secret/src/index.ts b/packages/@cdk-cloudformation/github-organizations-secret/src/index.ts new file mode 100644 index 000000000..8ad5cfd90 --- /dev/null +++ b/packages/@cdk-cloudformation/github-organizations-secret/src/index.ts @@ -0,0 +1,127 @@ +// Generated by cdk-import +import * as cdk from 'aws-cdk-lib'; +import * as constructs from 'constructs'; + +/** + * Manage the organization secret + * + * @schema CfnSecretProps + */ +export interface CfnSecretProps { + /** + * @schema CfnSecretProps#Org + */ + readonly org: string; + + /** + * @schema CfnSecretProps#SecretValue + */ + readonly secretValue?: string; + + /** + * @schema CfnSecretProps#SecretName + */ + readonly secretName: string; + + /** + * @schema CfnSecretProps#Name + */ + readonly name?: string; + + /** + * @schema CfnSecretProps#SelectedRepositoryIds + */ + readonly selectedRepositoryIds?: number[]; + + /** + * @schema CfnSecretProps#Visibility + */ + readonly visibility: Visibility; + + /** + * @schema CfnSecretProps#CreatedAt + */ + readonly createdAt?: Date; + + /** + * @schema CfnSecretProps#UpdatedAt + */ + readonly updatedAt?: Date; + +} + +/** + * Converts an object of type 'CfnSecretProps' to JSON representation. + */ +/* eslint-disable max-len, quote-props */ +export function toJson_CfnSecretProps(obj: CfnSecretProps | undefined): Record | undefined { + if (obj === undefined) { return undefined; } + const result = { + 'Org': obj.org, + 'SecretValue': obj.secretValue, + 'SecretName': obj.secretName, + 'Name': obj.name, + 'SelectedRepositoryIds': obj.selectedRepositoryIds?.map(y => y), + 'Visibility': obj.visibility, + 'CreatedAt': obj.createdAt?.toISOString(), + 'UpdatedAt': obj.updatedAt?.toISOString(), + }; + // filter undefined values + return Object.entries(result).reduce((r, i) => (i[1] === undefined) ? r : ({ ...r, [i[0]]: i[1] }), {}); +} +/* eslint-enable max-len, quote-props */ + +/** + * Which type of organization repositories have access to the organization secret. selected means only the repositories specified by selected_repository_ids can access the secret. + * + * @schema Visibility + */ +export enum Visibility { + /** all */ + ALL = "all", + /** private */ + PRIVATE = "private", + /** selected */ + SELECTED = "selected", +} + + +/** + * A CloudFormation `GitHub::Organizations::Secret` + * + * @cloudformationResource GitHub::Organizations::Secret + * @stability external + * @link https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git + */ +export class CfnSecret extends cdk.CfnResource { + /** + * The CloudFormation resource type name for this resource class. + */ + public static readonly CFN_RESOURCE_TYPE_NAME = "GitHub::Organizations::Secret"; + + /** + * Resource props. + */ + public readonly props: CfnSecretProps; + + /** + * Attribute `GitHub::Organizations::Secret.SelectedRepositoriesUrl` + * @link https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git + */ + public readonly attrSelectedRepositoriesUrl: string; + + /** + * Create a new `GitHub::Organizations::Secret`. + * + * @param scope - scope in which this resource is defined + * @param id - scoped id of the resource + * @param props - resource properties + */ + constructor(scope: constructs.Construct, id: string, props: CfnSecretProps) { + super(scope, id, { type: CfnSecret.CFN_RESOURCE_TYPE_NAME, properties: toJson_CfnSecretProps(props)! }); + + this.props = props; + + this.attrSelectedRepositoriesUrl = cdk.Token.asString(this.getAtt('SelectedRepositoriesUrl')); + } +} \ No newline at end of file diff --git a/packages/@cdk-cloudformation/github-repositories-collaborator/README.md b/packages/@cdk-cloudformation/github-repositories-collaborator/README.md index 92c62f371..42c068e92 100644 --- a/packages/@cdk-cloudformation/github-repositories-collaborator/README.md +++ b/packages/@cdk-cloudformation/github-repositories-collaborator/README.md @@ -1,6 +1,6 @@ # github-repositories-collaborator -> AWS CDK [L1 construct] and data structures for the [AWS CloudFormation Registry] type `GitHub::Repositories::Collaborator` v1.2.0. +> AWS CDK [L1 construct] and data structures for the [AWS CloudFormation Registry] type `GitHub::Repositories::Collaborator` v1.4.0. [L1 construct]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html [AWS CloudFormation Registry]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry.html @@ -40,7 +40,7 @@ You can find more information about activating this type in the [AWS CloudFormat This library is auto-generated and published to all supported programming languages by the [cdklabs/cdk-cloudformation] project based on the API schema published for `GitHub::Repositories::Collaborator`. -* Issues related to this generated library should be [reported here](https://github.com/cdklabs/cdk-cloudformation/issues/new?title=Issue+with+%40cdk-cloudformation%2Fgithub-repositories-collaborator+v1.2.0). +* Issues related to this generated library should be [reported here](https://github.com/cdklabs/cdk-cloudformation/issues/new?title=Issue+with+%40cdk-cloudformation%2Fgithub-repositories-collaborator+v1.4.0). * Issues related to `GitHub::Repositories::Collaborator` should be reported to the [publisher](https://github.com/aws-ia/cloudformation-github-resource-providers). [cdklabs/cdk-cloudformation]: https://github.com/cdklabs/cdk-cloudformation diff --git a/packages/@cdk-cloudformation/github-repositories-collaborator/package.json b/packages/@cdk-cloudformation/github-repositories-collaborator/package.json index 11af93639..3f6fba9d8 100644 --- a/packages/@cdk-cloudformation/github-repositories-collaborator/package.json +++ b/packages/@cdk-cloudformation/github-repositories-collaborator/package.json @@ -1,7 +1,7 @@ { "name": "@cdk-cloudformation/github-repositories-collaborator", "description": "The Collaborators resource allows you to add, invite, and remove collaborators from a repository.", - "version": "1.2.0-alpha.7", + "version": "1.4.0-alpha.7", "author": { "name": "Amazon Web Services", "url": "https://aws.amazon.com", diff --git a/packages/@cdk-cloudformation/github-repositories-repository/README.md b/packages/@cdk-cloudformation/github-repositories-repository/README.md index 6cc5f52bf..46da2339e 100644 --- a/packages/@cdk-cloudformation/github-repositories-repository/README.md +++ b/packages/@cdk-cloudformation/github-repositories-repository/README.md @@ -1,6 +1,6 @@ # github-repositories-repository -> AWS CDK [L1 construct] and data structures for the [AWS CloudFormation Registry] type `GitHub::Repositories::Repository` v1.2.0. +> AWS CDK [L1 construct] and data structures for the [AWS CloudFormation Registry] type `GitHub::Repositories::Repository` v1.4.0. [L1 construct]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html [AWS CloudFormation Registry]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry.html @@ -40,7 +40,7 @@ You can find more information about activating this type in the [AWS CloudFormat This library is auto-generated and published to all supported programming languages by the [cdklabs/cdk-cloudformation] project based on the API schema published for `GitHub::Repositories::Repository`. -* Issues related to this generated library should be [reported here](https://github.com/cdklabs/cdk-cloudformation/issues/new?title=Issue+with+%40cdk-cloudformation%2Fgithub-repositories-repository+v1.2.0). +* Issues related to this generated library should be [reported here](https://github.com/cdklabs/cdk-cloudformation/issues/new?title=Issue+with+%40cdk-cloudformation%2Fgithub-repositories-repository+v1.4.0). * Issues related to `GitHub::Repositories::Repository` should be reported to the [publisher](https://github.com/aws-ia/cloudformation-github-resource-providers). [cdklabs/cdk-cloudformation]: https://github.com/cdklabs/cdk-cloudformation diff --git a/packages/@cdk-cloudformation/github-repositories-repository/package.json b/packages/@cdk-cloudformation/github-repositories-repository/package.json index d1392c601..02ae157e7 100644 --- a/packages/@cdk-cloudformation/github-repositories-repository/package.json +++ b/packages/@cdk-cloudformation/github-repositories-repository/package.json @@ -1,7 +1,7 @@ { "name": "@cdk-cloudformation/github-repositories-repository", "description": "Manage a repository in GitHub.", - "version": "1.2.0-alpha.7", + "version": "1.4.0-alpha.7", "author": { "name": "Amazon Web Services", "url": "https://aws.amazon.com", diff --git a/packages/@cdk-cloudformation/github-repositories-secret/.gitignore b/packages/@cdk-cloudformation/github-repositories-secret/.gitignore new file mode 100644 index 000000000..3c26cd33e --- /dev/null +++ b/packages/@cdk-cloudformation/github-repositories-secret/.gitignore @@ -0,0 +1,15 @@ +# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". +node_modules/ +!/.gitattributes +!/.projen/tasks.json +!/.projen/deps.json +!/.projen/files.json +!/LICENSE +!/README.md +!/package.json +/.jsii +/lib/ +/tsconfig.json +/dist/ +tsconfig.tsbuildinfo +!/.npmignore diff --git a/packages/@cdk-cloudformation/github-repositories-secret/.npmignore b/packages/@cdk-cloudformation/github-repositories-secret/.npmignore new file mode 100644 index 000000000..23f1be049 --- /dev/null +++ b/packages/@cdk-cloudformation/github-repositories-secret/.npmignore @@ -0,0 +1,8 @@ +# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". +.projen +dist +src +test +tsconfig.tsbuildinfo +!.jsii +!.jsii.gz diff --git a/packages/@cdk-cloudformation/github-repositories-secret/.projen/files.json b/packages/@cdk-cloudformation/github-repositories-secret/.projen/files.json new file mode 100644 index 000000000..e100c0f27 --- /dev/null +++ b/packages/@cdk-cloudformation/github-repositories-secret/.projen/files.json @@ -0,0 +1,13 @@ +{ + "files": [ + ".gitattributes", + ".gitignore", + ".projen/deps.json", + ".projen/files.json", + ".projen/tasks.json", + "LICENSE", + "package.json", + "README.md" + ], + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"." +} diff --git a/packages/@cdk-cloudformation/github-repositories-secret/.projen/tasks.json b/packages/@cdk-cloudformation/github-repositories-secret/.projen/tasks.json new file mode 100644 index 000000000..559cf5025 --- /dev/null +++ b/packages/@cdk-cloudformation/github-repositories-secret/.projen/tasks.json @@ -0,0 +1,56 @@ +{ + "tasks": { + "build": { + "name": "build", + "description": "Full release build", + "steps": [ + { + "spawn": "pre-compile" + }, + { + "spawn": "compile" + }, + { + "spawn": "post-compile" + }, + { + "spawn": "test" + }, + { + "spawn": "package" + } + ] + }, + "compile": { + "name": "compile", + "description": "Only compile" + }, + "default": { + "name": "default", + "description": "Synthesize project files", + "steps": [ + { + "exec": "npx projen default", + "cwd": "../../.." + } + ] + }, + "package": { + "name": "package", + "description": "Creates the distribution package" + }, + "post-compile": { + "name": "post-compile", + "description": "Runs after successful compilation" + }, + "pre-compile": { + "name": "pre-compile", + "description": "Prepare the project for compilation" + }, + "test": { + "name": "test", + "description": "Run tests" + } + }, + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"." +} diff --git a/packages/@cdk-cloudformation/github-repositories-secret/LICENSE b/packages/@cdk-cloudformation/github-repositories-secret/LICENSE new file mode 100644 index 000000000..d64569567 --- /dev/null +++ b/packages/@cdk-cloudformation/github-repositories-secret/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/packages/@cdk-cloudformation/github-repositories-secret/README.md b/packages/@cdk-cloudformation/github-repositories-secret/README.md new file mode 100644 index 000000000..49d471ca2 --- /dev/null +++ b/packages/@cdk-cloudformation/github-repositories-secret/README.md @@ -0,0 +1,49 @@ +# github-repositories-secret + +> AWS CDK [L1 construct] and data structures for the [AWS CloudFormation Registry] type `GitHub::Repositories::Secret` v1.1.0. + +[L1 construct]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html +[AWS CloudFormation Registry]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry.html + +## Description + +Manage the repository secret + +## References + +* [Source](https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git) + +## Usage + +In order to use this library, you will need to activate this AWS CloudFormation Registry type in your account. You can do this via the AWS Management Console or using the [AWS CLI](https://aws.amazon.com/cli/) using the following command: + +```sh +aws cloudformation activate-type \ + --type-name GitHub::Repositories::Secret \ + --publisher-id c830e97710da0c9954d80ba8df021e5439e7134b \ + --type RESOURCE \ + --execution-role-arn ROLE-ARN +``` + +Alternatively: + +```sh +aws cloudformation activate-type \ + --public-type-arn arn:aws:cloudformation:us-east-1::type/resource/c830e97710da0c9954d80ba8df021e5439e7134b/GitHub-Repositories-Secret \ + --execution-role-arn ROLE-ARN +``` + +You can find more information about activating this type in the [AWS CloudFormation documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html). + +## Feedback + +This library is auto-generated and published to all supported programming languages by the [cdklabs/cdk-cloudformation] project based on the API schema published for `GitHub::Repositories::Secret`. + +* Issues related to this generated library should be [reported here](https://github.com/cdklabs/cdk-cloudformation/issues/new?title=Issue+with+%40cdk-cloudformation%2Fgithub-repositories-secret+v1.1.0). +* Issues related to `GitHub::Repositories::Secret` should be reported to the [publisher](https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git). + +[cdklabs/cdk-cloudformation]: https://github.com/cdklabs/cdk-cloudformation + +## License + +Distributed under the Apache-2.0 License. diff --git a/packages/@cdk-cloudformation/github-repositories-secret/package.json b/packages/@cdk-cloudformation/github-repositories-secret/package.json new file mode 100644 index 000000000..2580fdc32 --- /dev/null +++ b/packages/@cdk-cloudformation/github-repositories-secret/package.json @@ -0,0 +1,73 @@ +{ + "name": "@cdk-cloudformation/github-repositories-secret", + "description": "Manage the repository secret", + "version": "1.1.0-alpha.7", + "author": { + "name": "Amazon Web Services", + "url": "https://aws.amazon.com", + "organization": true + }, + "keywords": [ + "cdk", + "awscdk", + "aws-cdk", + "cloudformation", + "cfn", + "extensions", + "constructs", + "cfn-resources", + "cloudformation-registry", + "l1", + "github", + "repositories", + "secret" + ], + "homepage": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "repository": { + "type": "git", + "url": "https://github.com/cdklabs/cdk-cloudformation.git", + "directory": "packages/@cdk-cloudformation/github-repositories-secret" + }, + "main": "lib/index.js", + "types": "lib/index.d.ts", + "publishConfig": { + "access": "public" + }, + "jsii": { + "outdir": "dist", + "targets": { + "java": { + "package": "io.github.cdklabs.cdk_cloudformation.github_repositories_secret", + "maven": { + "groupId": "io.github.cdklabs.cdk_cloudformation", + "artifactId": "github-repositories-secret" + } + }, + "python": { + "distName": "cdk-cloudformation-github-repositories-secret", + "module": "cdk_cloudformation_github_repositories_secret" + }, + "dotnet": { + "namespace": "CdkCloudFormation.GitHubRepositoriesSecret", + "packageId": "CdkCloudFormation.GitHubRepositoriesSecret" + } + }, + "tsc": { + "outDir": "lib", + "rootDir": "src", + "types": [ + "node" + ] + } + }, + "peerDependencies": { + "aws-cdk-lib": "^2.86.0", + "constructs": "^10.2.67" + }, + "devDependencies": { + "aws-cdk-lib": "2.86.0", + "constructs": "10.2.67" + }, + "license": "Apache-2.0", + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"." +} diff --git a/packages/@cdk-cloudformation/github-repositories-secret/src/index.ts b/packages/@cdk-cloudformation/github-repositories-secret/src/index.ts new file mode 100644 index 000000000..5ee0f2e6f --- /dev/null +++ b/packages/@cdk-cloudformation/github-repositories-secret/src/index.ts @@ -0,0 +1,101 @@ +// Generated by cdk-import +import * as cdk from 'aws-cdk-lib'; +import * as constructs from 'constructs'; + +/** + * Manage the repository secret + * + * @schema CfnSecretProps + */ +export interface CfnSecretProps { + /** + * @schema CfnSecretProps#Owner + */ + readonly owner: string; + + /** + * @schema CfnSecretProps#Repository + */ + readonly repository: string; + + /** + * @schema CfnSecretProps#SecretValue + */ + readonly secretValue?: string; + + /** + * @schema CfnSecretProps#SecretName + */ + readonly secretName: string; + + /** + * @schema CfnSecretProps#Name + */ + readonly name?: string; + + /** + * @schema CfnSecretProps#CreatedAt + */ + readonly createdAt?: Date; + + /** + * @schema CfnSecretProps#UpdatedAt + */ + readonly updatedAt?: Date; + +} + +/** + * Converts an object of type 'CfnSecretProps' to JSON representation. + */ +/* eslint-disable max-len, quote-props */ +export function toJson_CfnSecretProps(obj: CfnSecretProps | undefined): Record | undefined { + if (obj === undefined) { return undefined; } + const result = { + 'Owner': obj.owner, + 'Repository': obj.repository, + 'SecretValue': obj.secretValue, + 'SecretName': obj.secretName, + 'Name': obj.name, + 'CreatedAt': obj.createdAt?.toISOString(), + 'UpdatedAt': obj.updatedAt?.toISOString(), + }; + // filter undefined values + return Object.entries(result).reduce((r, i) => (i[1] === undefined) ? r : ({ ...r, [i[0]]: i[1] }), {}); +} +/* eslint-enable max-len, quote-props */ + + +/** + * A CloudFormation `GitHub::Repositories::Secret` + * + * @cloudformationResource GitHub::Repositories::Secret + * @stability external + * @link https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git + */ +export class CfnSecret extends cdk.CfnResource { + /** + * The CloudFormation resource type name for this resource class. + */ + public static readonly CFN_RESOURCE_TYPE_NAME = "GitHub::Repositories::Secret"; + + /** + * Resource props. + */ + public readonly props: CfnSecretProps; + + + /** + * Create a new `GitHub::Repositories::Secret`. + * + * @param scope - scope in which this resource is defined + * @param id - scoped id of the resource + * @param props - resource properties + */ + constructor(scope: constructs.Construct, id: string, props: CfnSecretProps) { + super(scope, id, { type: CfnSecret.CFN_RESOURCE_TYPE_NAME, properties: toJson_CfnSecretProps(props)! }); + + this.props = props; + + } +} \ No newline at end of file diff --git a/packages/@cdk-cloudformation/github-repositories-webhook/README.md b/packages/@cdk-cloudformation/github-repositories-webhook/README.md index 8b12da75b..135544807 100644 --- a/packages/@cdk-cloudformation/github-repositories-webhook/README.md +++ b/packages/@cdk-cloudformation/github-repositories-webhook/README.md @@ -1,6 +1,6 @@ # github-repositories-webhook -> AWS CDK [L1 construct] and data structures for the [AWS CloudFormation Registry] type `GitHub::Repositories::Webhook` v1.2.0. +> AWS CDK [L1 construct] and data structures for the [AWS CloudFormation Registry] type `GitHub::Repositories::Webhook` v1.4.0. [L1 construct]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html [AWS CloudFormation Registry]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry.html @@ -40,7 +40,7 @@ You can find more information about activating this type in the [AWS CloudFormat This library is auto-generated and published to all supported programming languages by the [cdklabs/cdk-cloudformation] project based on the API schema published for `GitHub::Repositories::Webhook`. -* Issues related to this generated library should be [reported here](https://github.com/cdklabs/cdk-cloudformation/issues/new?title=Issue+with+%40cdk-cloudformation%2Fgithub-repositories-webhook+v1.2.0). +* Issues related to this generated library should be [reported here](https://github.com/cdklabs/cdk-cloudformation/issues/new?title=Issue+with+%40cdk-cloudformation%2Fgithub-repositories-webhook+v1.4.0). * Issues related to `GitHub::Repositories::Webhook` should be reported to the [publisher](https://github.com/aws-ia/cloudformation-github-resource-providers). [cdklabs/cdk-cloudformation]: https://github.com/cdklabs/cdk-cloudformation diff --git a/packages/@cdk-cloudformation/github-repositories-webhook/package.json b/packages/@cdk-cloudformation/github-repositories-webhook/package.json index ee9b8bbee..13147c1fa 100644 --- a/packages/@cdk-cloudformation/github-repositories-webhook/package.json +++ b/packages/@cdk-cloudformation/github-repositories-webhook/package.json @@ -1,7 +1,7 @@ { "name": "@cdk-cloudformation/github-repositories-webhook", "description": "Repositories can have multiple webhooks installed. Each webhook should have a unique config. Multiple webhooks can share the same config as long as those webhooks do not have any events that overlap.", - "version": "1.2.0-alpha.7", + "version": "1.4.0-alpha.7", "author": { "name": "Amazon Web Services", "url": "https://aws.amazon.com", diff --git a/packages/@cdk-cloudformation/github-teams-membership/README.md b/packages/@cdk-cloudformation/github-teams-membership/README.md index 4f8c5bd37..b806af275 100644 --- a/packages/@cdk-cloudformation/github-teams-membership/README.md +++ b/packages/@cdk-cloudformation/github-teams-membership/README.md @@ -1,6 +1,6 @@ # github-teams-membership -> AWS CDK [L1 construct] and data structures for the [AWS CloudFormation Registry] type `GitHub::Teams::Membership` v1.2.0. +> AWS CDK [L1 construct] and data structures for the [AWS CloudFormation Registry] type `GitHub::Teams::Membership` v1.4.0. [L1 construct]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html [AWS CloudFormation Registry]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry.html @@ -40,7 +40,7 @@ You can find more information about activating this type in the [AWS CloudFormat This library is auto-generated and published to all supported programming languages by the [cdklabs/cdk-cloudformation] project based on the API schema published for `GitHub::Teams::Membership`. -* Issues related to this generated library should be [reported here](https://github.com/cdklabs/cdk-cloudformation/issues/new?title=Issue+with+%40cdk-cloudformation%2Fgithub-teams-membership+v1.2.0). +* Issues related to this generated library should be [reported here](https://github.com/cdklabs/cdk-cloudformation/issues/new?title=Issue+with+%40cdk-cloudformation%2Fgithub-teams-membership+v1.4.0). * Issues related to `GitHub::Teams::Membership` should be reported to the [publisher](https://github.com/aws-ia/cloudformation-github-resource-providers). [cdklabs/cdk-cloudformation]: https://github.com/cdklabs/cdk-cloudformation diff --git a/packages/@cdk-cloudformation/github-teams-membership/package.json b/packages/@cdk-cloudformation/github-teams-membership/package.json index 1fcba4ead..ac9b5cd9a 100644 --- a/packages/@cdk-cloudformation/github-teams-membership/package.json +++ b/packages/@cdk-cloudformation/github-teams-membership/package.json @@ -1,7 +1,7 @@ { "name": "@cdk-cloudformation/github-teams-membership", "description": "Manages people's membership to GitHub teams", - "version": "1.2.0-alpha.7", + "version": "1.4.0-alpha.7", "author": { "name": "Amazon Web Services", "url": "https://aws.amazon.com", diff --git a/packages/@cdk-cloudformation/github-teams-repositoryaccess/README.md b/packages/@cdk-cloudformation/github-teams-repositoryaccess/README.md index 22724e43d..9d7d9cb1b 100644 --- a/packages/@cdk-cloudformation/github-teams-repositoryaccess/README.md +++ b/packages/@cdk-cloudformation/github-teams-repositoryaccess/README.md @@ -1,6 +1,6 @@ # github-teams-repositoryaccess -> AWS CDK [L1 construct] and data structures for the [AWS CloudFormation Registry] type `GitHub::Teams::RepositoryAccess` v1.1.0. +> AWS CDK [L1 construct] and data structures for the [AWS CloudFormation Registry] type `GitHub::Teams::RepositoryAccess` v1.3.0. [L1 construct]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html [AWS CloudFormation Registry]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry.html @@ -40,7 +40,7 @@ You can find more information about activating this type in the [AWS CloudFormat This library is auto-generated and published to all supported programming languages by the [cdklabs/cdk-cloudformation] project based on the API schema published for `GitHub::Teams::RepositoryAccess`. -* Issues related to this generated library should be [reported here](https://github.com/cdklabs/cdk-cloudformation/issues/new?title=Issue+with+%40cdk-cloudformation%2Fgithub-teams-repositoryaccess+v1.1.0). +* Issues related to this generated library should be [reported here](https://github.com/cdklabs/cdk-cloudformation/issues/new?title=Issue+with+%40cdk-cloudformation%2Fgithub-teams-repositoryaccess+v1.3.0). * Issues related to `GitHub::Teams::RepositoryAccess` should be reported to the [publisher](https://github.com/aws-ia/cloudformation-github-resource-providers). [cdklabs/cdk-cloudformation]: https://github.com/cdklabs/cdk-cloudformation diff --git a/packages/@cdk-cloudformation/github-teams-repositoryaccess/package.json b/packages/@cdk-cloudformation/github-teams-repositoryaccess/package.json index 717c816ec..9a2d8e36c 100644 --- a/packages/@cdk-cloudformation/github-teams-repositoryaccess/package.json +++ b/packages/@cdk-cloudformation/github-teams-repositoryaccess/package.json @@ -1,7 +1,7 @@ { "name": "@cdk-cloudformation/github-teams-repositoryaccess", "description": "Manage a team access to a repository in GitHub.", - "version": "1.1.0-alpha.7", + "version": "1.3.0-alpha.7", "author": { "name": "Amazon Web Services", "url": "https://aws.amazon.com", diff --git a/packages/@cdk-cloudformation/github-teams-team/README.md b/packages/@cdk-cloudformation/github-teams-team/README.md index aad5fb086..6648a1ec0 100644 --- a/packages/@cdk-cloudformation/github-teams-team/README.md +++ b/packages/@cdk-cloudformation/github-teams-team/README.md @@ -1,6 +1,6 @@ # github-teams-team -> AWS CDK [L1 construct] and data structures for the [AWS CloudFormation Registry] type `GitHub::Teams::Team` v1.2.0. +> AWS CDK [L1 construct] and data structures for the [AWS CloudFormation Registry] type `GitHub::Teams::Team` v1.4.0. [L1 construct]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html [AWS CloudFormation Registry]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry.html @@ -40,7 +40,7 @@ You can find more information about activating this type in the [AWS CloudFormat This library is auto-generated and published to all supported programming languages by the [cdklabs/cdk-cloudformation] project based on the API schema published for `GitHub::Teams::Team`. -* Issues related to this generated library should be [reported here](https://github.com/cdklabs/cdk-cloudformation/issues/new?title=Issue+with+%40cdk-cloudformation%2Fgithub-teams-team+v1.2.0). +* Issues related to this generated library should be [reported here](https://github.com/cdklabs/cdk-cloudformation/issues/new?title=Issue+with+%40cdk-cloudformation%2Fgithub-teams-team+v1.4.0). * Issues related to `GitHub::Teams::Team` should be reported to the [publisher](https://github.com/aws-ia/cloudformation-github-resource-providers). [cdklabs/cdk-cloudformation]: https://github.com/cdklabs/cdk-cloudformation diff --git a/packages/@cdk-cloudformation/github-teams-team/package.json b/packages/@cdk-cloudformation/github-teams-team/package.json index b5591b088..e3d401eb3 100644 --- a/packages/@cdk-cloudformation/github-teams-team/package.json +++ b/packages/@cdk-cloudformation/github-teams-team/package.json @@ -1,7 +1,7 @@ { "name": "@cdk-cloudformation/github-teams-team", "description": "Manage a team in Github", - "version": "1.2.0-alpha.7", + "version": "1.4.0-alpha.7", "author": { "name": "Amazon Web Services", "url": "https://aws.amazon.com", diff --git a/registry/types/github-git-tag.json b/registry/types/github-git-tag.json index 700b2f473..03828d26a 100644 --- a/registry/types/github-git-tag.json +++ b/registry/types/github-git-tag.json @@ -10,9 +10,9 @@ "Visibility": "PUBLIC", "SourceUrl": "https://github.com/aws-ia/cloudformation-github-resource-providers.git", "DocumentationUrl": "https://github.com/aws-ia/cloudformation-github-resource-providers", - "TimeCreated": "2023-03-23T11:49:46.513Z", + "TimeCreated": "2023-06-26T23:28:39.688Z", "ConfigurationSchema": "{\n \"properties\": {\n \"GitHubAccess\": {\n \"$ref\": \"#/definitions/GitHubAccess\"\n }\n },\n \"additionalProperties\": false,\n \"required\": [\n \"GitHubAccess\"\n ],\n \"definitions\": {\n \"GitHubAccess\": {\n \"type\": \"object\",\n \"properties\": {\n \"AccessToken\": {\n \"description\": \"Personal Access Token\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"AccessToken\"\n ],\n \"additionalProperties\": false\n }\n },\n \"typeName\": \"GitHub::Git::Tag\"\n}", "PublisherId": "c830e97710da0c9954d80ba8df021e5439e7134b", - "LatestPublicVersion": "1.2.0", + "LatestPublicVersion": "1.4.0", "IsActivated": false } \ No newline at end of file diff --git a/registry/types/github-organizations-membership.json b/registry/types/github-organizations-membership.json index fcc11b192..190ac2c8c 100644 --- a/registry/types/github-organizations-membership.json +++ b/registry/types/github-organizations-membership.json @@ -10,9 +10,9 @@ "Visibility": "PUBLIC", "SourceUrl": "https://github.com/aws-ia/cloudformation-github-resource-providers.git", "DocumentationUrl": "https://github.com/aws-ia/cloudformation-github-resource-providers", - "TimeCreated": "2023-03-23T14:22:24.922Z", + "TimeCreated": "2023-06-27T01:42:49.927Z", "ConfigurationSchema": "{\n \"properties\": {\n \"GitHubAccess\": {\n \"$ref\": \"#/definitions/GitHubAccess\"\n }\n },\n \"additionalProperties\": false,\n \"required\": [\n \"GitHubAccess\"\n ],\n \"definitions\": {\n \"GitHubAccess\": {\n \"type\": \"object\",\n \"properties\": {\n \"AccessToken\": {\n \"description\": \"Personal Access Token\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"AccessToken\"\n ],\n \"additionalProperties\": false\n }\n },\n \"typeName\": \"GitHub::Organizations::Membership\"\n}", "PublisherId": "c830e97710da0c9954d80ba8df021e5439e7134b", - "LatestPublicVersion": "1.1.0", + "LatestPublicVersion": "1.3.0", "IsActivated": false } \ No newline at end of file diff --git a/registry/types/github-organizations-secret.json b/registry/types/github-organizations-secret.json new file mode 100644 index 000000000..fa154a3ff --- /dev/null +++ b/registry/types/github-organizations-secret.json @@ -0,0 +1,17 @@ +{ + "Arn": "arn:aws:cloudformation:us-east-1::type/resource/c830e97710da0c9954d80ba8df021e5439e7134b/GitHub-Organizations-Secret", + "Type": "RESOURCE", + "TypeName": "GitHub::Organizations::Secret", + "Description": "Manage the organization secret", + "Schema": "{\n \"typeName\": \"GitHub::Organizations::Secret\",\n \"description\": \"Manage the organization secret\",\n \"sourceUrl\": \"https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git\",\n \"definitions\": {\n \"GitHubAccess\": {\n \"type\": \"object\",\n \"properties\": {\n \"AccessToken\": {\n \"description\": \"Personal Access Token\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"AccessToken\"\n ],\n \"additionalProperties\": false\n },\n \"SecretValue\": {\n \"type\": \"string\",\n \"description\": \"Value for your secret, which will be encrypted with LibSodium using the public key retrieved from the Get an repository public key endpoint.\"\n },\n \"Org\": {\n \"type\": \"string\",\n \"description\": \"The organization name. The name is not case sensitive.\"\n },\n \"SecretName\": {\n \"type\": \"string\",\n \"description\": \"The name of the secret.\"\n },\n \"Visibility\": {\n \"type\": \"string\",\n \"description\": \"Which type of organization repositories have access to the organization secret. selected means only the repositories specified by selected_repository_ids can access the secret.\",\n \"enum\": [\n \"all\",\n \"private\",\n \"selected\"\n ]\n },\n \"SelectedRepositoryIds\": {\n \"type\": \"array\",\n \"description\": \"An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the visibility is set to selected. You can manage the list of selected repositories using the List selected repositories for an organization secret, Set selected repositories for an organization secret, and Remove selected repository from an organization secret endpoints.\",\n \"items\": {\n \"type\": \"number\"\n }\n }\n },\n \"typeConfiguration\": {\n \"properties\": {\n \"GitHubAccess\": {\n \"$ref\": \"#/definitions/GitHubAccess\"\n }\n },\n \"additionalProperties\": false,\n \"required\": [\n \"GitHubAccess\"\n ]\n },\n \"properties\": {\n \"Org\": {\n \"$ref\": \"#/definitions/Org\"\n },\n \"SecretValue\": {\n \"$ref\": \"#/definitions/SecretValue\"\n },\n \"SecretName\": {\n \"$ref\": \"#/definitions/SecretName\"\n },\n \"Name\": {\n \"$ref\": \"#/definitions/SecretName\"\n },\n \"SelectedRepositoryIds\": {\n \"$ref\": \"#/definitions/SelectedRepositoryIds\"\n },\n \"Visibility\": {\n \"$ref\": \"#/definitions/Visibility\"\n },\n \"SelectedRepositoriesUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"CreatedAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\"\n },\n \"UpdatedAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\"\n }\n },\n \"additionalProperties\": false,\n \"required\": [\n \"Org\",\n \"Visibility\",\n \"SecretName\"\n ],\n \"primaryIdentifier\": [\n \"/properties/Org\",\n \"/properties/SecretName\"\n ],\n \"writeOnlyProperties\": [\n \"/properties/SecretValue\",\n \"/properties/SelectedRepositoryIds\"\n ],\n \"createOnlyProperties\": [\n \"/properties/Org\",\n \"/properties/SecretName\",\n \"/properties/Visibility\"\n ],\n \"readOnlyProperties\": [\n \"/properties/SelectedRepositoriesUrl\"\n ],\n \"handlers\": {\n \"create\": {\n \"permissions\": []\n },\n \"read\": {\n \"permissions\": []\n },\n \"update\": {\n \"permissions\": []\n },\n \"delete\": {\n \"permissions\": []\n },\n \"list\": {\n \"permissions\": []\n }\n }\n}\n", + "ProvisioningType": "FULLY_MUTABLE", + "DeprecatedStatus": "LIVE", + "RequiredActivatedTypes": [], + "Visibility": "PUBLIC", + "SourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "TimeCreated": "2023-06-26T23:28:31.450Z", + "ConfigurationSchema": "{\n \"properties\": {\n \"GitHubAccess\": {\n \"$ref\": \"#/definitions/GitHubAccess\"\n }\n },\n \"additionalProperties\": false,\n \"required\": [\n \"GitHubAccess\"\n ],\n \"definitions\": {\n \"GitHubAccess\": {\n \"type\": \"object\",\n \"properties\": {\n \"AccessToken\": {\n \"description\": \"Personal Access Token\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"AccessToken\"\n ],\n \"additionalProperties\": false\n },\n \"SecretValue\": {\n \"type\": \"string\",\n \"description\": \"Value for your secret, which will be encrypted with LibSodium using the public key retrieved from the Get an repository public key endpoint.\"\n },\n \"Org\": {\n \"type\": \"string\",\n \"description\": \"The organization name. The name is not case sensitive.\"\n },\n \"SecretName\": {\n \"type\": \"string\",\n \"description\": \"The name of the secret.\"\n },\n \"Visibility\": {\n \"type\": \"string\",\n \"description\": \"Which type of organization repositories have access to the organization secret. selected means only the repositories specified by selected_repository_ids can access the secret.\",\n \"enum\": [\n \"all\",\n \"private\",\n \"selected\"\n ]\n },\n \"SelectedRepositoryIds\": {\n \"type\": \"array\",\n \"description\": \"An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the visibility is set to selected. You can manage the list of selected repositories using the List selected repositories for an organization secret, Set selected repositories for an organization secret, and Remove selected repository from an organization secret endpoints.\",\n \"items\": {\n \"type\": \"number\"\n }\n }\n },\n \"typeName\": \"GitHub::Organizations::Secret\"\n}", + "PublisherId": "c830e97710da0c9954d80ba8df021e5439e7134b", + "LatestPublicVersion": "1.1.0", + "IsActivated": false +} \ No newline at end of file diff --git a/registry/types/github-repositories-collaborator.json b/registry/types/github-repositories-collaborator.json index 99667dbad..961dbe9a8 100644 --- a/registry/types/github-repositories-collaborator.json +++ b/registry/types/github-repositories-collaborator.json @@ -10,9 +10,9 @@ "Visibility": "PUBLIC", "SourceUrl": "https://github.com/aws-ia/cloudformation-github-resource-providers.git", "DocumentationUrl": "https://github.com/aws-ia/cloudformation-github-resource-providers", - "TimeCreated": "2023-03-23T11:49:30.383Z", + "TimeCreated": "2023-06-26T23:28:34.849Z", "ConfigurationSchema": "{\n \"properties\": {\n \"GitHubAccess\": {\n \"$ref\": \"#/definitions/GitHubAccess\"\n }\n },\n \"additionalProperties\": false,\n \"required\": [\n \"GitHubAccess\"\n ],\n \"definitions\": {\n \"GitHubAccess\": {\n \"type\": \"object\",\n \"properties\": {\n \"AccessToken\": {\n \"description\": \"Personal Access Token\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"AccessToken\"\n ],\n \"additionalProperties\": false\n }\n },\n \"typeName\": \"GitHub::Repositories::Collaborator\"\n}", "PublisherId": "c830e97710da0c9954d80ba8df021e5439e7134b", - "LatestPublicVersion": "1.2.0", + "LatestPublicVersion": "1.4.0", "IsActivated": false } \ No newline at end of file diff --git a/registry/types/github-repositories-repository.json b/registry/types/github-repositories-repository.json index 905b85857..65d5b7798 100644 --- a/registry/types/github-repositories-repository.json +++ b/registry/types/github-repositories-repository.json @@ -10,9 +10,9 @@ "Visibility": "PUBLIC", "SourceUrl": "https://github.com/aws-ia/cloudformation-github-resource-providers.git", "DocumentationUrl": "https://github.com/aws-ia/cloudformation-github-resource-providers", - "TimeCreated": "2023-03-23T11:49:19.870Z", + "TimeCreated": "2023-06-26T23:28:41.972Z", "ConfigurationSchema": "{\n \"properties\": {\n \"GitHubAccess\": {\n \"$ref\": \"#/definitions/GitHubAccess\"\n }\n },\n \"additionalProperties\": false,\n \"required\": [\n \"GitHubAccess\"\n ],\n \"definitions\": {\n \"GitHubAccess\": {\n \"type\": \"object\",\n \"properties\": {\n \"AccessToken\": {\n \"description\": \"Personal Access Token\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"AccessToken\"\n ],\n \"additionalProperties\": false\n },\n \"SecurityAndAnalysis\": {\n \"description\": \"Specify which security and analysis features to enable or disable. For example, to enable GitHub Advanced Security, use this data in the body of the PATCH request: {\\\"security_and_analysis\\\": {\\\"advanced_security\\\": {\\\"status\\\": \\\"enabled\\\"}}}. If you have admin permissions for a private repository covered by an Advanced Security license, you can check which security and analysis features are currently enabled by using a GET /repos/{owner}/{repo} request.\",\n \"type\": \"object\",\n \"properties\": {\n \"AdvanceSecurity\": {\n \"$ref\": \"#/definitions/AdvanceSecurity\"\n },\n \"SecretScanning\": {\n \"$ref\": \"#/definitions/SecretScanning\"\n },\n \"SecretScanningPushProtection\": {\n \"$ref\": \"#/definitions/SecretScanningPushProtection\"\n }\n },\n \"additionalProperties\": false\n },\n \"AdvanceSecurity\": {\n \"description\": \"Use the status property to enable or disable GitHub Advanced Security for this repository. For more information, see \\\"About GitHub Advanced Security.\\\" (https://docs.github.com/github/getting-started-with-github/learning-about-github/about-github-advanced-security)\",\n \"type\": \"object\",\n \"properties\": {\n \"Status\": {\n \"description\": \"Can be enabled or disabled.\",\n \"type\": \"string\",\n \"enum\": [\n \"enabled\",\n \"disabled\"\n ]\n }\n },\n \"required\": [\n \"Status\"\n ],\n \"additionalProperties\": false\n },\n \"SecretScanning\": {\n \"description\": \"Use the status property to enable or disable secret scanning for this repository. For more information, see \\\"About secret scanning.\\\" (https://docs.github.com/code-security/secret-security/about-secret-scanning)\",\n \"type\": \"object\",\n \"properties\": {\n \"Status\": {\n \"description\": \"Can be enabled or disabled.\",\n \"type\": \"string\",\n \"enum\": [\n \"enabled\",\n \"disabled\"\n ]\n }\n },\n \"required\": [\n \"Status\"\n ],\n \"additionalProperties\": false\n },\n \"SecretScanningPushProtection\": {\n \"description\": \"Use the status property to enable or disable secret scanning push protection for this repository. For more information, see \\\"Protecting pushes with secret scanning.\\\" (https://docs.github.com/code-security/secret-scanning/protecting-pushes-with-secret-scanning)\",\n \"type\": \"object\",\n \"properties\": {\n \"Status\": {\n \"description\": \"Can be enabled or disabled.\",\n \"type\": \"string\",\n \"enum\": [\n \"enabled\",\n \"disabled\"\n ]\n }\n },\n \"required\": [\n \"Status\"\n ],\n \"additionalProperties\": false\n }\n },\n \"typeName\": \"GitHub::Repositories::Repository\"\n}", "PublisherId": "c830e97710da0c9954d80ba8df021e5439e7134b", - "LatestPublicVersion": "1.2.0", + "LatestPublicVersion": "1.4.0", "IsActivated": false } \ No newline at end of file diff --git a/registry/types/github-repositories-secret.json b/registry/types/github-repositories-secret.json new file mode 100644 index 000000000..15faf6cf3 --- /dev/null +++ b/registry/types/github-repositories-secret.json @@ -0,0 +1,17 @@ +{ + "Arn": "arn:aws:cloudformation:us-east-1::type/resource/c830e97710da0c9954d80ba8df021e5439e7134b/GitHub-Repositories-Secret", + "Type": "RESOURCE", + "TypeName": "GitHub::Repositories::Secret", + "Description": "Manage the repository secret", + "Schema": "{\n \"typeName\": \"GitHub::Repositories::Secret\",\n \"description\": \"Manage the repository secret\",\n \"sourceUrl\": \"https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git\",\n \"definitions\": {\n \"GitHubAccess\": {\n \"type\": \"object\",\n \"properties\": {\n \"AccessToken\": {\n \"description\": \"Personal Access Token\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"AccessToken\"\n ],\n \"additionalProperties\": false\n },\n \"SecretValue\": {\n \"type\": \"string\",\n \"description\": \"Value for your secret, which will be encrypted with LibSodium using the public key retrieved from the Get an repository public key endpoint.\"\n },\n \"Owner\": {\n \"type\": \"string\",\n \"description\": \"The account owner of the repository. The name is not case sensitive.\"\n },\n \"Repository\": {\n \"type\": \"string\",\n \"description\": \"The name of the repository. The name is not case sensitive.\"\n },\n \"SecretName\": {\n \"type\": \"string\",\n \"description\": \"The name of the secret.\"\n }\n },\n \"typeConfiguration\": {\n \"properties\": {\n \"GitHubAccess\": {\n \"$ref\": \"#/definitions/GitHubAccess\"\n }\n },\n \"additionalProperties\": false,\n \"required\": [\n \"GitHubAccess\"\n ]\n },\n \"properties\": {\n \"Owner\": {\n \"$ref\": \"#/definitions/Owner\"\n },\n \"Repository\": {\n \"$ref\": \"#/definitions/Repository\"\n },\n \"SecretValue\": {\n \"$ref\": \"#/definitions/SecretValue\"\n },\n \"SecretName\": {\n \"$ref\": \"#/definitions/SecretName\"\n },\n \"Name\": {\n \"$ref\": \"#/definitions/SecretName\"\n },\n \"CreatedAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\"\n },\n \"UpdatedAt\": {\n \"type\": \"string\",\n \"format\": \"date-time\"\n }\n },\n \"additionalProperties\": false,\n \"required\": [\n \"Owner\",\n \"Repository\",\n \"SecretName\"\n ],\n \"primaryIdentifier\": [\n \"/properties/Owner\",\n \"/properties/Repository\",\n \"/properties/SecretName\"\n ],\n \"writeOnlyProperties\": [\n \"/properties/SecretValue\"\n ],\n \"createOnlyProperties\": [\n \"/properties/Owner\",\n \"/properties/Repository\",\n \"/properties/SecretName\"\n ],\n \"handlers\": {\n \"create\": {\n \"permissions\": []\n },\n \"read\": {\n \"permissions\": []\n },\n \"update\": {\n \"permissions\": []\n },\n \"delete\": {\n \"permissions\": []\n },\n \"list\": {\n \"permissions\": []\n }\n }\n}\n", + "ProvisioningType": "FULLY_MUTABLE", + "DeprecatedStatus": "LIVE", + "RequiredActivatedTypes": [], + "Visibility": "PUBLIC", + "SourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", + "TimeCreated": "2023-06-26T23:28:39.893Z", + "ConfigurationSchema": "{\n \"properties\": {\n \"GitHubAccess\": {\n \"$ref\": \"#/definitions/GitHubAccess\"\n }\n },\n \"additionalProperties\": false,\n \"required\": [\n \"GitHubAccess\"\n ],\n \"definitions\": {\n \"GitHubAccess\": {\n \"type\": \"object\",\n \"properties\": {\n \"AccessToken\": {\n \"description\": \"Personal Access Token\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"AccessToken\"\n ],\n \"additionalProperties\": false\n },\n \"SecretValue\": {\n \"type\": \"string\",\n \"description\": \"Value for your secret, which will be encrypted with LibSodium using the public key retrieved from the Get an repository public key endpoint.\"\n },\n \"Owner\": {\n \"type\": \"string\",\n \"description\": \"The account owner of the repository. The name is not case sensitive.\"\n },\n \"Repository\": {\n \"type\": \"string\",\n \"description\": \"The name of the repository. The name is not case sensitive.\"\n },\n \"SecretName\": {\n \"type\": \"string\",\n \"description\": \"The name of the secret.\"\n }\n },\n \"typeName\": \"GitHub::Repositories::Secret\"\n}", + "PublisherId": "c830e97710da0c9954d80ba8df021e5439e7134b", + "LatestPublicVersion": "1.1.0", + "IsActivated": false +} \ No newline at end of file diff --git a/registry/types/github-repositories-webhook.json b/registry/types/github-repositories-webhook.json index 23ec42509..9b934c3c5 100644 --- a/registry/types/github-repositories-webhook.json +++ b/registry/types/github-repositories-webhook.json @@ -10,9 +10,9 @@ "Visibility": "PUBLIC", "SourceUrl": "https://github.com/aws-ia/cloudformation-github-resource-providers.git", "DocumentationUrl": "https://github.com/aws-ia/cloudformation-github-resource-providers", - "TimeCreated": "2023-03-23T11:49:29.024Z", + "TimeCreated": "2023-06-26T23:28:28.737Z", "ConfigurationSchema": "{\n \"properties\": {\n \"GitHubAccess\": {\n \"$ref\": \"#/definitions/GitHubAccess\"\n }\n },\n \"additionalProperties\": false,\n \"required\": [\n \"GitHubAccess\"\n ],\n \"definitions\": {\n \"GitHubAccess\": {\n \"type\": \"object\",\n \"properties\": {\n \"AccessToken\": {\n \"description\": \"Personal Access Token\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"AccessToken\"\n ],\n \"additionalProperties\": false\n }\n },\n \"typeName\": \"GitHub::Repositories::Webhook\"\n}", "PublisherId": "c830e97710da0c9954d80ba8df021e5439e7134b", - "LatestPublicVersion": "1.2.0", + "LatestPublicVersion": "1.4.0", "IsActivated": false } \ No newline at end of file diff --git a/registry/types/github-teams-membership.json b/registry/types/github-teams-membership.json index 74523883d..ff4dd9f81 100644 --- a/registry/types/github-teams-membership.json +++ b/registry/types/github-teams-membership.json @@ -10,9 +10,9 @@ "Visibility": "PUBLIC", "SourceUrl": "https://github.com/aws-ia/cloudformation-github-resource-providers.git", "DocumentationUrl": "https://github.com/aws-ia/cloudformation-github-resource-providers", - "TimeCreated": "2023-03-23T12:33:01.622Z", + "TimeCreated": "2023-06-27T00:14:00.753Z", "ConfigurationSchema": "{\n \"properties\": {\n \"GitHubAccess\": {\n \"$ref\": \"#/definitions/GitHubAccess\"\n }\n },\n \"additionalProperties\": false,\n \"required\": [\n \"GitHubAccess\"\n ],\n \"definitions\": {\n \"GitHubAccess\": {\n \"type\": \"object\",\n \"properties\": {\n \"AccessToken\": {\n \"description\": \"Personal Access Token\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"AccessToken\"\n ],\n \"additionalProperties\": false\n }\n },\n \"typeName\": \"GitHub::Teams::Membership\"\n}", "PublisherId": "c830e97710da0c9954d80ba8df021e5439e7134b", - "LatestPublicVersion": "1.2.0", + "LatestPublicVersion": "1.4.0", "IsActivated": false } \ No newline at end of file diff --git a/registry/types/github-teams-repositoryaccess.json b/registry/types/github-teams-repositoryaccess.json index a2e0c1995..026f83214 100644 --- a/registry/types/github-teams-repositoryaccess.json +++ b/registry/types/github-teams-repositoryaccess.json @@ -10,9 +10,9 @@ "Visibility": "PUBLIC", "SourceUrl": "https://github.com/aws-ia/cloudformation-github-resource-providers.git", "DocumentationUrl": "https://github.com/aws-ia/cloudformation-github-resource-providers", - "TimeCreated": "2023-03-23T13:21:32.651Z", + "TimeCreated": "2023-06-27T00:58:36.502Z", "ConfigurationSchema": "{\n \"properties\": {\n \"GitHubAccess\": {\n \"$ref\": \"#/definitions/GitHubAccess\"\n }\n },\n \"additionalProperties\": false,\n \"required\": [\n \"GitHubAccess\"\n ],\n \"definitions\": {\n \"GitHubAccess\": {\n \"type\": \"object\",\n \"properties\": {\n \"AccessToken\": {\n \"description\": \"Personal Access Token\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"AccessToken\"\n ],\n \"additionalProperties\": false\n }\n },\n \"typeName\": \"GitHub::Teams::RepositoryAccess\"\n}", "PublisherId": "c830e97710da0c9954d80ba8df021e5439e7134b", - "LatestPublicVersion": "1.1.0", + "LatestPublicVersion": "1.3.0", "IsActivated": false } \ No newline at end of file diff --git a/registry/types/github-teams-team.json b/registry/types/github-teams-team.json index 33b5b0c9b..d76e09604 100644 --- a/registry/types/github-teams-team.json +++ b/registry/types/github-teams-team.json @@ -10,9 +10,9 @@ "Visibility": "PUBLIC", "SourceUrl": "https://github.com/aws-ia/cloudformation-github-resource-providers.git", "DocumentationUrl": "https://github.com/aws-ia/cloudformation-github-resource-providers", - "TimeCreated": "2023-03-23T11:49:17.148Z", + "TimeCreated": "2023-06-26T23:28:38.464Z", "ConfigurationSchema": "{\n \"properties\": {\n \"GitHubAccess\": {\n \"$ref\": \"#/definitions/GitHubAccess\"\n }\n },\n \"additionalProperties\": false,\n \"required\": [\n \"GitHubAccess\"\n ],\n \"definitions\": {\n \"GitHubAccess\": {\n \"type\": \"object\",\n \"properties\": {\n \"AccessToken\": {\n \"description\": \"Personal Access Token\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"AccessToken\"\n ],\n \"additionalProperties\": false\n }\n },\n \"typeName\": \"GitHub::Teams::Team\"\n}", "PublisherId": "c830e97710da0c9954d80ba8df021e5439e7134b", - "LatestPublicVersion": "1.2.0", + "LatestPublicVersion": "1.4.0", "IsActivated": false } \ No newline at end of file