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'); |
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
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 * 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 { | |
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 { | |
aws_ec2 as ec2, | |
} | |
from 'aws-cdk-lib'; | |
import * as constructs from 'constructs'; | |
import * as raindancersNetwork from 'raindancers-network'; | |
export interface TgDXS2SProps extends cdk.StackProps{ |
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_ec2 as ec2, | |
aws_resourcegroups as resourcegroups, | |
} | |
from 'aws-cdk-lib' | |
import { Construct } from 'constructs'; | |
// import * as sqs from 'aws-cdk-lib/aws-sqs'; | |
import * as network from 'raindancers-network' |
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 { | |
App, | |
Stack, | |
StackProps, | |
aws_s3 as s3, | |
} | |
from 'aws-cdk-lib'; | |
import * as core from 'aws-cdk-lib' |
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 { | |
aws_route53 as r53, | |
aws_s3 as s3, | |
aws_certificatemanager as acm, | |
aws_cloudfront as cloudfront, | |
aws_s3_deployment as s3deploy, | |
aws_route53_targets as targets, | |
aws_cloudfront_origins as cloudfront_origins, | |
aws_iam as iam, | |
} |
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 { | |
aws_route53 as r53, | |
aws_s3 as s3, | |
aws_certificatemanager as acm, | |
aws_cloudfront as cloudfront, | |
aws_s3_deployment as s3deploy, | |
aws_route53_targets as targets, | |
aws_cloudfront_origins as cloudfront_origins, | |
aws_iam as iam, | |
} |
OlderNewer