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 java.io.DataInputStream; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.security.KeyFactory; | |
import java.security.PrivateKey; | |
import java.security.PublicKey; | |
import java.security.spec.PKCS8EncodedKeySpec; | |
import java.security.spec.RSAPublicKeySpec; | |
import sun.security.rsa.RSAPrivateCrtKeyImpl; |
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
_warning(){ | |
echo -e "\e[31m${@}\e[0m" | |
} | |
_info(){ | |
echo -e $@ | |
} | |
_success(){ | |
echo -e "\e[32m${@}\e[0m" | |
} |
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
from typing import Optional, Union | |
import jsii | |
from aws_cdk import ( | |
aws_ec2 as ec2, | |
aws_rds as rds, | |
aws_kms as kms, | |
aws_secretsmanager as secretsmanager, | |
core, | |
) |