This file contains hidden or 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, | |
| } | |
| from 'aws-cdk-lib'; | |
| import { Construct } from 'constructs'; | |
| import { StaticSite } from './staticSite'; |
This file contains hidden or 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
| <html> | |
| <header><title>Hello world</title></header> | |
| <body> | |
| Hello World, This is Andrews web page about Orca | |
| </body> | |
| </html> |
This file contains hidden or 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
| <html> | |
| <header><title>Hello world: Error</title></header> | |
| <body> | |
| Uh oh, you reached the error page! | |
| </body> | |
| </html> |
This file contains hidden or 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 | |
| session = boto3.session.Session(profile_name='yourprofile', region_name='us-east-1') | |
| bedrock = session.client('bedrock-runtime', 'us-east-1', endpoint_url='https://bedrock-runtime.us-east-1.amazonaws.com') | |
| def answer_query(message_list, who): | |
| if who == 'sonnet': |
This file contains hidden or 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 core from 'aws-cdk-lib'; | |
| import { | |
| aws_ec2 as ec2, | |
| } from 'aws-cdk-lib'; | |
| import * as constructs from 'constructs'; | |
| export interface AddIpv6ToExisitingVpcProps extends ec2.VpcProps { | |
| ipv6IpamPoolId: string; | |
| ipv6IpamScopeId: string; |
This file contains hidden or 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 core from 'aws-cdk-lib'; | |
| import { | |
| aws_ecr as ecr, | |
| aws_codebuild as codebuild, | |
| aws_s3_assets as s3_assets, | |
| aws_lambda as lambda, | |
| aws_iam as iam, | |
| custom_resources as cr, | |
| } from 'aws-cdk-lib'; | |
| import * as constructs from 'constructs'; |
OlderNewer