This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as cdk from 'aws-cdk-lib'; | |
import { | |
aws_networkfirewall as firewall, | |
} | |
from 'aws-cdk-lib'; | |
import * as constructs from 'constructs'; | |
export interface FirewallRulesProps { | |
cloudwanCidr: string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as cdk from 'aws-cdk-lib'; | |
import { Construct } from 'constructs'; | |
import { | |
aws_ec2 as ec2, | |
aws_s3 as s3, | |
} | |
from 'aws-cdk-lib'; | |
import * as raindancersNetwork from 'raindancers-network'; | |
import { FirewallRules } from './firewallpolicy' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as cdk from 'aws-cdk-lib'; | |
import { Construct } from 'constructs'; | |
import { | |
aws_ec2 as ec2 | |
} | |
from 'aws-cdk-lib'; | |
import * as raindancersNetwork from 'raindancers-network'; | |
interface SingaporeVpcProps extends cdk.StackProps { | |
corenetwork: raindancersNetwork.CoreNetwork |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import boto3 | |
import json | |
import os | |
import yaml | |
codebuild = boto3.client('codebuild') | |
ssm = boto3.client('ssm') | |
def on_event(event, context): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const cTNewAccountRule = new events.Rule(this, 'ControlTowerEventRule', { | |
eventPattern: { | |
source: ['aws.controltower'], | |
detail: { | |
eventName: ['CreateManagedAccount'] | |
} | |
} | |
}) | |
const eventDLQ = new sqs.Queue(this, 'eventDLQ'); |
NewerOlder