コード例 #1
0
 def _check_rds_parameter(self, pool):
     stack_name = pool.get_value(ParameterName.SolutionStack)
     rds_enable = pool.get_value(ParameterName.RdsEnabled)
         
     if rds_enable and rds_utils.is_require_rds_parameters(pool)\
         and rds_utils.is_rds_snippet_compatible(pool, stack_name):
         self._input_parameters.add(ParameterName.RdsSourceSnapshotName)
         self._input_parameters.add(ParameterName.RdsMasterPassword)
         self._input_parameters.add(ParameterName.RdsDeletionPolicy)
コード例 #2
0
    def _check_rds_parameter(self, pool):
        stack_name = pool.get_value(ParameterName.SolutionStack)
        rds_enable = pool.get_value(ParameterName.RdsEnabled)

        if rds_enable and rds_utils.is_require_rds_parameters(pool)\
            and rds_utils.is_rds_snippet_compatible(pool, stack_name):
            self._input_parameters.add(ParameterName.RdsSourceSnapshotName)
            self._input_parameters.add(ParameterName.RdsMasterPassword)
            self._input_parameters.add(ParameterName.RdsDeletionPolicy)