Ejemplo n.º 1
0
        public AwsCdkSecretHandler(Construct scope, string applicationName, string environmentName, AwsCdkKmsHandler awsCdkKmsHandler, string region, string accountId) : base(scope, applicationName, environmentName)
        {
            if (string.IsNullOrEmpty(region) || string.IsNullOrEmpty(accountId))
            {
                throw new ArgumentException("The accountId or region can not be null for the secrethandler constructor");
            }

            TagHandler       = new TagHandler();
            AwsCdkKmsHandler = awsCdkKmsHandler;
            Region           = region;
            AccountId        = accountId;
        }
Ejemplo n.º 2
0
 public AwsCdkRoleHandler(Construct scope, string applicationName, string environmentName) : base(scope, applicationName, environmentName)
 {
     TagHandler = new TagHandler();
 }