aws-cdk-google-workspace
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

aws-cdk-google-workspace

AWS CDK constructs to set up Google Workspace for a domain hosted on AWS.

npm install aws-cdk-google-workspace
import { App, Stack, StackProps, } from "@aws-cdk/core";
import { HostedZone } from "@aws-cdk/aws-route53";

import { GoogleWorkspace } from "aws-cdk-google-workspace";

class MyStack extends Stack {
  constructor(scope: App, id: string, props?: StackProps) {
    super(scope, id, props)

    const hostedZone = HostedZone.fromLookup(this, "HostedZone", {
      domainName: "example.com",
    });

    new GoogleWorkspace(this, "GoogleWorkspace", {
      hostedZone: hostedZone,
      verificationCode: "my-domain-verification-code",
    });
  }
}

Follow these instructions to get a domain verification code.

Pre-flight Checklist

Here is a checklist to set up a new account before we can deploy stacks from this project.

  • [x] Bootstrap the AWS CDK in the AWS Account
  • [x] In Route53, buy domains and make sure they have a default hosted zone

Usage

Self-contained reproducible dev environment

docker-compose build
docker-compose run --rm dev bash

License

Copyright © 2021 robofarm

Distributed under the MIT License (MIT).

Readme

Keywords

none

Package Sidebar

Install

npm i aws-cdk-google-workspace

Weekly Downloads

1

Version

1.2.0

License

MIT

Unpacked Size

23.1 kB

Total Files

6

Last publish

Collaborators

  • danieljh