Skip to content

Instantly share code, notes, and snippets.

{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "",
"Effect": "Allow",
"Principal": {
"Service": "config.amazonaws.com"
},
"Action": "sts:AssumeRole"
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"appstream:Get*",
"autoscaling:Describe*",
"cloudformation:DescribeStacks",
"cloudformation:DescribeStackEvents",
"cloudformation:DescribeStackResource",
$r53DataDomReg = [
'AdminContact' => [
'AddressLine1' => $address1,
'AddressLine2' => $address2,
'City' => $city,
'ContactType' => 'PERSON',
'CountryCode' => 'US',
'Email' => $email,
'Fax' => '',
'FirstName' => $firstName,
Aws\Result Object
(
[data:Aws\Result:private] => Array
(
[Certificate] => Array
(
[CertificateArn] => CERTIFICATE-ARN
[DomainName] => www.dev-null.link
[SubjectAlternativeNames] => Array
(
MSH|^~\&|SOURCEEHR|WA|MIRTHDST|WA|201611111111||ADT^A01|MSGID10001|P|2.3|
EVN|A01|201611111111||
PID|1|100001^^^1^MRN1|900001||DOE^JOHN^^^^||19601111|M||WH|111 THAT PL^^HERE^WA^98020^USA||(206)555-5309|||M|NON|999999999|
NK1|1|DOE^JANE^|WIFE||(206)555-5555||||NK^NEXT OF KIN
PV1|1|O|1001^2002^01||||123456^DOCTOR^BOB^T^^DR|||||||ADM|A0|
MSH|^~\&|SOURCEEHR|WA|MIRTHDST|WA|201611111111||SIU^S12|MSGID10001|P|2.3|
SCH|30000001|||||CHECKUP|ROUTINE|NORMAL|20|MIN|201611111400|||||JOHN||||(206)555-5309|||||ARRIVED
PD1||||123456^DOCTOR^BOB^T^^DR|
PID|1|100001^^^1^MRN1|900001||DOE^JOHN^^^^||19601111|M||WH|111 THAT PL^^HERE^WA^98020^USA||(206)555-5309|||M|NON|999999999|
PV1|1|O|||||123456^DOCTOR^BOB^T^^DR|^|||||||||||||||||||||||||||||||||||||||||||||
AIL|||123456^DOCTOR^BOB^T^^DR|||201611110000|||20|MIN
AIG|||7777|||||201611110000|||20|MIN
NTE|1||ANNUAL HLCK^^|
AIP|1||PBN^LISAPORTER|50|||||||||
//to run:
// # node blue-button-http.js &
//make sure that the NPM modules below are installed
var http = require('http');
var qs = require('querystring');
var bb = require('blue-button');
//Lets define a port we want to listen to
const PORT=8000;
var conn_count = 0;
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [ "ecr:GetAuthorizationToken" ],
"Resource": [ "*" ]
}
]
}
{
"containerDefinitions": [
{
"name": "solano-task-definition",
"image": "<ACCOUNT ID>.dkr.ecr.us-east-1.amazonaws.com/solano:init",
"essential": true,
"portMappings": [
{
"containerPort": 80,
"hostPort": 80
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::AWSACCOUNTIDTMP:root"
},
"Action": "sts:AssumeRole",
"Condition": {